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