views: add a bookmarks view
[git-cola.git] / ui / search.ui
blob910c7bd4eae330bd4ad1ef0aacf4e434a18c21d2
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        <property name="shortcut" >
129         <string>Return</string>
130        </property>
131       </widget>
132      </item>
133      <item row="3" column="1" colspan="3" >
134       <widget class="QLineEdit" name="input" />
135      </item>
136      <item row="3" column="4" >
137       <widget class="QPushButton" name="button_browse" >
138        <property name="text" >
139         <string>Browse</string>
140        </property>
141       </widget>
142      </item>
143     </layout>
144    </item>
145    <item>
146     <widget class="QSplitter" name="splitter" >
147      <property name="orientation" >
148       <enum>Qt::Vertical</enum>
149      </property>
150      <property name="handleWidth" >
151       <number>2</number>
152      </property>
153      <widget class="QListWidget" name="commit_list" >
154       <property name="sizePolicy" >
155        <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
156         <horstretch>0</horstretch>
157         <verstretch>0</verstretch>
158        </sizepolicy>
159       </property>
160       <property name="minimumSize" >
161        <size>
162         <width>50</width>
163         <height>50</height>
164        </size>
165       </property>
166       <property name="alternatingRowColors" >
167        <bool>true</bool>
168       </property>
169       <property name="selectionMode" >
170        <enum>QAbstractItemView::ExtendedSelection</enum>
171       </property>
172      </widget>
173      <widget class="QTextEdit" name="commit_text" >
174       <property name="sizePolicy" >
175        <sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
176         <horstretch>0</horstretch>
177         <verstretch>1</verstretch>
178        </sizepolicy>
179       </property>
180       <property name="minimumSize" >
181        <size>
182         <width>50</width>
183         <height>150</height>
184        </size>
185       </property>
186       <property name="tabChangesFocus" >
187        <bool>true</bool>
188       </property>
189       <property name="readOnly" >
190        <bool>true</bool>
191       </property>
192       <property name="acceptRichText" >
193        <bool>false</bool>
194       </property>
195      </widget>
196     </widget>
197    </item>
198    <item>
199     <layout class="QGridLayout" >
200      <item row="0" column="0" >
201       <widget class="QPushButton" name="button_export" >
202        <property name="text" >
203         <string>Export Patches</string>
204        </property>
205       </widget>
206      </item>
207      <item row="0" column="2" >
208       <widget class="QPushButton" name="button_cherrypick" >
209        <property name="text" >
210         <string>Cherry Pick</string>
211        </property>
212       </widget>
213      </item>
214      <item row="0" column="3" >
215       <spacer>
216        <property name="orientation" >
217         <enum>Qt::Horizontal</enum>
218        </property>
219        <property name="sizeHint" >
220         <size>
221          <width>111</width>
222          <height>20</height>
223         </size>
224        </property>
225       </spacer>
226      </item>
227      <item row="0" column="4" >
228       <widget class="QPushButton" name="button_close" >
229        <property name="text" >
230         <string>Close</string>
231        </property>
232       </widget>
233      </item>
234      <item row="0" column="1" >
235       <widget class="QPushButton" name="button_merge" >
236        <property name="text" >
237         <string>Merge</string>
238        </property>
239       </widget>
240      </item>
241     </layout>
242    </item>
243   </layout>
244  </widget>
245  <resources/>
246  <connections>
247   <connection>
248    <sender>button_close</sender>
249    <signal>clicked()</signal>
250    <receiver>search</receiver>
251    <slot>accept()</slot>
252    <hints>
253     <hint type="sourcelabel" >
254      <x>552</x>
255      <y>527</y>
256     </hint>
257     <hint type="destinationlabel" >
258      <x>299</x>
259      <y>274</y>
260     </hint>
261    </hints>
262   </connection>
263  </connections>
264 </ui>