Source code for ChiantiPy.Gui.gui_qt.ui
# Form implementation generated from reading ui file 'choice2DialogForm.ui'
#
# Created: Tue Mar 17 13:52:16 2009
# by: PyQt4 UI code generator 4.4.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
#
[docs]class Ui_selectorDialogForm(object):
[docs] def setupUi(self, selectorDialogForm):
selectorDialogForm.setObjectName("selectorDialogForm")
selectorDialogForm.setWindowModality(QtCore.Qt.WindowModal)
selectorDialogForm.setModal(False)
# selectorDialogForm.setWindowModality(QtCore.Qt.ApplicationModal)
selectorDialogForm.resize(500,300)
self.buttonBox = QtGui.QDialogButtonBox(selectorDialogForm)
self.buttonBox.setGeometry(QtCore.QRect(30,240,341,32))
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.listWidget = QtGui.QListWidget(selectorDialogForm)
self.listWidget.setGeometry(QtCore.QRect(70,20,360,200))
font = QtGui.QFont()
font.setPointSize(14)
self.listWidget.setFont(font)
self.listWidget.setObjectName("listWidget")
self.retranslateUi(selectorDialogForm)
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),selectorDialogForm.accept)
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),selectorDialogForm.reject)
QtCore.QMetaObject.connectSlotsByName(selectorDialogForm)
[docs] def retranslateUi(self, selectorDialogForm):
selectorDialogForm.setWindowTitle(QtGui.QApplication.translate("selectorDialogForm", "Dialog", None, QtGui.QApplication.UnicodeUTF8))
#
[docs]class Ui_choice2DialogForm(object):
[docs] def setupUi(self, choice2DialogForm):
choice2DialogForm.setObjectName("choice2DialogForm")
choice2DialogForm.setWindowModality(QtCore.Qt.WindowModal)
choice2DialogForm.resize(543,368)
font = QtGui.QFont()
font.setPointSize(14)
font.setWeight(75)
font.setBold(True)
choice2DialogForm.setFont(font)
choice2DialogForm.setModal(False)
self.widget = QtGui.QWidget(choice2DialogForm)
self.widget.setGeometry(QtCore.QRect(10,10,522,341))
self.widget.setObjectName("widget")
self.gridLayout = QtGui.QGridLayout(self.widget)
self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
self.gridLayout.setMargin(10)
self.gridLayout.setObjectName("gridLayout")
self.numLabel = QtGui.QLabel(self.widget)
self.numLabel.setAlignment(QtCore.Qt.AlignCenter)
self.numLabel.setObjectName("numLabel")
self.gridLayout.addWidget(self.numLabel,0,0,1,1)
self.denLabel = QtGui.QLabel(self.widget)
self.denLabel.setAlignment(QtCore.Qt.AlignCenter)
self.denLabel.setObjectName("denLabel")
self.gridLayout.addWidget(self.denLabel,0,1,1,1)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.numListWidget = QtGui.QListWidget(self.widget)
self.numListWidget.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
self.numListWidget.setObjectName("numListWidget")
self.horizontalLayout.addWidget(self.numListWidget)
self.denListWidget = QtGui.QListWidget(self.widget)
self.denListWidget.setSelectionMode(QtGui.QAbstractItemView.MultiSelection)
self.denListWidget.setObjectName("denListWidget")
self.horizontalLayout.addWidget(self.denListWidget)
self.gridLayout.addLayout(self.horizontalLayout,1,0,1,2)
spacerItem = QtGui.QSpacerItem(168,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
self.gridLayout.addItem(spacerItem,2,0,1,1)
self.buttonBox = QtGui.QDialogButtonBox(self.widget)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.gridLayout.addWidget(self.buttonBox,2,1,1,1)
self.retranslateUi(choice2DialogForm)
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("rejected()"),choice2DialogForm.reject)
QtCore.QObject.connect(self.buttonBox,QtCore.SIGNAL("accepted()"),choice2DialogForm.accept)
QtCore.QMetaObject.connectSlotsByName(choice2DialogForm)
[docs] def retranslateUi(self, choice2DialogForm):
choice2DialogForm.setWindowTitle(QtGui.QApplication.translate("choice2DialogForm", "Pick numerators and denominators", None, QtGui.QApplication.UnicodeUTF8))
self.numLabel.setText(QtGui.QApplication.translate("choice2DialogForm", "Numerator", None, QtGui.QApplication.UnicodeUTF8))
self.denLabel.setText(QtGui.QApplication.translate("choice2DialogForm", "Denominator", None, QtGui.QApplication.UnicodeUTF8))