home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- from PyQt4 import QtCore, QtGui
-
- class Ui_ViewerConfig(object):
-
- def setupUi(self, ViewerConfig):
- ViewerConfig.setObjectName('ViewerConfig')
- ViewerConfig.resize(373, 264)
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap(I('config.svg')), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- ViewerConfig.setWindowIcon(icon)
- self.gridLayout = QtGui.QGridLayout(ViewerConfig)
- self.gridLayout.setObjectName('gridLayout')
- self.white_background = QtGui.QCheckBox(ViewerConfig)
- self.white_background.setObjectName('white_background')
- self.gridLayout.addWidget(self.white_background, 0, 0, 1, 1)
- self.hyphenate = QtGui.QCheckBox(ViewerConfig)
- self.hyphenate.setChecked(True)
- self.hyphenate.setObjectName('hyphenate')
- self.gridLayout.addWidget(self.hyphenate, 1, 0, 1, 1)
- self.label = QtGui.QLabel(ViewerConfig)
- self.label.setFrameShape(QtGui.QFrame.Box)
- self.label.setTextFormat(QtCore.Qt.RichText)
- self.label.setAlignment(QtCore.Qt.AlignCenter)
- self.label.setWordWrap(True)
- self.label.setObjectName('label')
- self.gridLayout.addWidget(self.label, 2, 0, 1, 1)
- self.buttonBox = QtGui.QDialogButtonBox(ViewerConfig)
- self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
- self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok)
- self.buttonBox.setObjectName('buttonBox')
- self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 1)
- self.retranslateUi(ViewerConfig)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('accepted()'), ViewerConfig.accept)
- QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL('rejected()'), ViewerConfig.reject)
- QtCore.QMetaObject.connectSlotsByName(ViewerConfig)
-
-
- def retranslateUi(self, ViewerConfig):
- ViewerConfig.setWindowTitle(_('Configure Viewer'))
- self.white_background.setText(_('Use white background'))
- self.hyphenate.setText(_('Hyphenate'))
- self.label.setText(_('<b>Changes will only take effect after a restart.</b>'))
-
-
-