Logo Search packages:      
Sourcecode: calibre version File versions

comic_input_ui.py

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

# Form implementation generated from reading ui file '/home/kovid/work/calibre/src/calibre/gui2/convert/comic_input.ui'
#
# Created: Mon Sep  7 14:21:48 2009
#      by: PyQt4 UI code generator 4.5.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(599, 305)
        self.gridLayout = QtGui.QGridLayout(Form)
        self.gridLayout.setObjectName("gridLayout")
        self.label_3 = QtGui.QLabel(Form)
        self.label_3.setObjectName("label_3")
        self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
        self.opt_colors = QtGui.QSpinBox(Form)
        self.opt_colors.setMinimum(8)
        self.opt_colors.setMaximum(3200000)
        self.opt_colors.setSingleStep(8)
        self.opt_colors.setObjectName("opt_colors")
        self.gridLayout.addWidget(self.opt_colors, 1, 1, 1, 1)
        self.opt_dont_normalize = QtGui.QCheckBox(Form)
        self.opt_dont_normalize.setObjectName("opt_dont_normalize")
        self.gridLayout.addWidget(self.opt_dont_normalize, 2, 0, 1, 1)
        self.opt_keep_aspect_ratio = QtGui.QCheckBox(Form)
        self.opt_keep_aspect_ratio.setObjectName("opt_keep_aspect_ratio")
        self.gridLayout.addWidget(self.opt_keep_aspect_ratio, 3, 0, 1, 1)
        self.opt_dont_sharpen = QtGui.QCheckBox(Form)
        self.opt_dont_sharpen.setObjectName("opt_dont_sharpen")
        self.gridLayout.addWidget(self.opt_dont_sharpen, 4, 0, 1, 1)
        self.opt_disable_trim = QtGui.QCheckBox(Form)
        self.opt_disable_trim.setObjectName("opt_disable_trim")
        self.gridLayout.addWidget(self.opt_disable_trim, 5, 0, 1, 1)
        self.opt_wide = QtGui.QCheckBox(Form)
        self.opt_wide.setObjectName("opt_wide")
        self.gridLayout.addWidget(self.opt_wide, 6, 0, 1, 1)
        self.opt_landscape = QtGui.QCheckBox(Form)
        self.opt_landscape.setObjectName("opt_landscape")
        self.gridLayout.addWidget(self.opt_landscape, 7, 0, 1, 1)
        self.opt_right2left = QtGui.QCheckBox(Form)
        self.opt_right2left.setObjectName("opt_right2left")
        self.gridLayout.addWidget(self.opt_right2left, 8, 0, 1, 1)
        self.opt_no_sort = QtGui.QCheckBox(Form)
        self.opt_no_sort.setObjectName("opt_no_sort")
        self.gridLayout.addWidget(self.opt_no_sort, 9, 0, 1, 1)
        self.opt_despeckle = QtGui.QCheckBox(Form)
        self.opt_despeckle.setObjectName("opt_despeckle")
        self.gridLayout.addWidget(self.opt_despeckle, 10, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.opt_no_process = QtGui.QCheckBox(Form)
        self.opt_no_process.setObjectName("opt_no_process")
        self.gridLayout.addWidget(self.opt_no_process, 0, 0, 1, 1)
        self.label_3.setBuddy(self.opt_colors)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.label_3.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_colors.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_dont_normalize.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_keep_aspect_ratio.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_dont_sharpen.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_disable_trim.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_wide.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_landscape.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_right2left.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_no_sort.setDisabled)
        QtCore.QObject.connect(self.opt_no_process, QtCore.SIGNAL("toggled(bool)"), self.opt_despeckle.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        Form.setWindowTitle(_("Form"))
        self.label_3.setText(_("&Number of Colors:"))
        self.opt_dont_normalize.setText(_("Disable &normalize"))
        self.opt_keep_aspect_ratio.setText(_("Keep &aspect ratio"))
        self.opt_dont_sharpen.setText(_("Disable &Sharpening"))
        self.opt_disable_trim.setText(_("Disable &Trimming"))
        self.opt_wide.setText(_("&Wide"))
        self.opt_landscape.setText(_("&Landscape"))
        self.opt_right2left.setText(_("&Right to left"))
        self.opt_no_sort.setText(_("Don\'t so&rt"))
        self.opt_despeckle.setText(_("De&speckle"))
        self.opt_no_process.setText(_("&Disable comic processing"))


Generated by  Doxygen 1.6.0   Back to index