2012-03-25 16:10:15 +02:00
|
|
|
Panel
|
|
|
|
OptionCheckBox
|
|
|
|
id: vsync
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Enable vertical synchronization')
|
|
|
|
!tooltip: tr('Limits FPS to 60')
|
2012-03-25 16:10:15 +02:00
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: showfps
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Show frame rate')
|
2012-03-25 16:10:15 +02:00
|
|
|
|
|
|
|
OptionCheckBox
|
|
|
|
id: fullscreen
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Fullscreen')
|
2012-03-25 16:10:15 +02:00
|
|
|
|
|
|
|
Label
|
2012-04-26 21:54:16 +02:00
|
|
|
!text: tr('Frame rate limit')
|
2012-03-25 16:10:15 +02:00
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 6
|
|
|
|
|
|
|
|
HorizontalScrollBar
|
|
|
|
id: frameRateScrollBar
|
|
|
|
anchors.left: parent.left
|
|
|
|
anchors.right: parent.right
|
|
|
|
anchors.top: prev.bottom
|
|
|
|
margin-top: 3
|
|
|
|
minimum: 0
|
|
|
|
maximum: 50
|
|
|
|
value: 0
|
|
|
|
step: 1
|
|
|
|
@onValueChange: g_app.setFrameSleep(self:getValue())
|