Class SettingsPage
settings page - item
of settings tree, can edit several settings
Inherits from
-
Object
(base class)
Constructors
Name | Description |
---|---|
this
|
Fields
Name | Type | Description |
---|---|---|
_children
|
ObjectList!(dlangui.dialogs.settingsdialog.SettingsPage) |
|
_id
|
string |
|
_items
|
ObjectList!(dlangui.dialogs.settingsdialog.SettingsItem) |
|
_label
|
UIString |
|
_parent
|
SettingsPage |
Properties
Name | Type | Description |
---|---|---|
childCount
[get]
|
int |
|
id
[get]
|
string |
|
isRoot
[get]
|
bool |
returns true if this page is root page |
itemCount
[get]
|
int |
|
label
[get]
|
UIString |
Methods
Name | Description |
---|---|
addCheckbox
|
add checkbox (boolean value) for setting |
addChild
|
|
addChild
|
|
addDirNameEdit
|
add EditLine to edit filename |
addExecutableFileNameEdit
|
add EditLine to edit executable file name |
addFileNameEdit
|
add EditLine to edit filename |
addFloatComboBox
|
|
addIntComboBox
|
|
addItem
|
|
addNumberEdit
|
add EditLine to edit number |
addStringComboBox
|
|
addStringEdit
|
add EditLine to edit string |
child
|
returns child page by index
|
createTreeItem
|
|
createWidget
|
create page widget (default implementation creates empty page) |
item
|
returns page item by index
|