Files
qt-creator/share/qtcreator/qmldesigner/propertyeditor/Qt/TextInputGroupBox.qml
2010-02-05 15:42:31 +10:00

63 lines
1.3 KiB
QML

import Qt 4.6
import Bauhaus 1.0
GroupBox {
id: textInputGroupBox
caption: "Text Input";
layout: VerticalLayout {
ColorLabel {
text: " Selection Color"
}
ColorGroupBox {
finished: finishedNotify
backendColor: backendValues.selectionColor
}
ColorLabel {
text: " Selected Text Color"
}
ColorGroupBox {
finished: finishedNotify
backendColor: backendValues.selectedTextColor
}
QWidget {
layout: HorizontalLayout {
CheckBox {
text: "Read Only";
baseStateFlag: isBaseState;
checkable: true;
backendValue: backendValues.readOnly;
}
CheckBox {
text: "Cursor Visible";
baseStateFlag: isBaseState;
checkable: true;
backendValue: backendValues.cursorVisible;
}
CheckBox {
text: "Focus On Press";
baseStateFlag: isBaseState;
checkable: true;
backendValue: backendValues. focusOnPress;
}
}
}
}
}