5 anchors.horizontalCenter: parent.horizontalCenter
8 height: wrappersc.height
12 /* gradient: Gradient {
23 // border.color: "black"
28 onClicked: { fond.state = '' }
34 text: "Panneau gauche"
35 anchors.right: parent.right
36 anchors.rightMargin: 5
38 anchors.top: parent.top
54 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b
58 flow: Flow.TopToBottom
61 //width: menu.width-10
62 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b
63 anchors.horizontalCenter: parent.horizontalCenter
64 anchors.verticalCenter: parent.verticalCenter
66 anchors.bottomMargin: 5
73 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b
74 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
75 horizontalAlignment: Qt.AlignRight
79 KeyNavigation.backtab: searchbutton
80 KeyNavigation.tab:phraseIn
81 onAccepted:searchbutton.doSearch();
92 font.pixelSize: 16; font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
93 horizontalAlignment: Qt.AlignRight
97 KeyNavigation.backtab: fromIn
98 KeyNavigation.tab:phraseIn
99 onAccepted:searchbutton.doSearch();
103 //font.pixelSize: 16;
104 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b
105 font.bold: true; color: "white"; style: Text.Raised; styleColor: "black"
106 horizontalAlignment: Qt.AlignRight
110 KeyNavigation.backtab: fromIn
111 KeyNavigation.tab:searchbutton
112 onAccepted:searchbutton.doSearch();
113 text: schModel.phrase
125 KeyNavigation.tab: fromIn
126 Keys.onReturnPressed: searchbutton.doSearch();
127 Keys.onEnterPressed: searchbutton.doSearch();
128 Keys.onSelectPressed: searchbutton.doSearch();
129 Keys.onSpacePressed: searchbutton.doSearch();
130 onClicked: searchbutton.doSearch();
132 function doSearch() {
134 if (wrappersc.state=="invalidinput")
137 schModel.from=fromIn.text;
138 schModel.phrase = phraseIn.text;
148 when: fromIn.text=="" // && phraseIn.text==""
149 PropertyChanges { target: searchbutton ; opacity: 0.6 ; }
164 KeyNavigation.tab: fromIn
165 Keys.onReturnPressed: searchbutton.doSearch();
166 Keys.onEnterPressed: searchbutton.doSearch();
167 Keys.onSelectPressed: searchbutton.doSearch();
168 Keys.onSpacePressed: searchbutton.doSearch();
169 onClicked: searchbutton.doSearch();
171 function doSearch() {
173 if (wrappersc.state=="invalidinput")
176 schModel.from=fromIn.text;
177 //schModel.to= toIn.text;
178 schModel.phrase = phraseIn.text;
189 when: fromIn.text=="" && toIn.text=="" && phraseIn.text==""
190 PropertyChanges { target: searchbutton ; opacity: 0.6 ; }
192 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b
195 NumberAnimation { target: searchbutton; property: "opacity"; duration: 200 }
204 >>>>>>> 35062d3928ada7bfcb8f08201897545f91b7731b