Skip to content
Browse the docs

TelamonPreferencesPage

One page of a TelamonPreferencesDialog: a title and symbol for the sidebar, and Sections of form entries.

Since 1.5.0

A TelamonPreferencesPage is a TelamonForm that belongs to a TelamonPreferencesDialog. Put Sections of TelamonFormEntry rows inside, as in any form. Its entries, valid and validate() work for the page; the entries use the dialog's settings unless the page has its own.

Example

TelamonPreferencesPage {
    title: qsTr("General")
    symbol: Symbols.Settings
    Section {
        TelamonFormEntry {
            label: qsTr("Show hidden files")
            settingKey: "ShowHidden"
            TelamonSwitch { }
        }
    }
}

Properties

Name Type Default Description
title string "" The page's name in the dialog's sidebar and in the search results.
symbol int 0 A Symbols value shown beside the title in the sidebar.