5 anchors.horizontalCenter: parent.horizontalCenter
8 height: wrappersc.height
9 /* gradient: Gradient {
20 // border.color: "black"
25 onClicked: { fond.state = '' }
31 text: "Panneau gauche"
32 anchors.right: parent.right
33 anchors.rightMargin: 5
35 anchors.top: parent.top
54 flow: Flow.TopToBottom
55 //width: menu.width-10
56 anchors.horizontalCenter: parent.horizontalCenter
57 anchors.verticalCenter: parent.verticalCenter
59 anchors.bottomMargin: 5
64 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
65 horizontalAlignment: Qt.AlignRight
69 KeyNavigation.backtab: searchbutton
70 KeyNavigation.tab:phraseIn
71 onAccepted:searchbutton.doSearch();
78 font.pixelSize: 16; font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
79 horizontalAlignment: Qt.AlignRight
83 KeyNavigation.backtab: fromIn
84 KeyNavigation.tab:phraseIn
85 onAccepted:searchbutton.doSearch();
90 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
91 horizontalAlignment: Qt.AlignRight
95 KeyNavigation.backtab: fromIn
96 KeyNavigation.tab:searchbutton
97 onAccepted:searchbutton.doSearch();
112 KeyNavigation.tab: fromIn
113 Keys.onReturnPressed: searchbutton.doSearch();
114 Keys.onEnterPressed: searchbutton.doSearch();
115 Keys.onSelectPressed: searchbutton.doSearch();
116 Keys.onSpacePressed: searchbutton.doSearch();
117 onClicked: searchbutton.doSearch();
119 function doSearch() {
121 if (wrappersc.state=="invalidinput")
124 schModel.from=fromIn.text;
125 //schModel.to= toIn.text;
126 schModel.phrase = phraseIn.text;
137 when: fromIn.text=="" && toIn.text=="" && phraseIn.text==""
138 PropertyChanges { target: searchbutton ; opacity: 0.6 ; }
142 NumberAnimation { target: searchbutton; property: "opacity"; duration: 200 }