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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsCVS/CvsSwitchDialog.ui'
#
# Created: Sat Feb  3 15:34:11 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_CvsSwitchDialog(object):
    def setupUi(self, CvsSwitchDialog):
        CvsSwitchDialog.setObjectName("CvsSwitchDialog")
        CvsSwitchDialog.resize(QtCore.QSize(QtCore.QRect(0,0,391,69).size()).expandedTo(CvsSwitchDialog.minimumSizeHint()))
        CvsSwitchDialog.setSizeGripEnabled(True)

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

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

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

        self.tagCombo = QtGui.QComboBox(CvsSwitchDialog)

        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.vboxlayout.addLayout(self.gridlayout)

        self.buttonBox = QtGui.QDialogButtonBox(CvsSwitchDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.NoButton|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.vboxlayout.addWidget(self.buttonBox)

        self.retranslateUi(CvsSwitchDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),CvsSwitchDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),CvsSwitchDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CvsSwitchDialog)

    def retranslateUi(self, CvsSwitchDialog):
        CvsSwitchDialog.setWindowTitle(QtGui.QApplication.translate("CvsSwitchDialog", "CVS Switch", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("CvsSwitchDialog", "Tag Name:", None, QtGui.QApplication.UnicodeUTF8))
        self.tagCombo.setToolTip(QtGui.QApplication.translate("CvsSwitchDialog", "Enter the name of the tag", None, QtGui.QApplication.UnicodeUTF8))
        self.tagCombo.setWhatsThis(QtGui.QApplication.translate("CvsSwitchDialog", "<b>Tag Name</b>\n"
        "<p>Enter the name of the tag to be switched to.\n"
        "In order to switch to the head version leave it empty.</p>", None, QtGui.QApplication.UnicodeUTF8))



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