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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsPySvn/SvnSwitchDialog.ui'
#
# Created: Sat Feb  3 15:34:20 2007
#      by: PyQt4 UI code generator 4-snapshot-20070125
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_SvnSwitchDialog(object):
    def setupUi(self, SvnSwitchDialog):
        SvnSwitchDialog.setObjectName("SvnSwitchDialog")
        SvnSwitchDialog.resize(QtCore.QSize(QtCore.QRect(0,0,391,139).size()).expandedTo(SvnSwitchDialog.minimumSizeHint()))
        SvnSwitchDialog.setSizeGripEnabled(True)

        self.gridlayout = QtGui.QGridLayout(SvnSwitchDialog)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName("gridlayout")

        self.buttonBox = QtGui.QDialogButtonBox(SvnSwitchDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridlayout.addWidget(self.buttonBox,2,0,1,2)

        self.TextLabel1 = QtGui.QLabel(SvnSwitchDialog)
        self.TextLabel1.setObjectName("TextLabel1")
        self.gridlayout.addWidget(self.TextLabel1,0,0,1,1)

        self.tagCombo = QtGui.QComboBox(SvnSwitchDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tagCombo.sizePolicy().hasHeightForWidth())
        self.tagCombo.setSizePolicy(sizePolicy)
        self.tagCombo.setEditable(True)
        self.tagCombo.setAutoCompletion(True)
        self.tagCombo.setDuplicatesEnabled(False)
        self.tagCombo.setObjectName("tagCombo")
        self.gridlayout.addWidget(self.tagCombo,0,1,1,1)

        self.TagTypeGroup = QtGui.QGroupBox(SvnSwitchDialog)
        self.TagTypeGroup.setObjectName("TagTypeGroup")

        self.vboxlayout = QtGui.QVBoxLayout(self.TagTypeGroup)
        self.vboxlayout.setMargin(6)
        self.vboxlayout.setSpacing(6)
        self.vboxlayout.setObjectName("vboxlayout")

        self.regularButton = QtGui.QRadioButton(self.TagTypeGroup)
        self.regularButton.setChecked(True)
        self.regularButton.setObjectName("regularButton")
        self.vboxlayout.addWidget(self.regularButton)

        self.branchButton = QtGui.QRadioButton(self.TagTypeGroup)
        self.branchButton.setObjectName("branchButton")
        self.vboxlayout.addWidget(self.branchButton)
        self.gridlayout.addWidget(self.TagTypeGroup,1,1,1,1)

        self.retranslateUi(SvnSwitchDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnSwitchDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnSwitchDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SvnSwitchDialog)
        SvnSwitchDialog.setTabOrder(self.tagCombo,self.regularButton)
        SvnSwitchDialog.setTabOrder(self.regularButton,self.branchButton)

    def retranslateUi(self, SvnSwitchDialog):
        SvnSwitchDialog.setWindowTitle(QtGui.QApplication.translate("SvnSwitchDialog", "Subversion Switch", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("SvnSwitchDialog", "Tag Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.tagCombo.setToolTip(QtGui.QApplication.translate("SvnSwitchDialog", "Enter the name of the tag", None, QtGui.QApplication.UnicodeUTF8))
        self.tagCombo.setWhatsThis(QtGui.QApplication.translate("SvnSwitchDialog", "<b>Tag Name</b>\n"
        "<p>Enter the name of the tag to be switched to.\n"
        "In order to switch to the trunk version leave it empty.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TagTypeGroup.setTitle(QtGui.QApplication.translate("SvnSwitchDialog", "Tag Type", None, QtGui.QApplication.UnicodeUTF8))
        self.regularButton.setToolTip(QtGui.QApplication.translate("SvnSwitchDialog", "Select for a regular tag", None, QtGui.QApplication.UnicodeUTF8))
        self.regularButton.setWhatsThis(QtGui.QApplication.translate("SvnSwitchDialog", "<b>Regular Tag</b>\n"
        "<p>Select this entry for a regular tag.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.regularButton.setText(QtGui.QApplication.translate("SvnSwitchDialog", "Regular Tag", None, QtGui.QApplication.UnicodeUTF8))
        self.branchButton.setToolTip(QtGui.QApplication.translate("SvnSwitchDialog", "Select for a branch tag", None, QtGui.QApplication.UnicodeUTF8))
        self.branchButton.setWhatsThis(QtGui.QApplication.translate("SvnSwitchDialog", "<b>Branch Tag</b>\n"
        "<p>Select this entry for a branch tag.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.branchButton.setText(QtGui.QApplication.translate("SvnSwitchDialog", "Branch Tag", None, QtGui.QApplication.UnicodeUTF8))



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