Improve profiles management, redesign a bit the settings window.

This commit is contained in:
Filippo Scognamiglio
2014-12-26 17:19:34 +01:00
parent 88079a3ee4
commit a62645f0b7
8 changed files with 193 additions and 102 deletions

View File

@@ -26,21 +26,8 @@ Tab{
ColumnLayout{
anchors.fill: parent
GroupBox{
title: qsTr("Rasterization Mode")
Layout.fillWidth: true
ComboBox {
id: rasterizationBox
property string selectedElement: model[currentIndex]
anchors.fill: parent
model: [qsTr("Default"), qsTr("Scanlines"), qsTr("Pixels")]
currentIndex: appSettings.rasterization
onCurrentIndexChanged: {
appSettings.rasterization = currentIndex
}
}
}
GroupBox{
title: qsTr("Font") + " (" + rasterizationBox.selectedElement + ")"
property var rasterization: [qsTr("Default"), qsTr("Scanlines"), qsTr("Pixels")][appSettings.rasterization]
title: qsTr("Font" + "(" + rasterization + ")")
Layout.fillWidth: true
GridLayout{
anchors.fill: parent