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

# Form implementation generated from reading ui file '/home/rius/datos/Programacion/Python/ESA_Megafiltros/svn/megafilters/trunk/dbplot_scaling.ui'
#
# Created: Fri Nov 12 13:13:05 2010
#      by: PyQt4 UI code generator 4.7.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_scaling_Dialog(object):
    def setupUi(self, scaling_Dialog):
        scaling_Dialog.setObjectName("scaling_Dialog")
        scaling_Dialog.resize(530, 154)
        self.verticalLayout_2 = QtGui.QVBoxLayout(scaling_Dialog)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName("gridLayout_4")
        self.label = QtGui.QLabel(scaling_Dialog)
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label.setObjectName("label")
        self.gridLayout_4.addWidget(self.label, 0, 0, 1, 1)
        self.label_7 = QtGui.QLabel(scaling_Dialog)
        self.label_7.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_7.setObjectName("label_7")
        self.gridLayout_4.addWidget(self.label_7, 0, 1, 1, 1)
        self.label_4 = QtGui.QLabel(scaling_Dialog)
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName("label_4")
        self.gridLayout_4.addWidget(self.label_4, 0, 2, 1, 1)
        self.leftY_groupBox = QtGui.QGroupBox(scaling_Dialog)
        self.leftY_groupBox.setCheckable(True)
        self.leftY_groupBox.setObjectName("leftY_groupBox")
        self.verticalLayout = QtGui.QVBoxLayout(self.leftY_groupBox)
        self.verticalLayout.setObjectName("verticalLayout")
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label_2 = QtGui.QLabel(self.leftY_groupBox)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
        self.leftYmax_Counter = QwtCounter(self.leftY_groupBox)
        self.leftYmax_Counter.setObjectName("leftYmax_Counter")
        self.gridLayout.addWidget(self.leftYmax_Counter, 0, 1, 1, 1)
        self.label_3 = QtGui.QLabel(self.leftY_groupBox)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.leftYmin_Counter = QwtCounter(self.leftY_groupBox)
        self.leftYmin_Counter.setObjectName("leftYmin_Counter")
        self.gridLayout.addWidget(self.leftYmin_Counter, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.gridLayout_4.addWidget(self.leftY_groupBox, 1, 0, 1, 1)
        self.X_groupBox = QtGui.QGroupBox(scaling_Dialog)
        self.X_groupBox.setCheckable(True)
        self.X_groupBox.setObjectName("X_groupBox")
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.X_groupBox)
        self.verticalLayout_6.setObjectName("verticalLayout_6")
        self.gridLayout_3 = QtGui.QGridLayout()
        self.gridLayout_3.setObjectName("gridLayout_3")
        self.label_8 = QtGui.QLabel(self.X_groupBox)
        self.label_8.setObjectName("label_8")
        self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 1)
        self.Xmax_Counter = QwtCounter(self.X_groupBox)
        self.Xmax_Counter.setObjectName("Xmax_Counter")
        self.gridLayout_3.addWidget(self.Xmax_Counter, 0, 1, 1, 1)
        self.label_9 = QtGui.QLabel(self.X_groupBox)
        self.label_9.setObjectName("label_9")
        self.gridLayout_3.addWidget(self.label_9, 1, 0, 1, 1)
        self.Xmin_Counter = QwtCounter(self.X_groupBox)
        self.Xmin_Counter.setObjectName("Xmin_Counter")
        self.gridLayout_3.addWidget(self.Xmin_Counter, 1, 1, 1, 1)
        self.verticalLayout_6.addLayout(self.gridLayout_3)
        self.gridLayout_4.addWidget(self.X_groupBox, 1, 1, 1, 1)
        self.rightY_groupBox = QtGui.QGroupBox(scaling_Dialog)
        self.rightY_groupBox.setCheckable(True)
        self.rightY_groupBox.setObjectName("rightY_groupBox")
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.rightY_groupBox)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_5 = QtGui.QLabel(self.rightY_groupBox)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.rightYmax_Counter = QwtCounter(self.rightY_groupBox)
        self.rightYmax_Counter.setObjectName("rightYmax_Counter")
        self.gridLayout_2.addWidget(self.rightYmax_Counter, 0, 1, 1, 1)
        self.label_6 = QtGui.QLabel(self.rightY_groupBox)
        self.label_6.setObjectName("label_6")
        self.gridLayout_2.addWidget(self.label_6, 1, 0, 1, 1)
        self.rightYmin_Counter = QwtCounter(self.rightY_groupBox)
        self.rightYmin_Counter.setObjectName("rightYmin_Counter")
        self.gridLayout_2.addWidget(self.rightYmin_Counter, 1, 1, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_2)
        self.gridLayout_4.addWidget(self.rightY_groupBox, 1, 2, 1, 1)
        self.autoLeftY_pushButton = QtGui.QPushButton(scaling_Dialog)
        self.autoLeftY_pushButton.setAutoDefault(False)
        self.autoLeftY_pushButton.setObjectName("autoLeftY_pushButton")
        self.gridLayout_4.addWidget(self.autoLeftY_pushButton, 2, 0, 1, 1)
        self.autoX_pushButton = QtGui.QPushButton(scaling_Dialog)
        self.autoX_pushButton.setAutoDefault(False)
        self.autoX_pushButton.setObjectName("autoX_pushButton")
        self.gridLayout_4.addWidget(self.autoX_pushButton, 2, 1, 1, 1)
        self.autoRightY_pushButton = QtGui.QPushButton(scaling_Dialog)
        self.autoRightY_pushButton.setAutoDefault(False)
        self.autoRightY_pushButton.setObjectName("autoRightY_pushButton")
        self.gridLayout_4.addWidget(self.autoRightY_pushButton, 2, 2, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_4)
        spacerItem = QtGui.QSpacerItem(20, 1, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)

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

    def retranslateUi(self, scaling_Dialog):
        scaling_Dialog.setWindowTitle(QtGui.QApplication.translate("scaling_Dialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("scaling_Dialog", "Left-Y axis", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("scaling_Dialog", "X axis", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("scaling_Dialog", "Right-Y axis", None, QtGui.QApplication.UnicodeUTF8))
        self.leftY_groupBox.setToolTip(QtGui.QApplication.translate("scaling_Dialog", "Set left-Y axis scaling", None, QtGui.QApplication.UnicodeUTF8))
        self.leftY_groupBox.setTitle(QtGui.QApplication.translate("scaling_Dialog", "Manual", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("scaling_Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("scaling_Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.X_groupBox.setToolTip(QtGui.QApplication.translate("scaling_Dialog", "Set X axis scaling", None, QtGui.QApplication.UnicodeUTF8))
        self.X_groupBox.setTitle(QtGui.QApplication.translate("scaling_Dialog", "Manual", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("scaling_Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("scaling_Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.rightY_groupBox.setToolTip(QtGui.QApplication.translate("scaling_Dialog", "Set right-Y axis scaling", None, QtGui.QApplication.UnicodeUTF8))
        self.rightY_groupBox.setTitle(QtGui.QApplication.translate("scaling_Dialog", "Manual", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("scaling_Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("scaling_Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
        self.autoLeftY_pushButton.setText(QtGui.QApplication.translate("scaling_Dialog", "Auto", None, QtGui.QApplication.UnicodeUTF8))
        self.autoX_pushButton.setText(QtGui.QApplication.translate("scaling_Dialog", "Auto", None, QtGui.QApplication.UnicodeUTF8))
        self.autoRightY_pushButton.setText(QtGui.QApplication.translate("scaling_Dialog", "Auto", None, QtGui.QApplication.UnicodeUTF8))

from PyQt4.Qwt5 import QwtCounter

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

