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

# Form implementation generated from reading ui file 'eric/E5Gui/E5ZoomWidget.ui'
#
# Created: Thu Mar  5 17:05:29 2015
#      by: PyQt4 UI code generator 4.11.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_E5ZoomWidget(object):
    def setupUi(self, E5ZoomWidget):
        E5ZoomWidget.setObjectName(_fromUtf8("E5ZoomWidget"))
        E5ZoomWidget.resize(242, 21)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(E5ZoomWidget.sizePolicy().hasHeightForWidth())
        E5ZoomWidget.setSizePolicy(sizePolicy)
        self.horizontalLayout = QtGui.QHBoxLayout(E5ZoomWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.valueLabel = QtGui.QLabel(E5ZoomWidget)
        self.valueLabel.setMinimumSize(QtCore.QSize(0, 16))
        self.valueLabel.setMaximumSize(QtCore.QSize(16777215, 16))
        self.valueLabel.setText(_fromUtf8("0"))
        self.valueLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.valueLabel.setObjectName(_fromUtf8("valueLabel"))
        self.horizontalLayout.addWidget(self.valueLabel)
        self.zoomOutLabel = E5ClickableLabel(E5ZoomWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomOutLabel.sizePolicy().hasHeightForWidth())
        self.zoomOutLabel.setSizePolicy(sizePolicy)
        self.zoomOutLabel.setMinimumSize(QtCore.QSize(16, 16))
        self.zoomOutLabel.setMaximumSize(QtCore.QSize(16, 16))
        self.zoomOutLabel.setObjectName(_fromUtf8("zoomOutLabel"))
        self.horizontalLayout.addWidget(self.zoomOutLabel)
        self.slider = QtGui.QSlider(E5ZoomWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.slider.sizePolicy().hasHeightForWidth())
        self.slider.setSizePolicy(sizePolicy)
        self.slider.setMinimumSize(QtCore.QSize(160, 16))
        self.slider.setMaximumSize(QtCore.QSize(160, 16))
        self.slider.setFocusPolicy(QtCore.Qt.NoFocus)
        self.slider.setMinimum(-10)
        self.slider.setMaximum(20)
        self.slider.setOrientation(QtCore.Qt.Horizontal)
        self.slider.setTickPosition(QtGui.QSlider.NoTicks)
        self.slider.setObjectName(_fromUtf8("slider"))
        self.horizontalLayout.addWidget(self.slider)
        self.zoomInLabel = E5ClickableLabel(E5ZoomWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomInLabel.sizePolicy().hasHeightForWidth())
        self.zoomInLabel.setSizePolicy(sizePolicy)
        self.zoomInLabel.setMinimumSize(QtCore.QSize(16, 16))
        self.zoomInLabel.setMaximumSize(QtCore.QSize(16, 16))
        self.zoomInLabel.setObjectName(_fromUtf8("zoomInLabel"))
        self.horizontalLayout.addWidget(self.zoomInLabel)
        self.zoomResetLabel = E5ClickableLabel(E5ZoomWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.zoomResetLabel.sizePolicy().hasHeightForWidth())
        self.zoomResetLabel.setSizePolicy(sizePolicy)
        self.zoomResetLabel.setMinimumSize(QtCore.QSize(16, 16))
        self.zoomResetLabel.setMaximumSize(QtCore.QSize(16, 16))
        self.zoomResetLabel.setObjectName(_fromUtf8("zoomResetLabel"))
        self.horizontalLayout.addWidget(self.zoomResetLabel)

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

    def retranslateUi(self, E5ZoomWidget):
        self.zoomOutLabel.setToolTip(_translate("E5ZoomWidget", "Zoom out", None))
        self.slider.setToolTip(_translate("E5ZoomWidget", "Drag to zoom", None))
        self.zoomInLabel.setToolTip(_translate("E5ZoomWidget", "Zoom in", None))
        self.zoomResetLabel.setToolTip(_translate("E5ZoomWidget", "Zoom reset", None))

from E5Gui.E5ClickableLabel import E5ClickableLabel
