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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/Wizards/PyRegExpWizard/PyRegExpWizardRepeatDialog.ui'
#
# Created: Sat Feb  3 15:33:28 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_PyRegExpWizardRepeatDialog(object):
    def setupUi(self, PyRegExpWizardRepeatDialog):
        PyRegExpWizardRepeatDialog.setObjectName("PyRegExpWizardRepeatDialog")
        PyRegExpWizardRepeatDialog.resize(QtCore.QSize(QtCore.QRect(0,0,331,212).size()).expandedTo(PyRegExpWizardRepeatDialog.minimumSizeHint()))
        PyRegExpWizardRepeatDialog.setSizeGripEnabled(True)

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

        self.groupBox = QtGui.QGroupBox(PyRegExpWizardRepeatDialog)
        self.groupBox.setFlat(True)
        self.groupBox.setObjectName("groupBox")

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

        self.textLabel1_6 = QtGui.QLabel(self.groupBox)
        self.textLabel1_6.setObjectName("textLabel1_6")
        self.gridlayout.addWidget(self.textLabel1_6,2,2,1,1)

        self.textLabel1_7 = QtGui.QLabel(self.groupBox)
        self.textLabel1_7.setObjectName("textLabel1_7")
        self.gridlayout.addWidget(self.textLabel1_7,3,2,1,1)

        self.textLabel1_5 = QtGui.QLabel(self.groupBox)
        self.textLabel1_5.setObjectName("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",QtCore.QVariant(1))
        self.lowerSpin.setObjectName("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",QtCore.QVariant(1))
        self.upperSpin.setObjectName("upperSpin")
        self.gridlayout.addWidget(self.upperSpin,4,3,1,1)

        self.textLabel6 = QtGui.QLabel(self.groupBox)
        self.textLabel6.setObjectName("textLabel6")
        self.gridlayout.addWidget(self.textLabel6,4,2,1,1)

        self.betweenButton = QtGui.QRadioButton(self.groupBox)
        self.betweenButton.setObjectName("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",QtCore.QVariant(1))
        self.exactSpin.setObjectName("exactSpin")
        self.gridlayout.addWidget(self.exactSpin,3,1,1,1)

        self.exactButton = QtGui.QRadioButton(self.groupBox)
        self.exactButton.setObjectName("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",QtCore.QVariant(1))
        self.maxSpin.setObjectName("maxSpin")
        self.gridlayout.addWidget(self.maxSpin,2,1,1,1)

        self.maxButton = QtGui.QRadioButton(self.groupBox)
        self.maxButton.setObjectName("maxButton")
        self.gridlayout.addWidget(self.maxButton,2,0,1,1)

        self.minButton = QtGui.QRadioButton(self.groupBox)
        self.minButton.setObjectName("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",QtCore.QVariant(1))
        self.minSpin.setObjectName("minSpin")
        self.gridlayout.addWidget(self.minSpin,1,1,1,1)

        self.unlimitedButton = QtGui.QRadioButton(self.groupBox)
        self.unlimitedButton.setObjectName("unlimitedButton")
        self.gridlayout.addWidget(self.unlimitedButton,0,0,1,4)
        self.vboxlayout.addWidget(self.groupBox)

        self.minimalCheckBox = QtGui.QCheckBox(PyRegExpWizardRepeatDialog)
        self.minimalCheckBox.setObjectName("minimalCheckBox")
        self.vboxlayout.addWidget(self.minimalCheckBox)

        self.buttonBox = QtGui.QDialogButtonBox(PyRegExpWizardRepeatDialog)
        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(PyRegExpWizardRepeatDialog)
        QtCore.QObject.connect(self.minButton,QtCore.SIGNAL("toggled(bool)"),self.minSpin.setEnabled)
        QtCore.QObject.connect(self.maxButton,QtCore.SIGNAL("toggled(bool)"),self.maxSpin.setEnabled)
        QtCore.QObject.connect(self.exactButton,QtCore.SIGNAL("toggled(bool)"),self.exactSpin.setEnabled)
        QtCore.QObject.connect(self.betweenButton,QtCore.SIGNAL("toggled(bool)"),self.lowerSpin.setEnabled)
        QtCore.QObject.connect(self.betweenButton,QtCore.SIGNAL("toggled(bool)"),self.upperSpin.setEnabled)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),PyRegExpWizardRepeatDialog.accept)
        QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),PyRegExpWizardRepeatDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PyRegExpWizardRepeatDialog)
        PyRegExpWizardRepeatDialog.setTabOrder(self.unlimitedButton,self.minButton)
        PyRegExpWizardRepeatDialog.setTabOrder(self.minButton,self.minSpin)
        PyRegExpWizardRepeatDialog.setTabOrder(self.minSpin,self.maxButton)
        PyRegExpWizardRepeatDialog.setTabOrder(self.maxButton,self.maxSpin)
        PyRegExpWizardRepeatDialog.setTabOrder(self.maxSpin,self.exactButton)
        PyRegExpWizardRepeatDialog.setTabOrder(self.exactButton,self.exactSpin)
        PyRegExpWizardRepeatDialog.setTabOrder(self.exactSpin,self.betweenButton)
        PyRegExpWizardRepeatDialog.setTabOrder(self.betweenButton,self.lowerSpin)
        PyRegExpWizardRepeatDialog.setTabOrder(self.lowerSpin,self.upperSpin)
        PyRegExpWizardRepeatDialog.setTabOrder(self.upperSpin,self.minimalCheckBox)

    def retranslateUi(self, PyRegExpWizardRepeatDialog):
        PyRegExpWizardRepeatDialog.setWindowTitle(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Number of repetitions", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_6.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "times", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_7.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "times", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1_5.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "times", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel6.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "and", None, QtGui.QApplication.UnicodeUTF8))
        self.betweenButton.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Between", None, QtGui.QApplication.UnicodeUTF8))
        self.exactButton.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Exactly", None, QtGui.QApplication.UnicodeUTF8))
        self.maxButton.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Maximum", None, QtGui.QApplication.UnicodeUTF8))
        self.minButton.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Minimum", None, QtGui.QApplication.UnicodeUTF8))
        self.unlimitedButton.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Unlimited (incl. zero times)", None, QtGui.QApplication.UnicodeUTF8))
        self.minimalCheckBox.setText(QtGui.QApplication.translate("PyRegExpWizardRepeatDialog", "Minimal match", None, QtGui.QApplication.UnicodeUTF8))



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