diff options
author | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-07-23 11:33:48 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@digia.com> | 2014-09-23 17:46:07 +0200 |
commit | 229c4b0a71c888c37fad054c2fabaecfa3ba73fc (patch) | |
tree | dce058ff2feab69504056150848783ad785afbbc /src/controls/SpinBox.qml | |
parent | 26db5c724540449ef1e19178427081bff084e4ad (diff) | |
download | qtquickcontrols-229c4b0a71c888c37fad054c2fabaecfa3ba73fc.tar.gz |
Add EditMenu to input controls
Add EditMenu to TextArea, TextField, ComboBox and
SpinBox.
Change-Id: Ic2fed55c467dde65334006d252f4052430f3f40c
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r-- | src/controls/SpinBox.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index 758be809..f4b89ae6 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -203,6 +203,16 @@ Control { */ readonly property bool inputMethodComposing: !!input.inputMethodComposing + /*! + \qmlproperty Menu SpinBox::menu + \since QtQuick.Controls 1.3 + + This property contains the edit menu for working + with text selection. Set it to \c null if no menu + is wanted. + */ + property Menu menu: input.editMenu.defaultMenu + style: Qt.createComponent(Settings.style + "/SpinBoxStyle.qml", spinbox) /*! \internal */ |