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

# Form implementation generated from reading ui file 'eric/Graphics/ZoomDialog.ui'
#
# Created: Wed Apr 10 20:18:36 2013
#      by: PyQt4 UI code generator 4.9.1
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_ZoomDialog(object):
    def setupUi(self, ZoomDialog):
        ZoomDialog.setObjectName(_fromUtf8("ZoomDialog"))
        ZoomDialog.resize(271, 77)
        ZoomDialog.setSizeGripEnabled(True)
        self.vboxlayout = QtGui.QVBoxLayout(ZoomDialog)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName(_fromUtf8("hboxlayout"))
        self.label = QtGui.QLabel(ZoomDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.hboxlayout.addWidget(self.label)
        self.zoomSpinBox = QtGui.QDoubleSpinBox(ZoomDialog)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomSpinBox.sizePolicy().hasHeightForWidth())
        self.zoomSpinBox.setSizePolicy(sizePolicy)
        self.zoomSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.zoomSpinBox.setMinimum(0.01)
        self.zoomSpinBox.setMaximum(1000.0)
        self.zoomSpinBox.setProperty("value", 1.0)
        self.zoomSpinBox.setObjectName(_fromUtf8("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.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.vboxlayout.addWidget(self.buttonBox)
        self.label.setBuddy(self.zoomSpinBox)

        self.retranslateUi(ZoomDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ZoomDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("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))

