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

# Form implementation generated from reading ui file 'eric/Plugins/VcsPlugins/vcsSubversion/SvnRevisionSelectionDialog.ui'
#
# Created: Thu Jul  8 14:18:03 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_SvnRevisionSelectionDialog(object):
    def setupUi(self, SvnRevisionSelectionDialog):
        SvnRevisionSelectionDialog.setObjectName("SvnRevisionSelectionDialog")
        SvnRevisionSelectionDialog.resize(339, 519)
        SvnRevisionSelectionDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(SvnRevisionSelectionDialog)
        self.vboxlayout.setObjectName("vboxlayout")
        self.rev1GroupBox = QtGui.QGroupBox(SvnRevisionSelectionDialog)
        self.rev1GroupBox.setObjectName("rev1GroupBox")
        self.gridlayout = QtGui.QGridLayout(self.rev1GroupBox)
        self.gridlayout.setObjectName("gridlayout")
        self.prev1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.prev1Button.setObjectName("prev1Button")
        self.gridlayout.addWidget(self.prev1Button, 6, 0, 1, 1)
        self.committed1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.committed1Button.setObjectName("committed1Button")
        self.gridlayout.addWidget(self.committed1Button, 5, 0, 1, 1)
        self.base1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.base1Button.setObjectName("base1Button")
        self.gridlayout.addWidget(self.base1Button, 4, 0, 1, 1)
        self.head1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.head1Button.setObjectName("head1Button")
        self.gridlayout.addWidget(self.head1Button, 2, 0, 1, 1)
        self.working1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.working1Button.setChecked(True)
        self.working1Button.setObjectName("working1Button")
        self.gridlayout.addWidget(self.working1Button, 3, 0, 1, 1)
        self.number1SpinBox = QtGui.QSpinBox(self.rev1GroupBox)
        self.number1SpinBox.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.number1SpinBox.sizePolicy().hasHeightForWidth())
        self.number1SpinBox.setSizePolicy(sizePolicy)
        self.number1SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number1SpinBox.setMinimum(1)
        self.number1SpinBox.setMaximum(999999999)
        self.number1SpinBox.setObjectName("number1SpinBox")
        self.gridlayout.addWidget(self.number1SpinBox, 0, 1, 1, 1)
        self.time1Edit = QtGui.QTimeEdit(self.rev1GroupBox)
        self.time1Edit.setEnabled(False)
        self.time1Edit.setObjectName("time1Edit")
        self.gridlayout.addWidget(self.time1Edit, 1, 2, 1, 1)
        self.date1Edit = QtGui.QDateEdit(self.rev1GroupBox)
        self.date1Edit.setEnabled(False)
        self.date1Edit.setCalendarPopup(True)
        self.date1Edit.setObjectName("date1Edit")
        self.gridlayout.addWidget(self.date1Edit, 1, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 0, 2, 1, 1)
        self.number1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.number1Button.setObjectName("number1Button")
        self.gridlayout.addWidget(self.number1Button, 0, 0, 1, 1)
        self.date1Button = QtGui.QRadioButton(self.rev1GroupBox)
        self.date1Button.setObjectName("date1Button")
        self.gridlayout.addWidget(self.date1Button, 1, 0, 1, 1)
        self.vboxlayout.addWidget(self.rev1GroupBox)
        self.rev2GroupBox = QtGui.QGroupBox(SvnRevisionSelectionDialog)
        self.rev2GroupBox.setObjectName("rev2GroupBox")
        self.gridlayout1 = QtGui.QGridLayout(self.rev2GroupBox)
        self.gridlayout1.setObjectName("gridlayout1")
        self.prev2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.prev2Button.setObjectName("prev2Button")
        self.gridlayout1.addWidget(self.prev2Button, 6, 0, 1, 1)
        self.committed2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.committed2Button.setObjectName("committed2Button")
        self.gridlayout1.addWidget(self.committed2Button, 5, 0, 1, 1)
        self.base2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.base2Button.setObjectName("base2Button")
        self.gridlayout1.addWidget(self.base2Button, 4, 0, 1, 1)
        self.head2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.head2Button.setChecked(True)
        self.head2Button.setObjectName("head2Button")
        self.gridlayout1.addWidget(self.head2Button, 2, 0, 1, 1)
        self.working2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.working2Button.setObjectName("working2Button")
        self.gridlayout1.addWidget(self.working2Button, 3, 0, 1, 1)
        self.number2SpinBox = QtGui.QSpinBox(self.rev2GroupBox)
        self.number2SpinBox.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.number2SpinBox.sizePolicy().hasHeightForWidth())
        self.number2SpinBox.setSizePolicy(sizePolicy)
        self.number2SpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.number2SpinBox.setMinimum(1)
        self.number2SpinBox.setMaximum(999999999)
        self.number2SpinBox.setObjectName("number2SpinBox")
        self.gridlayout1.addWidget(self.number2SpinBox, 0, 1, 1, 1)
        self.time2Edit = QtGui.QTimeEdit(self.rev2GroupBox)
        self.time2Edit.setEnabled(False)
        self.time2Edit.setObjectName("time2Edit")
        self.gridlayout1.addWidget(self.time2Edit, 1, 2, 1, 1)
        self.date2Edit = QtGui.QDateEdit(self.rev2GroupBox)
        self.date2Edit.setEnabled(False)
        self.date2Edit.setCalendarPopup(True)
        self.date2Edit.setObjectName("date2Edit")
        self.gridlayout1.addWidget(self.date2Edit, 1, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem1, 0, 2, 1, 1)
        self.number2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.number2Button.setObjectName("number2Button")
        self.gridlayout1.addWidget(self.number2Button, 0, 0, 1, 1)
        self.date2Button = QtGui.QRadioButton(self.rev2GroupBox)
        self.date2Button.setObjectName("date2Button")
        self.gridlayout1.addWidget(self.date2Button, 1, 0, 1, 1)
        self.vboxlayout.addWidget(self.rev2GroupBox)
        self.buttonBox = QtGui.QDialogButtonBox(SvnRevisionSelectionDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(SvnRevisionSelectionDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), SvnRevisionSelectionDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), SvnRevisionSelectionDialog.reject)
        QtCore.QObject.connect(self.number1Button, QtCore.SIGNAL("toggled(bool)"), self.number1SpinBox.setEnabled)
        QtCore.QObject.connect(self.date1Button, QtCore.SIGNAL("toggled(bool)"), self.date1Edit.setEnabled)
        QtCore.QObject.connect(self.date1Button, QtCore.SIGNAL("toggled(bool)"), self.time1Edit.setEnabled)
        QtCore.QObject.connect(self.number2Button, QtCore.SIGNAL("toggled(bool)"), self.number2SpinBox.setEnabled)
        QtCore.QObject.connect(self.date2Button, QtCore.SIGNAL("toggled(bool)"), self.date2Edit.setEnabled)
        QtCore.QObject.connect(self.date2Button, QtCore.SIGNAL("toggled(bool)"), self.time2Edit.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(SvnRevisionSelectionDialog)
        SvnRevisionSelectionDialog.setTabOrder(self.number1Button, self.number1SpinBox)
        SvnRevisionSelectionDialog.setTabOrder(self.number1SpinBox, self.date1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.date1Button, self.date1Edit)
        SvnRevisionSelectionDialog.setTabOrder(self.date1Edit, self.time1Edit)
        SvnRevisionSelectionDialog.setTabOrder(self.time1Edit, self.head1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.head1Button, self.working1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.working1Button, self.base1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.base1Button, self.committed1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.committed1Button, self.prev1Button)
        SvnRevisionSelectionDialog.setTabOrder(self.prev1Button, self.number2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.number2Button, self.number2SpinBox)
        SvnRevisionSelectionDialog.setTabOrder(self.number2SpinBox, self.date2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.date2Button, self.date2Edit)
        SvnRevisionSelectionDialog.setTabOrder(self.date2Edit, self.time2Edit)
        SvnRevisionSelectionDialog.setTabOrder(self.time2Edit, self.head2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.head2Button, self.working2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.working2Button, self.base2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.base2Button, self.committed2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.committed2Button, self.prev2Button)
        SvnRevisionSelectionDialog.setTabOrder(self.prev2Button, self.buttonBox)

    def retranslateUi(self, SvnRevisionSelectionDialog):
        SvnRevisionSelectionDialog.setWindowTitle(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Subversion Diff", None, QtGui.QApplication.UnicodeUTF8))
        self.rev1GroupBox.setTitle(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Revision &1", None, QtGui.QApplication.UnicodeUTF8))
        self.prev1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select revision before last commit", None, QtGui.QApplication.UnicodeUTF8))
        self.prev1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "PREV", None, QtGui.QApplication.UnicodeUTF8))
        self.committed1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select last committed revision", None, QtGui.QApplication.UnicodeUTF8))
        self.committed1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "COMMITTED", None, QtGui.QApplication.UnicodeUTF8))
        self.base1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select base revision", None, QtGui.QApplication.UnicodeUTF8))
        self.base1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "BASE", None, QtGui.QApplication.UnicodeUTF8))
        self.head1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select head revision of repository", None, QtGui.QApplication.UnicodeUTF8))
        self.head1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "HEAD", None, QtGui.QApplication.UnicodeUTF8))
        self.working1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select working revision", None, QtGui.QApplication.UnicodeUTF8))
        self.working1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "WORKING", None, QtGui.QApplication.UnicodeUTF8))
        self.number1SpinBox.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter a revision number", None, QtGui.QApplication.UnicodeUTF8))
        self.time1Edit.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter time of revision", None, QtGui.QApplication.UnicodeUTF8))
        self.date1Edit.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter date of revision", None, QtGui.QApplication.UnicodeUTF8))
        self.date1Edit.setDisplayFormat(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "yyyy-MM-dd", None, QtGui.QApplication.UnicodeUTF8))
        self.number1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select to specify a revision by number", None, QtGui.QApplication.UnicodeUTF8))
        self.number1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Number", None, QtGui.QApplication.UnicodeUTF8))
        self.date1Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select to specify a revision by date and time", None, QtGui.QApplication.UnicodeUTF8))
        self.date1Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Date", None, QtGui.QApplication.UnicodeUTF8))
        self.rev2GroupBox.setTitle(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Revision &2", None, QtGui.QApplication.UnicodeUTF8))
        self.prev2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select revision before last commit", None, QtGui.QApplication.UnicodeUTF8))
        self.prev2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "PREV", None, QtGui.QApplication.UnicodeUTF8))
        self.committed2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select last committed revision", None, QtGui.QApplication.UnicodeUTF8))
        self.committed2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "COMMITTED", None, QtGui.QApplication.UnicodeUTF8))
        self.base2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select base revision", None, QtGui.QApplication.UnicodeUTF8))
        self.base2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "BASE", None, QtGui.QApplication.UnicodeUTF8))
        self.head2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select head revision of repository", None, QtGui.QApplication.UnicodeUTF8))
        self.head2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "HEAD", None, QtGui.QApplication.UnicodeUTF8))
        self.working2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select working revision", None, QtGui.QApplication.UnicodeUTF8))
        self.working2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "WORKING", None, QtGui.QApplication.UnicodeUTF8))
        self.number2SpinBox.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter a revision number", None, QtGui.QApplication.UnicodeUTF8))
        self.time2Edit.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter time of revision", None, QtGui.QApplication.UnicodeUTF8))
        self.date2Edit.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Enter date of revision", None, QtGui.QApplication.UnicodeUTF8))
        self.date2Edit.setDisplayFormat(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "yyyy-MM-dd", None, QtGui.QApplication.UnicodeUTF8))
        self.number2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select to specify a revision by number", None, QtGui.QApplication.UnicodeUTF8))
        self.number2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Number", None, QtGui.QApplication.UnicodeUTF8))
        self.date2Button.setToolTip(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Select to specify a revision by date and time", None, QtGui.QApplication.UnicodeUTF8))
        self.date2Button.setText(QtGui.QApplication.translate("SvnRevisionSelectionDialog", "Date", None, QtGui.QApplication.UnicodeUTF8))

