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

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

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

        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setMargin(0)
        self.hboxlayout.setSpacing(6)
        self.hboxlayout.setObjectName("hboxlayout")

        self.label = QtGui.QLabel(ZoomDialog)
        self.label.setObjectName("label")
        self.hboxlayout.addWidget(self.label)

        self.zoomSpinBox = QtGui.QDoubleSpinBox(ZoomDialog)

        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Policy(7),QtGui.QSizePolicy.Policy(0))
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomSpinBox.sizePolicy().hasHeightForWidth())
        self.zoomSpinBox.setSizePolicy(sizePolicy)
        self.zoomSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.zoomSpinBox.setMaximum(1000.0)
        self.zoomSpinBox.setMinimum(0.01)
        self.zoomSpinBox.setProperty("value",QtCore.QVariant(1.0))
        self.zoomSpinBox.setObjectName("zoomSpinBox")
        self.hboxlayout.addWidget(self.zoomSpinBox)
        self.vboxlayout.addLayout(self.hboxlayout)

        self.buttonBox = QtGui.QDialogButtonBox(ZoomDialog)
        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.label.setBuddy(self.zoomSpinBox)

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

    def retranslateUi(self, ZoomDialog):
        ZoomDialog.setWindowTitle(QtGui.QApplication.translate("ZoomDialog", "Zoom", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ZoomDialog", "Zoom &Factor:", None, QtGui.QApplication.UnicodeUTF8))
        self.zoomSpinBox.setToolTip(QtGui.QApplication.translate("ZoomDialog", "Enter zoom factor", None, QtGui.QApplication.UnicodeUTF8))



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