5 anchors.horizontalCenter: parent.horizontalCenter
8 height: wrappersc.height
13 flow: Flow.TopToBottom
14 anchors.horizontalCenter: parent.horizontalCenter
15 anchors.verticalCenter: parent.verticalCenter
17 anchors.bottomMargin: 5
21 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
22 horizontalAlignment: Qt.AlignRight
26 KeyNavigation.backtab: searchbutton
27 KeyNavigation.tab:phraseIn
28 onAccepted:searchbutton.doSearch();
34 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
35 horizontalAlignment: Qt.AlignRight
39 KeyNavigation.backtab: fromIn
40 KeyNavigation.tab:searchbutton
41 onAccepted:searchbutton.doSearch();
53 KeyNavigation.tab: fromIn
54 Keys.onReturnPressed: searchbutton.doSearch();
55 Keys.onEnterPressed: searchbutton.doSearch();
56 Keys.onSelectPressed: searchbutton.doSearch();
57 Keys.onSpacePressed: searchbutton.doSearch();
58 onClicked: searchbutton.doSearch();
62 if (wrappersc.state=="invalidinput")
65 schModel.from=fromIn.text;
66 schModel.phrase = phraseIn.text;
76 when: fromIn.text=="" // && phraseIn.text==""
77 PropertyChanges { target: searchbutton ; opacity: 0.6 ; }
82 NumberAnimation { target: searchbutton; property: "opacity"; duration: 200 }