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

# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric4/eric4_0/eric4/QScintilla/ZoomDialog.ui'
#
# Created: Sat Mar 24 11:17:15 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,206,76).size()).expandedTo(ZoomDialog.minimumSizeHint()))

        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.zoomLabel = QtGui.QLabel(ZoomDialog)
        self.zoomLabel.setObjectName("zoomLabel")
        self.hboxlayout.addWidget(self.zoomLabel)

        self.zoomSpinBox = QtGui.QSpinBox(ZoomDialog)
        self.zoomSpinBox.setAlignment(QtCore.Qt.AlignRight)
        self.zoomSpinBox.setMaximum(20)
        self.zoomSpinBox.setMinimum(-10)
        self.zoomSpinBox.setProperty("value",QtCore.QVariant(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.zoomLabel.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.zoomLabel.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))
        self.zoomSpinBox.setWhatsThis(QtGui.QApplication.translate("ZoomDialog", "<b>Zoom Factor</b>\n"
        "<p>Enter the desired zoom factor here. The zoom factor\n"
        "may be between -10 and +20 and is the increment that is \n"
        "added to the size of the fonts used in the editor windows.</p>", 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_())
