2012-01-06 10:10:55 +01:00
|
|
|
OptionCheckBox < CheckBox
|
|
|
|
@onCheckChange: Options.changeOption(self:getId(), self:isChecked())
|
|
|
|
@onSetup: self:setChecked(Options[self:getId()])
|
2011-11-03 10:59:11 +01:00
|
|
|
|
2012-01-06 10:10:55 +01:00
|
|
|
$first:
|
2011-11-03 10:59:11 +01:00
|
|
|
anchors.left: parent.left
|
2011-11-17 01:12:11 +01:00
|
|
|
anchors.right: parent.right
|
2011-11-03 10:59:11 +01:00
|
|
|
anchors.top: parent.top
|
|
|
|
|
2012-01-06 10:10:55 +01:00
|
|
|
$middle:
|
2011-11-03 10:59:11 +01:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
2011-11-17 01:12:11 +01:00
|
|
|
anchors.top: prev.bottom
|
2012-01-11 13:06:50 +01:00
|
|
|
margin-top: 2
|
2012-01-06 10:10:55 +01:00
|
|
|
|
|
|
|
MainWindow
|
|
|
|
id: optionsWindow
|
2012-01-11 00:13:38 +01:00
|
|
|
text: Options
|
2012-01-14 02:37:15 +01:00
|
|
|
size: 286 250
|
2012-01-11 13:06:50 +01:00
|
|
|
|
2012-01-07 21:00:07 +01:00
|
|
|
@onEnter: Options.hide()
|
|
|
|
@onEscape: Options.hide()
|
2012-01-06 10:10:55 +01:00
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: vsync
|
|
|
|
text: Enable vertical synchronization
|
|
|
|
tooltip: Limits FPS to 60
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showfps
|
|
|
|
text: Show frame rate
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: fullscreen
|
|
|
|
text: Fullscreen
|
2011-11-03 10:59:11 +01:00
|
|
|
|
2012-01-07 02:48:16 +01:00
|
|
|
OptionCheckBox
|
|
|
|
id: classicControl
|
|
|
|
text: Classic control
|
|
|
|
|
2012-01-08 23:32:55 +01:00
|
|
|
OptionCheckBox
|
2012-01-09 00:28:49 +01:00
|
|
|
id: showInfoMessagesInConsole
|
|
|
|
text: Show info messages in console
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showEventMessagesInConsole
|
|
|
|
text: Show event messages in console
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showStatusMessagesInConsole
|
|
|
|
text: Show status messages in console
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showTimestampsInConsole
|
|
|
|
text: Show timestamps in console
|
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showLevelsInConsole
|
|
|
|
text: Show levels in console
|
2012-01-11 13:06:50 +01:00
|
|
|
|
2012-01-14 02:37:15 +01:00
|
|
|
OptionCheckBox
|
|
|
|
id: showPrivateMessagesInConsole
|
|
|
|
text: Show private messages in console
|
2012-01-08 23:32:55 +01:00
|
|
|
|
2011-11-03 10:59:11 +01:00
|
|
|
Button
|
|
|
|
text: Ok
|
|
|
|
width: 64
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.bottom: parent.bottom
|
2012-01-07 21:00:07 +01:00
|
|
|
@onClick: Options.hide()
|