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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/Graphics/UMLSceneSizeDialog.ui'
#
# Created: Sat Feb 10 11:08:38 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_UMLSceneSizeDialog(object):
    def setupUi(self, UMLSceneSizeDialog):
        UMLSceneSizeDialog.setObjectName("UMLSceneSizeDialog")
        UMLSceneSizeDialog.resize(QtCore.QSize(QtCore.QRect(0,0,314,95).size()).expandedTo(UMLSceneSizeDialog.minimumSizeHint()))
        UMLSceneSizeDialog.setSizeGripEnabled(True)

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

        self.buttonBox = QtGui.QDialogButtonBox(UMLSceneSizeDialog)
        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.textLabel2 = QtGui.QLabel(UMLSceneSizeDialog)
        self.textLabel2.setObjectName("textLabel2")
        self.gridlayout.addWidget(self.textLabel2,1,0,1,1)

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

        self.heightSpinBox = QtGui.QSpinBox(UMLSceneSizeDialog)
        self.heightSpinBox.setMaximum(100000)
        self.heightSpinBox.setMinimum(100)
        self.heightSpinBox.setObjectName("heightSpinBox")
        self.gridlayout.addWidget(self.heightSpinBox,1,1,1,1)

        self.widthSpinBox = QtGui.QSpinBox(UMLSceneSizeDialog)
        self.widthSpinBox.setMaximum(100000)
        self.widthSpinBox.setMinimum(100)
        self.widthSpinBox.setObjectName("widthSpinBox")
        self.gridlayout.addWidget(self.widthSpinBox,0,1,1,1)

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

    def retranslateUi(self, UMLSceneSizeDialog):
        UMLSceneSizeDialog.setWindowTitle(QtGui.QApplication.translate("UMLSceneSizeDialog", "Set Size", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel2.setText(QtGui.QApplication.translate("UMLSceneSizeDialog", "Height (in pixels):", None, QtGui.QApplication.UnicodeUTF8))
        self.textLabel1.setText(QtGui.QApplication.translate("UMLSceneSizeDialog", "Width (in pixels):", None, QtGui.QApplication.UnicodeUTF8))
        self.heightSpinBox.setToolTip(QtGui.QApplication.translate("UMLSceneSizeDialog", "Select the height of the diagram", None, QtGui.QApplication.UnicodeUTF8))
        self.widthSpinBox.setToolTip(QtGui.QApplication.translate("UMLSceneSizeDialog", "Select the width of the diagram", None, QtGui.QApplication.UnicodeUTF8))



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