SettingsPage

settings page - item of settings tree, can edit several settings

Constructors

this
this(string id, UIString label)
Undocumented in source.

Members

Functions

addCheckbox
CheckboxItem addCheckbox(string id, UIString label, bool inverse)

add checkbox (boolean value) for setting

addChild
SettingsPage addChild(SettingsPage item)
Undocumented in source. Be warned that the author may not have intended to support it.
addChild
SettingsPage addChild(string id, UIString label)
Undocumented in source. Be warned that the author may not have intended to support it.
addDirNameEdit
PathNameEditItem addDirNameEdit(string id, UIString label, string defaultValue)

add EditLine to edit filename

addExecutableFileNameEdit
ExecutableFileNameEditItem addExecutableFileNameEdit(string id, UIString label, string defaultValue)

add EditLine to edit executable file name

addFileNameEdit
FileNameEditItem addFileNameEdit(string id, UIString label, string defaultValue)

add EditLine to edit filename

addFloatComboBox
FloatComboBoxItem addFloatComboBox(string id, UIString label, StringListValue[] items, long divider)
Undocumented in source. Be warned that the author may not have intended to support it.
addIntComboBox
IntComboBoxItem addIntComboBox(string id, UIString label, StringListValue[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
addItem
SettingsItem addItem(SettingsItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
addNumberEdit
NumberEditItem addNumberEdit(string id, UIString label, int minValue, int maxValue, int defaultValue)

add EditLine to edit number

addStringComboBox
StringComboBoxItem addStringComboBox(string id, UIString label, StringListValue[] items)
Undocumented in source. Be warned that the author may not have intended to support it.
addStringEdit
StringEditItem addStringEdit(string id, UIString label, string defaultValue)

add EditLine to edit string

child
SettingsPage child(int index)

returns child page by index

createTreeItem
TreeItem createTreeItem()
Undocumented in source. Be warned that the author may not have intended to support it.
createWidget
Widget createWidget(Setting settings)

create page widget (default implementation creates empty page)

item
SettingsItem item(int index)

returns page item by index

Properties

childCount
int childCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
id
string id [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isRoot
bool isRoot [@property getter]

returns true if this page is root page

itemCount
int itemCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
label
UIString label [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_children
ObjectList!SettingsPage _children;
Undocumented in source.
_id
string _id;
Undocumented in source.
_items
ObjectList!SettingsItem _items;
Undocumented in source.
_label
UIString _label;
Undocumented in source.
_parent
SettingsPage _parent;
Undocumented in source.

Meta