-
-
-
- Button {
- x: 2
- width: menu.width-4
- height: menu.height
- id: searchbutton
- keyUsing: true;
- opacity: 1
- text: "Go"
- KeyNavigation.tab: fromIn
- Keys.onReturnPressed: searchbutton.doSearch();
- Keys.onEnterPressed: searchbutton.doSearch();
- Keys.onSelectPressed: searchbutton.doSearch();
- Keys.onSpacePressed: searchbutton.doSearch();
- onClicked: searchbutton.doSearch();
-
- function doSearch() {
- // Search ! allowed
- if (wrappersc.state=="invalidinput")
- return;
-
+ Button {
+ x: 2
+ width: menu.width-4
+ height: menu.height
+ id: searchbutton
+ keyUsing: true;
+ opacity: 1
+ text: "Go"
+ KeyNavigation.tab: fromIn
+ Keys.onReturnPressed: searchbutton.doSearch();
+ Keys.onEnterPressed: searchbutton.doSearch();
+ Keys.onSelectPressed: searchbutton.doSearch();
+ Keys.onSpacePressed: searchbutton.doSearch();
+ onClicked: searchbutton.doSearch();
+
+ function doSearch() {
+ // Search ! allowed
+ if (wrappersc.state=="invalidinput")
+ return;