controllers: add a quick 'git grep' search menu helper
[ugit.git] / ui / search.ui
blobdea7817e5394d0c89c047650a0b3f5ff8064bbca
1 <ui version="4.0" >
2  <class>search</class>
3  <widget class="QDialog" name="search" >
4   <property name="geometry" >
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>600</width>
9     <height>550</height>
10    </rect>
11   </property>
12   <property name="windowTitle" >
13    <string>Search</string>
14   </property>
15   <layout class="QVBoxLayout" >
16    <item>
17     <layout class="QGridLayout" >
18      <item row="0" column="0" colspan="2" >
19       <widget class="QRadioButton" name="radio_range" >
20        <property name="text" >
21         <string>Revision Range Expression</string>
22        </property>
23       </widget>
24      </item>
25      <item row="0" column="2" >
26       <widget class="QRadioButton" name="radio_path" >
27        <property name="text" >
28         <string>Commits Touching Paths</string>
29        </property>
30       </widget>
31      </item>
32      <item row="0" column="3" >
33       <widget class="QRadioButton" name="radio_author" >
34        <property name="text" >
35         <string>Author</string>
36        </property>
37       </widget>
38      </item>
39      <item row="0" column="4" >
40       <widget class="QRadioButton" name="radio_committer" >
41        <property name="text" >
42         <string>Committer</string>
43        </property>
44       </widget>
45      </item>
46      <item row="1" column="0" colspan="2" >
47       <widget class="QRadioButton" name="radio_revision" >
48        <property name="text" >
49         <string>Revision ID</string>
50        </property>
51       </widget>
52      </item>
53      <item row="1" column="2" >
54       <widget class="QRadioButton" name="radio_message" >
55        <property name="text" >
56         <string>Commit Messages</string>
57        </property>
58       </widget>
59      </item>
60      <item row="1" column="3" colspan="2" >
61       <widget class="QRadioButton" name="radio_daterange" >
62        <property name="text" >
63         <string>Date Range (Start / End)</string>
64        </property>
65       </widget>
66      </item>
67      <item row="2" column="0" >
68       <widget class="QLabel" name="maxresults_label" >
69        <property name="text" >
70         <string>Max Results</string>
71        </property>
72       </widget>
73      </item>
74      <item row="2" column="1" >
75       <widget class="QSpinBox" name="max_results" >
76        <property name="minimum" >
77         <number>5</number>
78        </property>
79        <property name="maximum" >
80         <number>9995</number>
81        </property>
82        <property name="singleStep" >
83         <number>5</number>
84        </property>
85        <property name="value" >
86         <number>500</number>
87        </property>
88       </widget>
89      </item>
90      <item row="2" column="2" >
91       <widget class="QRadioButton" name="radio_diff" >
92        <property name="text" >
93         <string>Diff Content</string>
94        </property>
95       </widget>
96      </item>
97      <item row="2" column="3" >
98       <widget class="QDateEdit" name="start_date" >
99        <property name="currentSection" >
100         <enum>QDateTimeEdit::DaySection</enum>
101        </property>
102        <property name="displayFormat" >
103         <string>yyyy-MM-dd</string>
104        </property>
105        <property name="calendarPopup" >
106         <bool>true</bool>
107        </property>
108       </widget>
109      </item>
110      <item row="2" column="4" >
111       <widget class="QDateEdit" name="end_date" >
112        <property name="currentSection" >
113         <enum>QDateTimeEdit::DaySection</enum>
114        </property>
115        <property name="displayFormat" >
116         <string>yyyy-MM-dd</string>
117        </property>
118        <property name="calendarPopup" >
119         <bool>true</bool>
120        </property>
121       </widget>
122      </item>
123      <item row="3" column="0" >
124       <widget class="QPushButton" name="button_search" >
125        <property name="text" >
126         <string>Search</string>
127        </property>
128       </widget>
129      </item>
130      <item row="3" column="1" colspan="3" >
131       <widget class="QLineEdit" name="input" />
132      </item>
133      <item row="3" column="4" >
134       <widget class="QPushButton" name="button_browse" >
135        <property name="text" >
136         <string>Browse</string>
137        </property>
138       </widget>
139      </item>
140     </layout>
141    </item>
142    <item>
143     <widget class="QSplitter" name="splitter" >
144      <property name="orientation" >
145       <enum>Qt::Vertical</enum>
146      </property>
147      <property name="handleWidth" >
148       <number>2</number>
149      </property>
150      <widget class="QListWidget" name="commit_list" >
151       <property name="sizePolicy" >
152        <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
153         <horstretch>0</horstretch>
154         <verstretch>0</verstretch>
155        </sizepolicy>
156       </property>
157       <property name="minimumSize" >
158        <size>
159         <width>50</width>
160         <height>50</height>
161        </size>
162       </property>
163       <property name="alternatingRowColors" >
164        <bool>true</bool>
165       </property>
166       <property name="selectionMode" >
167        <enum>QAbstractItemView::ExtendedSelection</enum>
168       </property>
169      </widget>
170      <widget class="QTextEdit" name="commit_text" >
171       <property name="sizePolicy" >
172        <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
173         <horstretch>0</horstretch>
174         <verstretch>1</verstretch>
175        </sizepolicy>
176       </property>
177       <property name="minimumSize" >
178        <size>
179         <width>50</width>
180         <height>150</height>
181        </size>
182       </property>
183       <property name="tabChangesFocus" >
184        <bool>true</bool>
185       </property>
186       <property name="readOnly" >
187        <bool>true</bool>
188       </property>
189       <property name="acceptRichText" >
190        <bool>false</bool>
191       </property>
192      </widget>
193     </widget>
194    </item>
195    <item>
196     <layout class="QGridLayout" >
197      <item row="0" column="0" >
198       <widget class="QPushButton" name="button_export" >
199        <property name="text" >
200         <string>Export Patches</string>
201        </property>
202       </widget>
203      </item>
204      <item row="0" column="2" >
205       <widget class="QPushButton" name="button_cherrypick" >
206        <property name="text" >
207         <string>Cherry Pick</string>
208        </property>
209       </widget>
210      </item>
211      <item row="0" column="3" >
212       <spacer>
213        <property name="orientation" >
214         <enum>Qt::Horizontal</enum>
215        </property>
216        <property name="sizeHint" >
217         <size>
218          <width>111</width>
219          <height>20</height>
220         </size>
221        </property>
222       </spacer>
223      </item>
224      <item row="0" column="4" >
225       <widget class="QPushButton" name="button_close" >
226        <property name="text" >
227         <string>Close</string>
228        </property>
229       </widget>
230      </item>
231      <item row="0" column="1" >
232       <widget class="QPushButton" name="button_merge" >
233        <property name="text" >
234         <string>Merge</string>
235        </property>
236       </widget>
237      </item>
238     </layout>
239    </item>
240   </layout>
241  </widget>
242  <resources/>
243  <connections>
244   <connection>
245    <sender>button_close</sender>
246    <signal>clicked()</signal>
247    <receiver>search</receiver>
248    <slot>accept()</slot>
249    <hints>
250     <hint type="sourcelabel" >
251      <x>552</x>
252      <y>527</y>
253     </hint>
254     <hint type="destinationlabel" >
255      <x>299</x>
256      <y>274</y>
257     </hint>
258    </hints>
259   </connection>
260  </connections>
261 </ui>