2018-08-10 10:58:53 +00:00
|
|
|
import QtQuick 2.9
|
|
|
|
import QtQuick.Controls 2.2
|
2018-08-21 14:57:15 +00:00
|
|
|
import MatriqueSettings 0.1
|
2018-08-10 10:58:53 +00:00
|
|
|
|
|
|
|
Page {
|
|
|
|
Column {
|
|
|
|
Switch {
|
|
|
|
id: lazyLoadSwitch
|
2018-08-14 06:05:41 +00:00
|
|
|
text: "Lazy load at initial sync"
|
2018-08-21 14:57:15 +00:00
|
|
|
checked: MatriqueSettings.lazyLoad
|
|
|
|
onCheckedChanged: MatriqueSettings.lazyLoad = checked
|
2018-08-10 10:58:53 +00:00
|
|
|
}
|
2018-08-14 06:05:41 +00:00
|
|
|
Switch {
|
|
|
|
id: asyncMessageDelegateSwitch
|
|
|
|
text: "Force loading message delegates asynchronously"
|
2018-08-21 14:57:15 +00:00
|
|
|
checked: MatriqueSettings.asyncMessageDelegate
|
|
|
|
onCheckedChanged: MatriqueSettings.asyncMessageDelegate = checked
|
2018-08-14 06:05:41 +00:00
|
|
|
}
|
2018-08-18 09:56:55 +00:00
|
|
|
Switch {
|
|
|
|
id: richTextSwitch
|
|
|
|
text: "Use RichText instead of StyledText"
|
2018-08-21 14:57:15 +00:00
|
|
|
checked: MatriqueSettings.richText
|
|
|
|
onCheckedChanged: MatriqueSettings.richText = checked
|
|
|
|
}
|
|
|
|
Switch {
|
|
|
|
id: pressAndHoldSwitch
|
|
|
|
text: "Use press and hold instead of right click"
|
|
|
|
checked: MatriqueSettings.pressAndHold
|
|
|
|
onCheckedChanged: MatriqueSettings.pressAndHold = checked
|
2018-08-18 09:56:55 +00:00
|
|
|
}
|
2018-08-14 06:05:41 +00:00
|
|
|
|
2018-08-13 14:44:32 +00:00
|
|
|
Button {
|
|
|
|
text: "Invoke GC"
|
|
|
|
highlighted: true
|
|
|
|
onClicked: gc()
|
|
|
|
}
|
2018-08-10 10:58:53 +00:00
|
|
|
}
|
|
|
|
}
|