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

# Form implementation generated from reading ui file 'eric/IconEditor/IconSizeDialog.ui'
#
# Created: Thu Jul  8 14:17:36 2010
#      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_IconSizeDialog(object):
    def setupUi(self, IconSizeDialog):
        IconSizeDialog.setObjectName("IconSizeDialog")
        IconSizeDialog.resize(232, 78)
        IconSizeDialog.setSizeGripEnabled(True)
        self.gridLayout = QtGui.QGridLayout(IconSizeDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtGui.QLabel(IconSizeDialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.widthSpin = QtGui.QSpinBox(IconSizeDialog)
        self.widthSpin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.widthSpin.setMinimum(1)
        self.widthSpin.setMaximum(256)
        self.widthSpin.setProperty("value", 32)
        self.widthSpin.setObjectName("widthSpin")
        self.gridLayout.addWidget(self.widthSpin, 0, 1, 1, 1)
        self.label_2 = QtGui.QLabel(IconSizeDialog)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 2, 1, 1)
        self.heightSpin = QtGui.QSpinBox(IconSizeDialog)
        self.heightSpin.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.heightSpin.setMinimum(1)
        self.heightSpin.setMaximum(256)
        self.heightSpin.setProperty("value", 32)
        self.heightSpin.setObjectName("heightSpin")
        self.gridLayout.addWidget(self.heightSpin, 0, 3, 1, 1)
        spacerItem = QtGui.QSpacerItem(42, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridLayout.addItem(spacerItem, 0, 4, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(IconSizeDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 5)

        self.retranslateUi(IconSizeDialog)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), IconSizeDialog.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), IconSizeDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(IconSizeDialog)
        IconSizeDialog.setTabOrder(self.widthSpin, self.heightSpin)
        IconSizeDialog.setTabOrder(self.heightSpin, self.buttonBox)

    def retranslateUi(self, IconSizeDialog):
        IconSizeDialog.setWindowTitle(QtGui.QApplication.translate("IconSizeDialog", "Icon Size", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("IconSizeDialog", "Size:", None, QtGui.QApplication.UnicodeUTF8))
        self.widthSpin.setToolTip(QtGui.QApplication.translate("IconSizeDialog", "Enter the width of the icon", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("IconSizeDialog", "X", None, QtGui.QApplication.UnicodeUTF8))
        self.heightSpin.setToolTip(QtGui.QApplication.translate("IconSizeDialog", "Enter the height of the icon", None, QtGui.QApplication.UnicodeUTF8))

