Log window improvements
[ugit.git] / ui / maingui.ui
bloba6fd64e8e5a8d91afe1749aa2dcf3aa36502064c
1 <ui version="4.0" >
2  <author>David Aguilar</author>
3  <class>maingui</class>
4  <widget class="QMainWindow" name="maingui" >
5   <property name="geometry" >
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>780</width>
10     <height>512</height>
11    </rect>
12   </property>
13   <widget class="QWidget" name="centralwidget" >
14    <layout class="QVBoxLayout" >
15     <item>
16      <widget class="QSplitter" name="splitter_top" >
17       <property name="orientation" >
18        <enum>Qt::Vertical</enum>
19       </property>
20       <widget class="QSplitter" name="splitter" >
21        <property name="orientation" >
22         <enum>Qt::Horizontal</enum>
23        </property>
24        <property name="handleWidth" >
25         <number>2</number>
26        </property>
27        <widget class="QWidget" name="layoutWidget" >
28         <layout class="QVBoxLayout" >
29          <property name="spacing" >
30           <number>0</number>
31          </property>
32          <item>
33           <layout class="QHBoxLayout" >
34            <property name="spacing" >
35             <number>0</number>
36            </property>
37            <item>
38             <widget class="QLabel" name="label_3" >
39              <property name="text" >
40               <string>Unstaged Changes</string>
41              </property>
42             </widget>
43            </item>
44            <item>
45             <widget class="QCheckBox" name="untracked_checkbox" >
46              <property name="toolTip" >
47               <string>Includes untracked files in the unstaged changes list.
48 Disabling this causes ugit to only display files known to git
49 in the unstaged changes list.</string>
50              </property>
51              <property name="text" >
52               <string>Show Untracked Files</string>
53              </property>
54              <property name="checked" >
55               <bool>true</bool>
56              </property>
57              <property name="tristate" >
58               <bool>false</bool>
59              </property>
60             </widget>
61            </item>
62            <item>
63             <spacer>
64              <property name="orientation" >
65               <enum>Qt::Vertical</enum>
66              </property>
67              <property name="sizeType" >
68               <enum>QSizePolicy::MinimumExpanding</enum>
69              </property>
70              <property name="sizeHint" >
71               <size>
72                <width>20</width>
73                <height>22</height>
74               </size>
75              </property>
76             </spacer>
77            </item>
78           </layout>
79          </item>
80          <item>
81           <widget class="QListWidget" name="unstaged_list" >
82            <property name="font" >
83             <font>
84              <family>Courier</family>
85              <pointsize>11</pointsize>
86             </font>
87            </property>
88            <property name="toolTip" >
89             <string>A list of all the unstaged changes.
90 This list includes those files known to git and can optionally
91 include untracked files if "Show Untracked Files" is checked.</string>
92            </property>
93            <property name="alternatingRowColors" >
94             <bool>true</bool>
95            </property>
96            <property name="selectionMode" >
97             <enum>QAbstractItemView::ExtendedSelection</enum>
98            </property>
99            <property name="viewMode" >
100             <enum>QListView::ListMode</enum>
101            </property>
102            <property name="uniformItemSizes" >
103             <bool>true</bool>
104            </property>
105           </widget>
106          </item>
107         </layout>
108        </widget>
109        <widget class="QWidget" name="layoutWidget" >
110         <layout class="QVBoxLayout" >
111          <property name="spacing" >
112           <number>0</number>
113          </property>
114          <item>
115           <layout class="QHBoxLayout" >
116            <property name="spacing" >
117             <number>0</number>
118            </property>
119            <property name="bottomMargin" >
120             <number>0</number>
121            </property>
122            <item>
123             <widget class="QLabel" name="label_2" >
124              <property name="sizePolicy" >
125               <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
126                <horstretch>0</horstretch>
127                <verstretch>0</verstretch>
128               </sizepolicy>
129              </property>
130              <property name="text" >
131               <string>Staged Changes (Will Commit)</string>
132              </property>
133             </widget>
134            </item>
135            <item>
136             <spacer>
137              <property name="orientation" >
138               <enum>Qt::Vertical</enum>
139              </property>
140              <property name="sizeType" >
141               <enum>QSizePolicy::MinimumExpanding</enum>
142              </property>
143              <property name="sizeHint" >
144               <size>
145                <width>20</width>
146                <height>22</height>
147               </size>
148              </property>
149             </spacer>
150            </item>
151           </layout>
152          </item>
153          <item>
154           <widget class="QListWidget" name="staged_list" >
155            <property name="font" >
156             <font>
157              <family>Courier</family>
158              <pointsize>11</pointsize>
159             </font>
160            </property>
161            <property name="toolTip" >
162             <string>A list of all staged changes for the next commit.</string>
163            </property>
164            <property name="alternatingRowColors" >
165             <bool>true</bool>
166            </property>
167            <property name="selectionMode" >
168             <enum>QAbstractItemView::ExtendedSelection</enum>
169            </property>
170            <property name="viewMode" >
171             <enum>QListView::ListMode</enum>
172            </property>
173           </widget>
174          </item>
175         </layout>
176        </widget>
177       </widget>
178       <widget class="QSplitter" name="splitter_bottom" >
179        <property name="orientation" >
180         <enum>Qt::Vertical</enum>
181        </property>
182        <widget class="QWidget" name="layoutWidget" >
183         <layout class="QHBoxLayout" >
184          <property name="spacing" >
185           <number>0</number>
186          </property>
187          <property name="leftMargin" >
188           <number>0</number>
189          </property>
190          <property name="topMargin" >
191           <number>0</number>
192          </property>
193          <property name="rightMargin" >
194           <number>0</number>
195          </property>
196          <property name="bottomMargin" >
197           <number>0</number>
198          </property>
199          <item>
200           <layout class="QVBoxLayout" >
201            <property name="spacing" >
202             <number>0</number>
203            </property>
204            <property name="leftMargin" >
205             <number>8</number>
206            </property>
207            <item>
208             <widget class="QPushButton" name="stage_button" >
209              <property name="toolTip" >
210               <string>Invokes "git add" to stage the selected items
211 from the "Unstaged Changes" list.</string>
212              </property>
213              <property name="text" >
214               <string>Stage Changed</string>
215              </property>
216              <property name="flat" >
217               <bool>false</bool>
218              </property>
219             </widget>
220            </item>
221            <item>
222             <widget class="QPushButton" name="signoff_button" >
223              <property name="toolTip" >
224               <string>"Sign Off" appends the standard "Signed-Off by: ..."
225 message to the current commit message.</string>
226              </property>
227              <property name="text" >
228               <string>Sign Off</string>
229              </property>
230             </widget>
231            </item>
232            <item>
233             <widget class="QPushButton" name="commit_button" >
234              <property name="toolTip" >
235               <string>Invokes a git commit.
236 This commits the files listed in the "Files to Commit" list.
237 If "Commit All" is checked, all listed items will be committed,
238 otherwise only the selected items will be committed.</string>
239              </property>
240              <property name="text" >
241               <string>Commit</string>
242              </property>
243             </widget>
244            </item>
245            <item>
246             <widget class="QPushButton" name="push_button" >
247              <property name="text" >
248               <string>Push</string>
249              </property>
250             </widget>
251            </item>
252           </layout>
253          </item>
254          <item>
255           <layout class="QVBoxLayout" >
256            <property name="spacing" >
257             <number>0</number>
258            </property>
259            <property name="leftMargin" >
260             <number>4</number>
261            </property>
262            <property name="rightMargin" >
263             <number>8</number>
264            </property>
265            <item>
266             <layout class="QHBoxLayout" >
267              <property name="spacing" >
268               <number>0</number>
269              </property>
270              <property name="leftMargin" >
271               <number>4</number>
272              </property>
273              <item>
274               <widget class="QLabel" name="label" >
275                <property name="text" >
276                 <string>Commit Message:</string>
277                </property>
278               </widget>
279              </item>
280              <item>
281               <spacer>
282                <property name="orientation" >
283                 <enum>Qt::Horizontal</enum>
284                </property>
285                <property name="sizeType" >
286                 <enum>QSizePolicy::Preferred</enum>
287                </property>
288                <property name="sizeHint" >
289                 <size>
290                  <width>20</width>
291                  <height>20</height>
292                 </size>
293                </property>
294               </spacer>
295              </item>
296              <item>
297               <widget class="QRadioButton" name="new_commit_radio" >
298                <property name="toolTip" >
299                 <string>Causes the next commit to create a new commit object.</string>
300                </property>
301                <property name="text" >
302                 <string>New Commit</string>
303                </property>
304               </widget>
305              </item>
306              <item>
307               <widget class="QRadioButton" name="amend_radio" >
308                <property name="toolTip" >
309                 <string>Causes git to reuse the latest commit object.
310 "git commit" will be supplied with the "--amend" option so that
311 the most recent commit is amended with contents of the next commit.</string>
312                </property>
313                <property name="text" >
314                 <string>Amend Last Commit</string>
315                </property>
316               </widget>
317              </item>
318             </layout>
319            </item>
320            <item>
321             <layout class="QVBoxLayout" >
322              <item>
323               <widget class="QTextEdit" name="commit_text" >
324                <property name="font" >
325                 <font>
326                  <family>Courier</family>
327                  <pointsize>12</pointsize>
328                 </font>
329                </property>
330                <property name="toolTip" >
331                 <string>The commit message for the next commit.
332 If you are going to amend a commit you can use the
333 "Commit -> Get Latest Comit Message" menu action to
334 retrieve the latest commit message prior to committing.</string>
335                </property>
336                <property name="acceptRichText" >
337                 <bool>false</bool>
338                </property>
339               </widget>
340              </item>
341             </layout>
342            </item>
343           </layout>
344          </item>
345         </layout>
346        </widget>
347        <widget class="QWidget" name="layoutWidget" >
348         <layout class="QVBoxLayout" >
349          <property name="spacing" >
350           <number>0</number>
351          </property>
352          <item>
353           <widget class="QLabel" name="displayLabel" >
354            <property name="frameShape" >
355             <enum>QFrame::StyledPanel</enum>
356            </property>
357            <property name="frameShadow" >
358             <enum>QFrame::Plain</enum>
359            </property>
360            <property name="text" >
361             <string/>
362            </property>
363            <property name="alignment" >
364             <set>Qt::AlignCenter</set>
365            </property>
366           </widget>
367          </item>
368          <item>
369           <widget class="QTextEdit" name="display_text" >
370            <property name="font" >
371             <font>
372              <family>Courier</family>
373              <pointsize>12</pointsize>
374             </font>
375            </property>
376            <property name="tabChangesFocus" >
377             <bool>true</bool>
378            </property>
379            <property name="lineWrapMode" >
380             <enum>QTextEdit::NoWrap</enum>
381            </property>
382            <property name="readOnly" >
383             <bool>true</bool>
384            </property>
385            <property name="acceptRichText" >
386             <bool>false</bool>
387            </property>
388            <property name="cursorWidth" >
389             <number>2</number>
390            </property>
391            <property name="textInteractionFlags" >
392             <set>Qt::LinksAccessibleByKeyboard|Qt::LinksAccessibleByMouse|Qt::NoTextInteraction|Qt::TextBrowserInteraction|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse</set>
393            </property>
394           </widget>
395          </item>
396         </layout>
397        </widget>
398       </widget>
399      </widget>
400     </item>
401    </layout>
402   </widget>
403   <widget class="QMenuBar" name="menubar" >
404    <property name="geometry" >
405     <rect>
406      <x>0</x>
407      <y>0</y>
408      <width>780</width>
409      <height>28</height>
410     </rect>
411    </property>
412    <widget class="QMenu" name="repository_menu" >
413     <property name="title" >
414      <string>Repository</string>
415     </property>
416     <addaction name="menu_browse_branch" />
417     <addaction name="menu_browse_other_branch" />
418     <addaction name="separator" />
419     <addaction name="menu_visualize_current" />
420     <addaction name="menu_visualize_all" />
421    </widget>
422    <widget class="QMenu" name="commit_menu" >
423     <property name="title" >
424      <string>Commit</string>
425     </property>
426     <addaction name="menu_rescan" />
427     <addaction name="separator" />
428     <addaction name="menu_stage_changed" />
429     <addaction name="menu_stage_untracked" />
430     <addaction name="menu_stage_selected" />
431     <addaction name="separator" />
432     <addaction name="menu_unstage_all" />
433     <addaction name="menu_unstage_selected" />
434     <addaction name="separator" />
435     <addaction name="menu_commit" />
436     <addaction name="separator" />
437     <addaction name="menu_export_patches" />
438     <addaction name="menu_cherry_pick" />
439     <addaction name="separator" />
440     <addaction name="menu_get_prev_commitmsg" />
441     <addaction name="menu_show_diffstat" />
442    </widget>
443    <widget class="QMenu" name="edit_menu" >
444     <property name="title" >
445      <string>Edit</string>
446     </property>
447     <addaction name="menu_undo" />
448     <addaction name="menu_redo" />
449     <addaction name="separator" />
450     <addaction name="menu_cut" />
451     <addaction name="menu_copy" />
452     <addaction name="menu_paste" />
453     <addaction name="menu_delete" />
454     <addaction name="separator" />
455     <addaction name="menu_select_all" />
456     <addaction name="separator" />
457     <addaction name="menu_options" />
458    </widget>
459    <widget class="QMenu" name="file_menu" >
460     <property name="title" >
461      <string>File</string>
462     </property>
463     <addaction name="menu_load_commitmsg" />
464     <addaction name="separator" />
465     <addaction name="menu_quit" />
466    </widget>
467    <widget class="QMenu" name="branch_menu" >
468     <property name="title" >
469      <string>Branch</string>
470     </property>
471     <addaction name="menu_create_branch" />
472     <addaction name="menu_checkout_branch" />
473     <addaction name="menu_rebase_branch" />
474     <addaction name="menu_delete_branch" />
475    </widget>
476    <addaction name="file_menu" />
477    <addaction name="edit_menu" />
478    <addaction name="repository_menu" />
479    <addaction name="branch_menu" />
480    <addaction name="commit_menu" />
481   </widget>
482   <widget class="QToolBar" name="toolbar" >
483    <property name="windowTitle" >
484     <string>toolbar</string>
485    </property>
486    <property name="movable" >
487     <bool>true</bool>
488    </property>
489    <property name="allowedAreas" >
490     <set>Qt::BottomToolBarArea|Qt::NoToolBarArea|Qt::TopToolBarArea</set>
491    </property>
492    <property name="iconSize" >
493     <size>
494      <width>24</width>
495      <height>16</height>
496     </size>
497    </property>
498    <property name="floatable" >
499     <bool>true</bool>
500    </property>
501    <attribute name="toolBarArea" >
502     <enum>BottomToolBarArea</enum>
503    </attribute>
504    <attribute name="toolBarBreak" >
505     <bool>false</bool>
506    </attribute>
507   </widget>
508   <action name="menu_browse_branch" >
509    <property name="text" >
510     <string>Browse Current Branch's Files</string>
511    </property>
512   </action>
513   <action name="menu_browse_other_branch" >
514    <property name="text" >
515     <string>Browse Branch Files</string>
516    </property>
517   </action>
518   <action name="menu_unstage_selected" >
519    <property name="text" >
520     <string>Unstage From Commit</string>
521    </property>
522   </action>
523   <action name="menu_visualize_current" >
524    <property name="text" >
525     <string>Visualize Current Branch's History</string>
526    </property>
527    <property name="shortcut" >
528     <string>Alt+V</string>
529    </property>
530   </action>
531   <action name="menu_visualize_all" >
532    <property name="text" >
533     <string>Visualize All Branch History</string>
534    </property>
535    <property name="shortcut" >
536     <string>Alt+H</string>
537    </property>
538   </action>
539   <action name="menu_show_diffstat" >
540    <property name="text" >
541     <string>Show Diffstat</string>
542    </property>
543    <property name="shortcut" >
544     <string>Ctrl+D</string>
545    </property>
546   </action>
547   <action name="menu_stage_changed" >
548    <property name="text" >
549     <string>Stage Changed Files To Commit</string>
550    </property>
551    <property name="shortcut" >
552     <string>Alt+A</string>
553    </property>
554   </action>
555   <action name="menu_stage_untracked" >
556    <property name="text" >
557     <string>Stage All Untracked</string>
558    </property>
559    <property name="shortcut" >
560     <string>Alt+U</string>
561    </property>
562   </action>
563   <action name="menu_stage_selected" >
564    <property name="text" >
565     <string>Stage Selected</string>
566    </property>
567    <property name="shortcut" >
568     <string>Alt+T</string>
569    </property>
570   </action>
571   <action name="menu_export_patches" >
572    <property name="text" >
573     <string>Export Patches...</string>
574    </property>
575    <property name="shortcut" >
576     <string>Ctrl+E</string>
577    </property>
578   </action>
579   <action name="menu_cut" >
580    <property name="text" >
581     <string>Cut</string>
582    </property>
583    <property name="shortcut" >
584     <string>Ctrl+X</string>
585    </property>
586   </action>
587   <action name="menu_copy" >
588    <property name="text" >
589     <string>Copy</string>
590    </property>
591    <property name="shortcut" >
592     <string>Ctrl+C</string>
593    </property>
594   </action>
595   <action name="menu_paste" >
596    <property name="text" >
597     <string>Paste</string>
598    </property>
599    <property name="shortcut" >
600     <string>Ctrl+V</string>
601    </property>
602   </action>
603   <action name="menu_select_all" >
604    <property name="text" >
605     <string>Select All</string>
606    </property>
607    <property name="shortcut" >
608     <string>Ctrl+A</string>
609    </property>
610   </action>
611   <action name="menu_options" >
612    <property name="text" >
613     <string>Options...</string>
614    </property>
615    <property name="shortcut" >
616     <string>Ctrl+O</string>
617    </property>
618   </action>
619   <action name="menu_delete" >
620    <property name="text" >
621     <string>Delete</string>
622    </property>
623    <property name="shortcut" >
624     <string>Del</string>
625    </property>
626   </action>
627   <action name="menu_undo" >
628    <property name="text" >
629     <string>Undo</string>
630    </property>
631    <property name="shortcut" >
632     <string>Ctrl+Z</string>
633    </property>
634   </action>
635   <action name="menu_redo" >
636    <property name="text" >
637     <string>Redo</string>
638    </property>
639    <property name="shortcut" >
640     <string>Ctrl+Shift+Z</string>
641    </property>
642   </action>
643   <action name="menu_rescan" >
644    <property name="text" >
645     <string>Rescan</string>
646    </property>
647    <property name="shortcut" >
648     <string>Ctrl+R</string>
649    </property>
650   </action>
651   <action name="menu_commit" >
652    <property name="text" >
653     <string>Commit</string>
654    </property>
655    <property name="shortcut" >
656     <string>Alt+S</string>
657    </property>
658   </action>
659   <action name="menu_get_prev_commitmsg" >
660    <property name="text" >
661     <string>Get Latest Commit Message</string>
662    </property>
663   </action>
664   <action name="menu_cherry_pick" >
665    <property name="text" >
666     <string>Cherry-Pick Commits...</string>
667    </property>
668    <property name="shortcut" >
669     <string>Ctrl+P</string>
670    </property>
671   </action>
672   <action name="menu_unstage_all" >
673    <property name="text" >
674     <string>Unstage All</string>
675    </property>
676   </action>
677   <action name="menu_quit" >
678    <property name="text" >
679     <string>Quit</string>
680    </property>
681    <property name="shortcut" >
682     <string>Ctrl+Q</string>
683    </property>
684   </action>
685   <action name="menu_load_commitmsg" >
686    <property name="text" >
687     <string>Load Commit Message...</string>
688    </property>
689   </action>
690   <action name="menu_create_branch" >
691    <property name="text" >
692     <string>Create...</string>
693    </property>
694    <property name="shortcut" >
695     <string>Ctrl+B</string>
696    </property>
697   </action>
698   <action name="menu_checkout_branch" >
699    <property name="text" >
700     <string>Checkout...</string>
701    </property>
702    <property name="shortcut" >
703     <string>Alt+B</string>
704    </property>
705   </action>
706   <action name="menu_rebase_branch" >
707    <property name="text" >
708     <string>Rebase...</string>
709    </property>
710   </action>
711   <action name="menu_rename_branch" >
712    <property name="enabled" >
713     <bool>false</bool>
714    </property>
715    <property name="text" >
716     <string>Rename...</string>
717    </property>
718   </action>
719   <action name="menu_delete_branch" >
720    <property name="text" >
721     <string>Delete...</string>
722    </property>
723   </action>
724   <action name="menu_open" >
725    <property name="text" >
726     <string>Open...</string>
727    </property>
728   </action>
729  </widget>
730  <layoutdefault spacing="2" margin="2" />
731  <tabstops>
732   <tabstop>commit_text</tabstop>
733   <tabstop>staged_list</tabstop>
734   <tabstop>unstaged_list</tabstop>
735   <tabstop>stage_button</tabstop>
736   <tabstop>signoff_button</tabstop>
737   <tabstop>commit_button</tabstop>
738   <tabstop>push_button</tabstop>
739   <tabstop>untracked_checkbox</tabstop>
740   <tabstop>new_commit_radio</tabstop>
741   <tabstop>amend_radio</tabstop>
742   <tabstop>display_text</tabstop>
743  </tabstops>
744  <resources/>
745  <connections>
746   <connection>
747    <sender>menu_quit</sender>
748    <signal>triggered()</signal>
749    <receiver>maingui</receiver>
750    <slot>close()</slot>
751    <hints>
752     <hint type="sourcelabel" >
753      <x>-1</x>
754      <y>-1</y>
755     </hint>
756     <hint type="destinationlabel" >
757      <x>294</x>
758      <y>209</y>
759     </hint>
760    </hints>
761   </connection>
762  </connections>
763  <designerdata>
764   <property name="gridDeltaX" >
765    <number>4</number>
766   </property>
767   <property name="gridDeltaY" >
768    <number>4</number>
769   </property>
770   <property name="gridSnapX" >
771    <bool>true</bool>
772   </property>
773   <property name="gridSnapY" >
774    <bool>true</bool>
775   </property>
776   <property name="gridVisible" >
777    <bool>false</bool>
778   </property>
779  </designerdata>
780 </ui>