diff options
Diffstat (limited to 'examples/meego/meegotheme/LineEdit.qml')
-rw-r--r-- | examples/meego/meegotheme/LineEdit.qml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/examples/meego/meegotheme/LineEdit.qml b/examples/meego/meegotheme/LineEdit.qml new file mode 100644 index 00000000..12269cf8 --- /dev/null +++ b/examples/meego/meegotheme/LineEdit.qml @@ -0,0 +1,26 @@ +import Qt 4.7 +import "../../../components" as Components + +// ### import QtComponents to load meego imageprovider +import com.meego.themebridge 1.0 + +Components.LineEdit { + minimumHeight: 40 + + Style { + id: meegostyle + styleClass: "MTextEditStyle" + mode: inputElement.activeFocus ? "selected" : "default" + } + font: meegostyle.current.get("font") + textColor: meegostyle.current.get("textColor") + + background: BorderImage { + source: "image://theme/meegotouch-textedit-background" + border.top: 12 + border.bottom: 12 + border.left: 12 + border.right: 12 + } +} + |