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

# Form implementation generated from reading ui file 'exportImageDialog.ui'
#
# Created: Mon Aug  5 14:03:23 2013
#      by: PyQt4 UI code generator 4.7.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_exportImageDialog(object):
    def setupUi(self, exportImageDialog):
        exportImageDialog.setObjectName("exportImageDialog")
        exportImageDialog.setWindowModality(QtCore.Qt.ApplicationModal)
        exportImageDialog.resize(399, 267)
        exportImageDialog.setModal(True)
        self.labelCurrentWindowSize = QtGui.QLabel(exportImageDialog)
        self.labelCurrentWindowSize.setGeometry(QtCore.QRect(20, 20, 241, 17))
        self.labelCurrentWindowSize.setObjectName("labelCurrentWindowSize")
        self.labelCurrHorzSize = QtGui.QLabel(exportImageDialog)
        self.labelCurrHorzSize.setGeometry(QtCore.QRect(70, 50, 61, 17))
        self.labelCurrHorzSize.setAlignment(QtCore.Qt.AlignCenter)
        self.labelCurrHorzSize.setObjectName("labelCurrHorzSize")
        self.labelCurrVertSize = QtGui.QLabel(exportImageDialog)
        self.labelCurrVertSize.setGeometry(QtCore.QRect(170, 50, 61, 17))
        self.labelCurrVertSize.setAlignment(QtCore.Qt.AlignCenter)
        self.labelCurrVertSize.setObjectName("labelCurrVertSize")
        self.label_x = QtGui.QLabel(exportImageDialog)
        self.label_x.setGeometry(QtCore.QRect(120, 50, 61, 17))
        self.label_x.setAlignment(QtCore.Qt.AlignCenter)
        self.label_x.setObjectName("label_x")
        self.label_pixels = QtGui.QLabel(exportImageDialog)
        self.label_pixels.setGeometry(QtCore.QRect(240, 50, 61, 17))
        self.label_pixels.setAlignment(QtCore.Qt.AlignCenter)
        self.label_pixels.setObjectName("label_pixels")
        self.labelSelectMagnification = QtGui.QLabel(exportImageDialog)
        self.labelSelectMagnification.setGeometry(QtCore.QRect(20, 90, 241, 17))
        self.labelSelectMagnification.setObjectName("labelSelectMagnification")
        self.spinBoxMagnification = QtGui.QSpinBox(exportImageDialog)
        self.spinBoxMagnification.setGeometry(QtCore.QRect(240, 89, 81, 27))
        self.spinBoxMagnification.setFrame(True)
        self.spinBoxMagnification.setKeyboardTracking(False)
        self.spinBoxMagnification.setMinimum(1)
        self.spinBoxMagnification.setMaximum(20)
        self.spinBoxMagnification.setProperty("value", 1)
        self.spinBoxMagnification.setObjectName("spinBoxMagnification")
        self.label_pixels_new = QtGui.QLabel(exportImageDialog)
        self.label_pixels_new.setGeometry(QtCore.QRect(240, 180, 61, 17))
        self.label_pixels_new.setAlignment(QtCore.Qt.AlignCenter)
        self.label_pixels_new.setObjectName("label_pixels_new")
        self.label_x_new = QtGui.QLabel(exportImageDialog)
        self.label_x_new.setGeometry(QtCore.QRect(120, 180, 61, 17))
        self.label_x_new.setAlignment(QtCore.Qt.AlignCenter)
        self.label_x_new.setObjectName("label_x_new")
        self.labelNewHorzSize = QtGui.QLabel(exportImageDialog)
        self.labelNewHorzSize.setGeometry(QtCore.QRect(70, 180, 61, 17))
        self.labelNewHorzSize.setAlignment(QtCore.Qt.AlignCenter)
        self.labelNewHorzSize.setObjectName("labelNewHorzSize")
        self.labelNewVertSize = QtGui.QLabel(exportImageDialog)
        self.labelNewVertSize.setGeometry(QtCore.QRect(170, 180, 61, 17))
        self.labelNewVertSize.setAlignment(QtCore.Qt.AlignCenter)
        self.labelNewVertSize.setObjectName("labelNewVertSize")
        self.labelResultingImage = QtGui.QLabel(exportImageDialog)
        self.labelResultingImage.setGeometry(QtCore.QRect(20, 150, 241, 17))
        self.labelResultingImage.setObjectName("labelResultingImage")
        self.pushButtonOK = QtGui.QPushButton(exportImageDialog)
        self.pushButtonOK.setGeometry(QtCore.QRect(280, 220, 90, 27))
        self.pushButtonOK.setAutoDefault(False)
        self.pushButtonOK.setObjectName("pushButtonOK")
        self.pushButtonCancel = QtGui.QPushButton(exportImageDialog)
        self.pushButtonCancel.setGeometry(QtCore.QRect(110, 220, 90, 27))
        self.pushButtonCancel.setAutoDefault(False)
        self.pushButtonCancel.setObjectName("pushButtonCancel")

        self.retranslateUi(exportImageDialog)
        QtCore.QMetaObject.connectSlotsByName(exportImageDialog)

    def retranslateUi(self, exportImageDialog):
        exportImageDialog.setWindowTitle(QtGui.QApplication.translate("exportImageDialog", "Select size of exported image", None, QtGui.QApplication.UnicodeUTF8))
        self.labelCurrentWindowSize.setText(QtGui.QApplication.translate("exportImageDialog", "Current window size is:", None, QtGui.QApplication.UnicodeUTF8))
        self.labelCurrHorzSize.setText(QtGui.QApplication.translate("exportImageDialog", "200", None, QtGui.QApplication.UnicodeUTF8))
        self.labelCurrVertSize.setText(QtGui.QApplication.translate("exportImageDialog", "200", None, QtGui.QApplication.UnicodeUTF8))
        self.label_x.setText(QtGui.QApplication.translate("exportImageDialog", "x", None, QtGui.QApplication.UnicodeUTF8))
        self.label_pixels.setText(QtGui.QApplication.translate("exportImageDialog", "pixels", None, QtGui.QApplication.UnicodeUTF8))
        self.labelSelectMagnification.setText(QtGui.QApplication.translate("exportImageDialog", "Select magnification factor:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_pixels_new.setText(QtGui.QApplication.translate("exportImageDialog", "pixels", None, QtGui.QApplication.UnicodeUTF8))
        self.label_x_new.setText(QtGui.QApplication.translate("exportImageDialog", "x", None, QtGui.QApplication.UnicodeUTF8))
        self.labelNewHorzSize.setText(QtGui.QApplication.translate("exportImageDialog", "200", None, QtGui.QApplication.UnicodeUTF8))
        self.labelNewVertSize.setText(QtGui.QApplication.translate("exportImageDialog", "200", None, QtGui.QApplication.UnicodeUTF8))
        self.labelResultingImage.setText(QtGui.QApplication.translate("exportImageDialog", "Resulting image will be:", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonOK.setText(QtGui.QApplication.translate("exportImageDialog", "OK", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButtonCancel.setText(QtGui.QApplication.translate("exportImageDialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))


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

