summaryrefslogtreecommitdiff
path: root/src/plugins/git/stashdialog.ui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-15 12:24:06 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-01-15 12:28:22 +0100
commit9ac98a402c60a803578779efa7e6513e37bce448 (patch)
tree3c412d34b42060a185e3b1c2327dc92cd6c68852 /src/plugins/git/stashdialog.ui
parentcbaa9b9fc064ef4c64a6a0842aa73743c1fa597e (diff)
downloadqt-creator-9ac98a402c60a803578779efa7e6513e37bce448.tar.gz
VCS[git]: Add support for stashes.
Add non-modal stash management dialog and additional menu option "Stash snapshot..." to stash away changes prompting for a description, which will immediately replay the stash (take snapshot and continue working). Add interface to IVersionControl for creating/restoring/deleting snapshots for backup/complex undo operations (currently supported by git only). Add test options to VCSBasePlugin. Clean up and extend git client accordingly.
Diffstat (limited to 'src/plugins/git/stashdialog.ui')
-rw-r--r--src/plugins/git/stashdialog.ui93
1 files changed, 93 insertions, 0 deletions
diff --git a/src/plugins/git/stashdialog.ui b/src/plugins/git/stashdialog.ui
new file mode 100644
index 0000000000..3231755701
--- /dev/null
+++ b/src/plugins/git/stashdialog.ui
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>Git::Internal::StashDialog</class>
+ <widget class="QDialog" name="Git::Internal::StashDialog">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>599</width>
+ <height>485</height>
+ </rect>
+ </property>
+ <property name="windowTitle">
+ <string>Stashes</string>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <item>
+ <widget class="QLabel" name="repositoryLabel">
+ <property name="text">
+ <string notr="true">Repository: Dummy</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Utils::FilterLineEdit" name="filterLineEdit"/>
+ </item>
+ <item>
+ <widget class="QTreeView" name="stashView"/>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Close</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ <customwidgets>
+ <customwidget>
+ <class>Utils::FancyLineEdit</class>
+ <extends>QLineEdit</extends>
+ <header location="global">utils/fancylineedit.h</header>
+ </customwidget>
+ <customwidget>
+ <class>Utils::FilterLineEdit</class>
+ <extends>Utils::FancyLineEdit</extends>
+ <header location="global">utils/filterlineedit.h</header>
+ </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>accepted()</signal>
+ <receiver>Git::Internal::StashDialog</receiver>
+ <slot>accept()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>248</x>
+ <y>254</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>157</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>buttonBox</sender>
+ <signal>rejected()</signal>
+ <receiver>Git::Internal::StashDialog</receiver>
+ <slot>reject()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>316</x>
+ <y>260</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>286</x>
+ <y>274</y>
+ </hint>
+ </hints>
+ </connection>
+ </connections>
+</ui>