# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'ui/stash.ui'
#
# Created: Sat Aug 21 13:37:56 2010
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_stash(object):
    def setupUi(self, stash):
        stash.setObjectName("stash")
        stash.resize(497, 292)
        self.gridLayout = QtGui.QGridLayout(stash)
        self.gridLayout.setObjectName("gridLayout")
        self.stash_list = QtGui.QListWidget(stash)
        self.stash_list.setObjectName("stash_list")
        self.gridLayout.addWidget(self.stash_list, 0, 0, 1, 4)
        self.button_stash_show = QtGui.QPushButton(stash)
        self.button_stash_show.setObjectName("button_stash_show")
        self.gridLayout.addWidget(self.button_stash_show, 1, 0, 1, 1)
        self.button_stash_apply = QtGui.QPushButton(stash)
        self.button_stash_apply.setObjectName("button_stash_apply")
        self.gridLayout.addWidget(self.button_stash_apply, 1, 1, 1, 1)
        self.button_stash_save = QtGui.QPushButton(stash)
        self.button_stash_save.setObjectName("button_stash_save")
        self.gridLayout.addWidget(self.button_stash_save, 1, 2, 1, 1)
        self.button_stash_drop = QtGui.QPushButton(stash)
        self.button_stash_drop.setObjectName("button_stash_drop")
        self.gridLayout.addWidget(self.button_stash_drop, 4, 0, 1, 1)
        self.button_stash_clear = QtGui.QPushButton(stash)
        self.button_stash_clear.setObjectName("button_stash_clear")
        self.gridLayout.addWidget(self.button_stash_clear, 4, 1, 1, 1)
        self.button_stash_done = QtGui.QPushButton(stash)
        self.button_stash_done.setObjectName("button_stash_done")
        self.gridLayout.addWidget(self.button_stash_done, 4, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(221, 24, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 4, 3, 1, 1)
        self.keep_index = QtGui.QCheckBox(stash)
        self.keep_index.setChecked(True)
        self.keep_index.setObjectName("keep_index")
        self.gridLayout.addWidget(self.keep_index, 1, 3, 1, 1)

        self.retranslateUi(stash)
        QtCore.QObject.connect(self.button_stash_done, QtCore.SIGNAL("clicked()"), stash.accept)
        QtCore.QMetaObject.connectSlotsByName(stash)
        stash.setTabOrder(self.button_stash_save, self.button_stash_show)
        stash.setTabOrder(self.button_stash_show, self.button_stash_apply)
        stash.setTabOrder(self.button_stash_apply, self.button_stash_drop)
        stash.setTabOrder(self.button_stash_drop, self.button_stash_clear)

    def retranslateUi(self, stash):
        stash.setWindowTitle(QtGui.QApplication.translate("stash", "Stash", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_show.setToolTip(QtGui.QApplication.translate("stash", "Show the changes recorded in the selected stash stash as a diff", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_show.setText(QtGui.QApplication.translate("stash", "Show", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_apply.setToolTip(QtGui.QApplication.translate("stash", "Apply the selected stash", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_apply.setText(QtGui.QApplication.translate("stash", "Apply", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_save.setText(QtGui.QApplication.translate("stash", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_drop.setToolTip(QtGui.QApplication.translate("stash", "Remove the selected stash", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_drop.setText(QtGui.QApplication.translate("stash", "Remove", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_clear.setToolTip(QtGui.QApplication.translate("stash", "Remove all stashed states", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_clear.setText(QtGui.QApplication.translate("stash", "Remove All", None, QtGui.QApplication.UnicodeUTF8))
        self.button_stash_done.setText(QtGui.QApplication.translate("stash", "Done", None, QtGui.QApplication.UnicodeUTF8))
        self.keep_index.setText(QtGui.QApplication.translate("stash", "Keep Index", None, QtGui.QApplication.UnicodeUTF8))


if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    stash = QtGui.QDialog()
    ui = Ui_stash()
    ui.setupUi(stash)
    stash.show()
    sys.exit(app.exec_())

