2010-01-27 18:38:09 +01:00
|
|
|
import Qt 4.6
|
|
|
|
|
import Bauhaus 1.0
|
|
|
|
|
|
|
|
|
|
GroupBox {
|
|
|
|
|
id: FontGroupBox
|
|
|
|
|
caption: "Font";
|
|
|
|
|
|
|
|
|
|
layout: VerticalLayout {
|
|
|
|
|
|
|
|
|
|
QWidget {
|
|
|
|
|
layout: HorizontalLayout {
|
|
|
|
|
Label {
|
|
|
|
|
text: "Font"
|
|
|
|
|
}
|
2010-01-28 17:42:03 +01:00
|
|
|
QWidget {
|
|
|
|
|
id: parentWidget
|
|
|
|
|
minimumWidth: 180
|
2010-02-04 14:45:20 +01:00
|
|
|
minimumHeight: 26
|
2010-01-28 17:42:03 +01:00
|
|
|
QFontComboBox {
|
|
|
|
|
width: parentWidget.width
|
|
|
|
|
height: parentWidget.height
|
|
|
|
|
}
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2010-01-28 17:42:03 +01:00
|
|
|
IntEditor {
|
|
|
|
|
maximumWidth: 200
|
|
|
|
|
caption: "Size"
|
|
|
|
|
slider: false
|
|
|
|
|
backendValue: backendValues.font_pointSize
|
|
|
|
|
baseStateFlag: isBaseState;
|
|
|
|
|
}
|
|
|
|
|
|
2010-01-27 18:38:09 +01:00
|
|
|
QWidget {
|
|
|
|
|
layout: HorizontalLayout {
|
|
|
|
|
Label {
|
|
|
|
|
text: "Style"
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
CheckBox {
|
|
|
|
|
text: "Bold";
|
|
|
|
|
backendValue: backendValues.font_bold
|
|
|
|
|
baseStateFlag: isBaseState;
|
|
|
|
|
checkable: true;
|
|
|
|
|
}
|
|
|
|
|
CheckBox {
|
|
|
|
|
text: "Italic";
|
|
|
|
|
backendValue: backendValues.font_italic
|
|
|
|
|
baseStateFlag: isBaseState;
|
|
|
|
|
checkable: true;
|
|
|
|
|
}
|
2010-01-28 17:42:03 +01:00
|
|
|
|
2010-01-27 18:38:09 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|