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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/VCS/vcsPySvn/SvnMergeDialog.ui'
#
# Created: Wed Feb 14 19:41:33 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_SvnMergeDialog(object):
    def setupUi(self, SvnMergeDialog):
        SvnMergeDialog.setObjectName("SvnMergeDialog")
        SvnMergeDialog.resize(QtCore.QSize(QtCore.QRect(0,0,456,144).size()).expandedTo(SvnMergeDialog.minimumSizeHint()))
        SvnMergeDialog.setSizeGripEnabled(True)

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

        self.forceCheckBox = QtGui.QCheckBox(SvnMergeDialog)
        self.forceCheckBox.setObjectName("forceCheckBox")
        self.gridlayout.addWidget(self.forceCheckBox,3,0,1,2)

        self.buttonBox = QtGui.QDialogButtonBox(SvnMergeDialog)
        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,4,0,1,2)

        self.textLabel1 = QtGui.QLabel(SvnMergeDialog)
        self.textLabel1.setObjectName("textLabel1")
        self.gridlayout.addWidget(self.textLabel1,2,0,1,1)

        self.targetCombo = QtGui.QComboBox(SvnMergeDialog)
        self.targetCombo.setEditable(True)
        self.targetCombo.setInsertPolicy(QtGui.QComboBox.InsertAtTop)
        self.targetCombo.setAutoCompletion(True)
        self.targetCombo.setDuplicatesEnabled(False)
        self.targetCombo.setObjectName("targetCombo")
        self.gridlayout.addWidget(self.targetCombo,2,1,1,1)

        self.tag2Combo = QtGui.QComboBox(SvnMergeDialog)

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

        self.tag1Combo = QtGui.QComboBox(SvnMergeDialog)

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

        self.TextLabel1_2 = QtGui.QLabel(SvnMergeDialog)
        self.TextLabel1_2.setObjectName("TextLabel1_2")
        self.gridlayout.addWidget(self.TextLabel1_2,1,0,1,1)

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

        self.retranslateUi(SvnMergeDialog)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),SvnMergeDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),SvnMergeDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(SvnMergeDialog)
        SvnMergeDialog.setTabOrder(self.tag1Combo,self.tag2Combo)
        SvnMergeDialog.setTabOrder(self.tag2Combo,self.targetCombo)
        SvnMergeDialog.setTabOrder(self.targetCombo,self.forceCheckBox)
        SvnMergeDialog.setTabOrder(self.forceCheckBox,self.buttonBox)

    def retranslateUi(self, SvnMergeDialog):
        SvnMergeDialog.setWindowTitle(QtGui.QApplication.translate("SvnMergeDialog", "Subversion Merge", None, QtGui.QApplication.UnicodeUTF8))
        self.forceCheckBox.setToolTip(QtGui.QApplication.translate("SvnMergeDialog", "Select to force the merge operation", None, QtGui.QApplication.UnicodeUTF8))
        self.forceCheckBox.setText(QtGui.QApplication.translate("SvnMergeDialog", "Enforce merge", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("SvnMergeDialog", "Target:", None, QtGui.QApplication.UnicodeUTF8))
        self.targetCombo.setToolTip(QtGui.QApplication.translate("SvnMergeDialog", "Enter the target", None, QtGui.QApplication.UnicodeUTF8))
        self.targetCombo.setWhatsThis(QtGui.QApplication.translate("SvnMergeDialog", "<b>Target</b>\n"
        "<p>Enter the target for the merge operation into this field. Leave it empty to\n"
        "get the target URL from the working copy.</p>\n"
        "<p><b>Note:</b> This entry is only needed, if you enter revision numbers above.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.tag2Combo.setToolTip(QtGui.QApplication.translate("SvnMergeDialog", "Enter an URL or a revision number", None, QtGui.QApplication.UnicodeUTF8))
        self.tag2Combo.setWhatsThis(QtGui.QApplication.translate("SvnMergeDialog", "<b>URL/Revision</b>\n"
        "<p>Enter an URL or a revision number to be merged into\n"
        "the working copy.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.tag1Combo.setToolTip(QtGui.QApplication.translate("SvnMergeDialog", "Enter an URL or a revision number", None, QtGui.QApplication.UnicodeUTF8))
        self.tag1Combo.setWhatsThis(QtGui.QApplication.translate("SvnMergeDialog", "<b>URL/Revision</b>\n"
        "<p>Enter an URL or a revision number to be merged into\n"
        "the working copy.</p>", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1_2.setText(QtGui.QApplication.translate("SvnMergeDialog", "2. URL/Revision:", None, QtGui.QApplication.UnicodeUTF8))
        self.TextLabel1.setText(QtGui.QApplication.translate("SvnMergeDialog", "1. URL/Revision:", None, QtGui.QApplication.UnicodeUTF8))



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