class Ui_PrevActionChooserDialog(object):
    def setupUi(self, PrevActionChooserDialog):
        PrevActionChooserDialog.setObjectName(
            _fromUtf8("PrevActionChooserDialog"))
        PrevActionChooserDialog.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(PrevActionChooserDialog)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tblPrevActions = CTableView(PrevActionChooserDialog)
        self.tblPrevActions.setHorizontalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblPrevActions.setObjectName(_fromUtf8("tblPrevActions"))
        self.gridLayout.addWidget(self.tblPrevActions, 0, 0, 1, 1)
        self.buttonBox = QtGui.QDialogButtonBox(PrevActionChooserDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(PrevActionChooserDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               PrevActionChooserDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               PrevActionChooserDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(PrevActionChooserDialog)

    def retranslateUi(self, PrevActionChooserDialog):
        PrevActionChooserDialog.setWindowTitle(
            _translate("PrevActionChooserDialog", "Dialog", None))
Beispiel #2
0
class Ui_ModelPatientComboBoxPopup(object):
    def setupUi(self, ModelPatientComboBoxPopup):
        ModelPatientComboBoxPopup.setObjectName(_fromUtf8("ModelPatientComboBoxPopup"))
        ModelPatientComboBoxPopup.resize(734, 315)
        self.gridlayout = QtGui.QGridLayout(ModelPatientComboBoxPopup)
        self.gridlayout.setMargin(0)
        self.gridlayout.setSpacing(0)
        self.gridlayout.setObjectName(_fromUtf8("gridlayout"))
        self.tabWidget = QtGui.QTabWidget(ModelPatientComboBoxPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabModelPatient = QtGui.QWidget()
        self.tabModelPatient.setObjectName(_fromUtf8("tabModelPatient"))
        self.vboxlayout = QtGui.QVBoxLayout(self.tabModelPatient)
        self.vboxlayout.setSpacing(4)
        self.vboxlayout.setMargin(4)
        self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
        self.tblModelPatient = CTableView(self.tabModelPatient)
        self.tblModelPatient.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tblModelPatient.setObjectName(_fromUtf8("tblModelPatient"))
        self.vboxlayout.addWidget(self.tblModelPatient)
        self.tabWidget.addTab(self.tabModelPatient, _fromUtf8(""))
        self.tabSearch = QtGui.QWidget()
        self.tabSearch.setObjectName(_fromUtf8("tabSearch"))
        self.gridlayout1 = QtGui.QGridLayout(self.tabSearch)
        self.gridlayout1.setMargin(4)
        self.gridlayout1.setSpacing(4)
        self.gridlayout1.setObjectName(_fromUtf8("gridlayout1"))
        self.buttonBox = QtGui.QDialogButtonBox(self.tabSearch)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
        self.buttonBox.setSizePolicy(sizePolicy)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Reset)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.gridlayout1.addWidget(self.buttonBox, 5, 2, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout1.addItem(spacerItem, 5, 1, 1, 1)
        self.cmbQuoting = CClientQuotingModelPatientComboBox(self.tabSearch)
        self.cmbQuoting.setObjectName(_fromUtf8("cmbQuoting"))
        self.gridlayout1.addWidget(self.cmbQuoting, 0, 1, 1, 2)
        self.label = QtGui.QLabel(self.tabSearch)
        self.label.setObjectName(_fromUtf8("label"))
        self.gridlayout1.addWidget(self.label, 0, 0, 1, 1)
        self.chkPreviousMKB = QtGui.QCheckBox(self.tabSearch)
        self.chkPreviousMKB.setChecked(True)
        self.chkPreviousMKB.setObjectName(_fromUtf8("chkPreviousMKB"))
        self.gridlayout1.addWidget(self.chkPreviousMKB, 2, 1, 1, 2)
        spacerItem1 = QtGui.QSpacerItem(20, 141, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 4, 1, 1, 1)
        self.chkQuotingPatientOnly = QtGui.QCheckBox(self.tabSearch)
        self.chkQuotingPatientOnly.setObjectName(_fromUtf8("chkQuotingPatientOnly"))
        self.gridlayout1.addWidget(self.chkQuotingPatientOnly, 1, 1, 1, 2)
        self.chkQuotingEvent = QtGui.QCheckBox(self.tabSearch)
        self.chkQuotingEvent.setChecked(True)
        self.chkQuotingEvent.setObjectName(_fromUtf8("chkQuotingEvent"))
        self.gridlayout1.addWidget(self.chkQuotingEvent, 3, 1, 1, 2)
        self.tabWidget.addTab(self.tabSearch, _fromUtf8(""))
        self.gridlayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ModelPatientComboBoxPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ModelPatientComboBoxPopup)
        ModelPatientComboBoxPopup.setTabOrder(self.tabWidget, self.buttonBox)
        ModelPatientComboBoxPopup.setTabOrder(self.buttonBox, self.tblModelPatient)

    def retranslateUi(self, ModelPatientComboBoxPopup):
        ModelPatientComboBoxPopup.setWindowTitle(QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabModelPatient), QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Результат поиска", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Квота", None, QtGui.QApplication.UnicodeUTF8))
        self.chkPreviousMKB.setText(QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Учитывать предварительный диагноз", None, QtGui.QApplication.UnicodeUTF8))
        self.chkQuotingPatientOnly.setText(QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Учитывать только квоты пациента", None, QtGui.QApplication.UnicodeUTF8))
        self.chkQuotingEvent.setText(QtGui.QApplication.translate("ModelPatientComboBoxPopup", "Учитывать квоту, определенную в Событии", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabSearch), QtGui.QApplication.translate("ModelPatientComboBoxPopup", "&Поиск", None, QtGui.QApplication.UnicodeUTF8))