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

# Form implementation generated from reading ui file 'eric/Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardRepeatDialog.ui'
#
# Created by: PyQt4 UI code generator 4.11.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_QRegularExpressionWizardRepeatDialog(object):
    def setupUi(self, QRegularExpressionWizardRepeatDialog):
        QRegularExpressionWizardRepeatDialog.setObjectName(_fromUtf8("QRegularExpressionWizardRepeatDialog"))
        QRegularExpressionWizardRepeatDialog.resize(331, 370)
        QRegularExpressionWizardRepeatDialog.setSizeGripEnabled(True)
        self.verticalLayout = QtGui.QVBoxLayout(QRegularExpressionWizardRepeatDialog)
        self.verticalLayout.setMargin(6)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.groupBox = QtGui.QGroupBox(QRegularExpressionWizardRepeatDialog)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.gridlayout = QtGui.QGridLayout(self.groupBox)
        self.gridlayout.setMargin(6)
        self.gridlayout.setSpacing(6)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.textLabel1_6 = QtGui.QLabel(self.groupBox)
        self.textLabel1_6.setObjectName(_fromUtf8("textLabel1_6"))
        self.gridlayout.addWidget(self.textLabel1_6, 2, 2, 1, 1)
        self.textLabel1_7 = QtGui.QLabel(self.groupBox)
        self.textLabel1_7.setObjectName(_fromUtf8("textLabel1_7"))
        self.gridlayout.addWidget(self.textLabel1_7, 3, 2, 1, 1)
        self.textLabel1_5 = QtGui.QLabel(self.groupBox)
        self.textLabel1_5.setObjectName(_fromUtf8("textLabel1_5"))
        self.gridlayout.addWidget(self.textLabel1_5, 1, 2, 1, 1)
        self.lowerSpin = QtGui.QSpinBox(self.groupBox)
        self.lowerSpin.setEnabled(False)
        self.lowerSpin.setAlignment(QtCore.Qt.AlignRight)
        self.lowerSpin.setProperty("value", 1)
        self.lowerSpin.setObjectName(_fromUtf8("lowerSpin"))
        self.gridlayout.addWidget(self.lowerSpin, 4, 1, 1, 1)
        self.upperSpin = QtGui.QSpinBox(self.groupBox)
        self.upperSpin.setEnabled(False)
        self.upperSpin.setAlignment(QtCore.Qt.AlignRight)
        self.upperSpin.setProperty("value", 1)
        self.upperSpin.setObjectName(_fromUtf8("upperSpin"))
        self.gridlayout.addWidget(self.upperSpin, 4, 3, 1, 1)
        self.textLabel6 = QtGui.QLabel(self.groupBox)
        self.textLabel6.setObjectName(_fromUtf8("textLabel6"))
        self.gridlayout.addWidget(self.textLabel6, 4, 2, 1, 1)
        self.betweenButton = QtGui.QRadioButton(self.groupBox)
        self.betweenButton.setObjectName(_fromUtf8("betweenButton"))
        self.gridlayout.addWidget(self.betweenButton, 4, 0, 1, 1)
        self.exactSpin = QtGui.QSpinBox(self.groupBox)
        self.exactSpin.setEnabled(False)
        self.exactSpin.setAlignment(QtCore.Qt.AlignRight)
        self.exactSpin.setProperty("value", 1)
        self.exactSpin.setObjectName(_fromUtf8("exactSpin"))
        self.gridlayout.addWidget(self.exactSpin, 3, 1, 1, 1)
        self.exactButton = QtGui.QRadioButton(self.groupBox)
        self.exactButton.setObjectName(_fromUtf8("exactButton"))
        self.gridlayout.addWidget(self.exactButton, 3, 0, 1, 1)
        self.maxSpin = QtGui.QSpinBox(self.groupBox)
        self.maxSpin.setEnabled(False)
        self.maxSpin.setAlignment(QtCore.Qt.AlignRight)
        self.maxSpin.setProperty("value", 1)
        self.maxSpin.setObjectName(_fromUtf8("maxSpin"))
        self.gridlayout.addWidget(self.maxSpin, 2, 1, 1, 1)
        self.maxButton = QtGui.QRadioButton(self.groupBox)
        self.maxButton.setObjectName(_fromUtf8("maxButton"))
        self.gridlayout.addWidget(self.maxButton, 2, 0, 1, 1)
        self.minButton = QtGui.QRadioButton(self.groupBox)
        self.minButton.setObjectName(_fromUtf8("minButton"))
        self.gridlayout.addWidget(self.minButton, 1, 0, 1, 1)
        self.minSpin = QtGui.QSpinBox(self.groupBox)
        self.minSpin.setEnabled(False)
        self.minSpin.setAlignment(QtCore.Qt.AlignRight)
        self.minSpin.setProperty("value", 1)
        self.minSpin.setObjectName(_fromUtf8("minSpin"))
        self.gridlayout.addWidget(self.minSpin, 1, 1, 1, 1)
        self.unlimitedButton = QtGui.QRadioButton(self.groupBox)
        self.unlimitedButton.setObjectName(_fromUtf8("unlimitedButton"))
        self.gridlayout.addWidget(self.unlimitedButton, 0, 0, 1, 4)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtGui.QGroupBox(QRegularExpressionWizardRepeatDialog)
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setMargin(6)
        self.verticalLayout_2.setSpacing(6)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.greedyButton = QtGui.QRadioButton(self.groupBox_2)
        self.greedyButton.setObjectName(_fromUtf8("greedyButton"))
        self.verticalLayout_2.addWidget(self.greedyButton)
        self.possessiveButton = QtGui.QRadioButton(self.groupBox_2)
        self.possessiveButton.setObjectName(_fromUtf8("possessiveButton"))
        self.verticalLayout_2.addWidget(self.possessiveButton)
        self.lazyButton = QtGui.QRadioButton(self.groupBox_2)
        self.lazyButton.setObjectName(_fromUtf8("lazyButton"))
        self.verticalLayout_2.addWidget(self.lazyButton)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.buttonBox = QtGui.QDialogButtonBox(QRegularExpressionWizardRepeatDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(QRegularExpressionWizardRepeatDialog)
        QtCore.QObject.connect(self.minButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.minSpin.setEnabled)
        QtCore.QObject.connect(self.maxButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.maxSpin.setEnabled)
        QtCore.QObject.connect(self.exactButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.exactSpin.setEnabled)
        QtCore.QObject.connect(self.betweenButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lowerSpin.setEnabled)
        QtCore.QObject.connect(self.betweenButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.upperSpin.setEnabled)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), QRegularExpressionWizardRepeatDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), QRegularExpressionWizardRepeatDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(QRegularExpressionWizardRepeatDialog)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.unlimitedButton, self.minButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.minButton, self.minSpin)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.minSpin, self.maxButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.maxButton, self.maxSpin)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.maxSpin, self.exactButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.exactButton, self.exactSpin)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.exactSpin, self.betweenButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.betweenButton, self.lowerSpin)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.lowerSpin, self.upperSpin)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.upperSpin, self.greedyButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.greedyButton, self.possessiveButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.possessiveButton, self.lazyButton)
        QRegularExpressionWizardRepeatDialog.setTabOrder(self.lazyButton, self.buttonBox)

    def retranslateUi(self, QRegularExpressionWizardRepeatDialog):
        QRegularExpressionWizardRepeatDialog.setWindowTitle(_translate("QRegularExpressionWizardRepeatDialog", "Number of repetitions", None))
        self.groupBox.setTitle(_translate("QRegularExpressionWizardRepeatDialog", "Quantifier", None))
        self.textLabel1_6.setText(_translate("QRegularExpressionWizardRepeatDialog", "times", None))
        self.textLabel1_7.setText(_translate("QRegularExpressionWizardRepeatDialog", "times", None))
        self.textLabel1_5.setText(_translate("QRegularExpressionWizardRepeatDialog", "times", None))
        self.textLabel6.setText(_translate("QRegularExpressionWizardRepeatDialog", "and", None))
        self.betweenButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Between", None))
        self.exactButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Exactly", None))
        self.maxButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Maximum", None))
        self.minButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Minimum", None))
        self.unlimitedButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Unlimited (incl. zero times)", None))
        self.groupBox_2.setTitle(_translate("QRegularExpressionWizardRepeatDialog", "Greediness", None))
        self.greedyButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Greedy", None))
        self.possessiveButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Possessive", None))
        self.lazyButton.setText(_translate("QRegularExpressionWizardRepeatDialog", "Lazy", None))

