Пример #1
0
    def setupUi(self, TestComboBoxPopupForm):
        TestComboBoxPopupForm.setObjectName(_fromUtf8("TestComboBoxPopupForm"))
        TestComboBoxPopupForm.resize(491, 331)
        self.gridLayout = QtGui.QGridLayout(TestComboBoxPopupForm)
        self.gridLayout.setContentsMargins(1, 2, 1, 1)
        self.gridLayout.setHorizontalSpacing(1)
        self.gridLayout.setVerticalSpacing(2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.cmbTestGroup = CRBComboBox(TestComboBoxPopupForm)
        self.cmbTestGroup.setObjectName(_fromUtf8("cmbTestGroup"))
        self.gridLayout.addWidget(self.cmbTestGroup, 0, 1, 1, 1)
        self.tblTests = CRBPopupView(TestComboBoxPopupForm)
        self.tblTests.setObjectName(_fromUtf8("tblTests"))
        self.gridLayout.addWidget(self.tblTests, 1, 0, 1, 2)
        self.lblTestGroup = QtGui.QLabel(TestComboBoxPopupForm)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTestGroup.sizePolicy().hasHeightForWidth())
        self.lblTestGroup.setSizePolicy(sizePolicy)
        self.lblTestGroup.setObjectName(_fromUtf8("lblTestGroup"))
        self.gridLayout.addWidget(self.lblTestGroup, 0, 0, 1, 1)

        self.retranslateUi(TestComboBoxPopupForm)
        QtCore.QMetaObject.connectSlotsByName(TestComboBoxPopupForm)
Пример #2
0
    def setupUi(self, ICDMorphologyPopup):
        ICDMorphologyPopup.setObjectName(_fromUtf8("ICDMorphologyPopup"))
        ICDMorphologyPopup.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(ICDMorphologyPopup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(ICDMorphologyPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMorphology = QtGui.QWidget()
        self.tabMorphology.setObjectName(_fromUtf8("tabMorphology"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMorphology)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblMorphology = CRBPopupView(self.tabMorphology)
        self.tblMorphology.setObjectName(_fromUtf8("tblMorphology"))
        self.gridLayout_2.addWidget(self.tblMorphology, 0, 0, 1, 1)
        self.lblCount = QtGui.QLabel(self.tabMorphology)
        self.lblCount.setObjectName(_fromUtf8("lblCount"))
        self.gridLayout_2.addWidget(self.lblCount, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabMorphology, _fromUtf8(""))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtSearch = QtGui.QLineEdit(self.tabFind)
        self.edtSearch.setObjectName(_fromUtf8("edtSearch"))
        self.gridLayout_3.addWidget(self.edtSearch, 1, 0, 1, 1)
        self.btnSearch = QtGui.QToolButton(self.tabFind)
        self.btnSearch.setObjectName(_fromUtf8("btnSearch"))
        self.gridLayout_3.addWidget(self.btnSearch, 1, 1, 1, 1)
        self.tblSearch = CTableView(self.tabFind)
        self.tblSearch.setObjectName(_fromUtf8("tblSearch"))
        self.gridLayout_3.addWidget(self.tblSearch, 2, 0, 1, 2)
        self.chkForCurrentMKB = QtGui.QCheckBox(self.tabFind)
        self.chkForCurrentMKB.setObjectName(_fromUtf8("chkForCurrentMKB"))
        self.gridLayout_3.addWidget(self.chkForCurrentMKB, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabFind, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ICDMorphologyPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ICDMorphologyPopup)
        ICDMorphologyPopup.setTabOrder(self.tabWidget, self.tblMorphology)
        ICDMorphologyPopup.setTabOrder(self.tblMorphology,
                                       self.chkForCurrentMKB)
        ICDMorphologyPopup.setTabOrder(self.chkForCurrentMKB, self.edtSearch)
        ICDMorphologyPopup.setTabOrder(self.edtSearch, self.btnSearch)
        ICDMorphologyPopup.setTabOrder(self.btnSearch, self.tblSearch)
Пример #3
0
 def __init__(self, parent):
     QtGui.QComboBox.__init__(self, parent)
     self._searchString = ''
     self.showFields = CRBComboBox.showName
     self._model = CMealComboBoxModel(self)
     self._selectionModel = CRBSelectionModel(self._model)
     self._tableName = ''
     self._addNone = True
     self._needCache = True
     self._filter = ''
     self._order = ''
     self._specialValues = None
     self.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
     self.prefferedWidth = None
     self.popupView = CRBPopupView(self)
     self.setShowFields(self.showFields)
     self.setView(self.popupView)
     self.setModel(self._model)
     self.popupView.setSelectionModel(self._selectionModel)
     self.popupView.setFrameShape(QtGui.QFrame.NoFrame)
     self._isRTF = False
Пример #4
0
    def setupUi(self, RBServiceComboBoxPopup):
        RBServiceComboBoxPopup.setObjectName(
            _fromUtf8("RBServiceComboBoxPopup"))
        RBServiceComboBoxPopup.resize(327, 378)
        self.verticalLayout = QtGui.QVBoxLayout(RBServiceComboBoxPopup)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(RBServiceComboBoxPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tblService = CRBPopupView(self.tab)
        self.tblService.setObjectName(_fromUtf8("tblService"))
        self.verticalLayout_2.addWidget(self.tblService)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout = QtGui.QGridLayout(self.tab_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblSection = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblSection.sizePolicy().hasHeightForWidth())
        self.lblSection.setSizePolicy(sizePolicy)
        self.lblSection.setObjectName(_fromUtf8("lblSection"))
        self.gridLayout.addWidget(self.lblSection, 0, 0, 1, 1)
        self.cmbSection = CRBComboBox(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbSection.sizePolicy().hasHeightForWidth())
        self.cmbSection.setSizePolicy(sizePolicy)
        self.cmbSection.setObjectName(_fromUtf8("cmbSection"))
        self.gridLayout.addWidget(self.cmbSection, 0, 2, 1, 1)
        self.lblType = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblType.sizePolicy().hasHeightForWidth())
        self.lblType.setSizePolicy(sizePolicy)
        self.lblType.setObjectName(_fromUtf8("lblType"))
        self.gridLayout.addWidget(self.lblType, 1, 0, 1, 1)
        self.cmbType = CRBComboBox(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbType.sizePolicy().hasHeightForWidth())
        self.cmbType.setSizePolicy(sizePolicy)
        self.cmbType.setObjectName(_fromUtf8("cmbType"))
        self.gridLayout.addWidget(self.cmbType, 1, 2, 1, 1)
        self.lblClass = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblClass.sizePolicy().hasHeightForWidth())
        self.lblClass.setSizePolicy(sizePolicy)
        self.lblClass.setObjectName(_fromUtf8("lblClass"))
        self.gridLayout.addWidget(self.lblClass, 2, 0, 1, 1)
        self.cmbClass = CRBComboBox(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbClass.sizePolicy().hasHeightForWidth())
        self.cmbClass.setSizePolicy(sizePolicy)
        self.cmbClass.setObjectName(_fromUtf8("cmbClass"))
        self.gridLayout.addWidget(self.cmbClass, 2, 2, 1, 1)
        self.lblCode = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblCode.sizePolicy().hasHeightForWidth())
        self.lblCode.setSizePolicy(sizePolicy)
        self.lblCode.setObjectName(_fromUtf8("lblCode"))
        self.gridLayout.addWidget(self.lblCode, 3, 0, 1, 2)
        self.edtCode = QtGui.QLineEdit(self.tab_2)
        self.edtCode.setObjectName(_fromUtf8("edtCode"))
        self.gridLayout.addWidget(self.edtCode, 3, 2, 1, 1)
        self.lblName = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblName.sizePolicy().hasHeightForWidth())
        self.lblName.setSizePolicy(sizePolicy)
        self.lblName.setObjectName(_fromUtf8("lblName"))
        self.gridLayout.addWidget(self.lblName, 4, 0, 1, 2)
        self.edtName = QtGui.QLineEdit(self.tab_2)
        self.edtName.setObjectName(_fromUtf8("edtName"))
        self.gridLayout.addWidget(self.edtName, 4, 2, 1, 1)
        self.chkIsFilterServiceByCurrentCode = QtGui.QCheckBox(self.tab_2)
        self.chkIsFilterServiceByCurrentCode.setEnabled(False)
        self.chkIsFilterServiceByCurrentCode.setObjectName(
            _fromUtf8("chkIsFilterServiceByCurrentCode"))
        self.gridLayout.addWidget(self.chkIsFilterServiceByCurrentCode, 5, 0,
                                  1, 3)
        self.chkEIS = QtGui.QCheckBox(self.tab_2)
        self.chkEIS.setTristate(True)
        self.chkEIS.setObjectName(_fromUtf8("chkEIS"))
        self.gridLayout.addWidget(self.chkEIS, 6, 0, 1, 3)
        self.chkNomenclature = QtGui.QCheckBox(self.tab_2)
        self.chkNomenclature.setTristate(True)
        self.chkNomenclature.setObjectName(_fromUtf8("chkNomenclature"))
        self.gridLayout.addWidget(self.chkNomenclature, 7, 0, 1, 3)
        self.lblPeriod = QtGui.QLabel(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblPeriod.sizePolicy().hasHeightForWidth())
        self.lblPeriod.setSizePolicy(sizePolicy)
        self.lblPeriod.setObjectName(_fromUtf8("lblPeriod"))
        self.gridLayout.addWidget(self.lblPeriod, 8, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(287, 14, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 12, 0, 1, 3)
        self.pnlGroupBox = QtGui.QWidget(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pnlGroupBox.sizePolicy().hasHeightForWidth())
        self.pnlGroupBox.setSizePolicy(sizePolicy)
        self.pnlGroupBox.setObjectName(_fromUtf8("pnlGroupBox"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.pnlGroupBox)
        self.horizontalLayout_2.setSpacing(0)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem1)
        self.buttonBox = QtGui.QDialogButtonBox(self.pnlGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       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.horizontalLayout_2.addWidget(self.buttonBox)
        self.gridLayout.addWidget(self.pnlGroupBox, 11, 0, 1, 3)
        self.pnlPeriod = QtGui.QWidget(self.tab_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.pnlPeriod.sizePolicy().hasHeightForWidth())
        self.pnlPeriod.setSizePolicy(sizePolicy)
        self.pnlPeriod.setObjectName(_fromUtf8("pnlPeriod"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.pnlPeriod)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.lblFrom = QtGui.QLabel(self.pnlPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFrom.sizePolicy().hasHeightForWidth())
        self.lblFrom.setSizePolicy(sizePolicy)
        self.lblFrom.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.lblFrom.setObjectName(_fromUtf8("lblFrom"))
        self.horizontalLayout.addWidget(self.lblFrom)
        self.edtBegDate = CDateEdit(self.pnlPeriod)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.horizontalLayout.addWidget(self.edtBegDate)
        self.lblTo = QtGui.QLabel(self.pnlPeriod)
        self.lblTo.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.lblTo.setObjectName(_fromUtf8("lblTo"))
        self.horizontalLayout.addWidget(self.lblTo)
        self.edtEndDate = CDateEdit(self.pnlPeriod)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.horizontalLayout.addWidget(self.edtEndDate)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.gridLayout.addWidget(self.pnlPeriod, 8, 2, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.lblName.setBuddy(self.edtName)

        self.retranslateUi(RBServiceComboBoxPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(RBServiceComboBoxPopup)
Пример #5
0
class Ui_ICDMorphologyPopup(object):
    def setupUi(self, ICDMorphologyPopup):
        ICDMorphologyPopup.setObjectName(_fromUtf8("ICDMorphologyPopup"))
        ICDMorphologyPopup.resize(400, 300)
        self.gridLayout = QtGui.QGridLayout(ICDMorphologyPopup)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.tabWidget = QtGui.QTabWidget(ICDMorphologyPopup)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.South)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabMorphology = QtGui.QWidget()
        self.tabMorphology.setObjectName(_fromUtf8("tabMorphology"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabMorphology)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblMorphology = CRBPopupView(self.tabMorphology)
        self.tblMorphology.setObjectName(_fromUtf8("tblMorphology"))
        self.gridLayout_2.addWidget(self.tblMorphology, 0, 0, 1, 1)
        self.lblCount = QtGui.QLabel(self.tabMorphology)
        self.lblCount.setObjectName(_fromUtf8("lblCount"))
        self.gridLayout_2.addWidget(self.lblCount, 1, 0, 1, 1)
        self.tabWidget.addTab(self.tabMorphology, _fromUtf8(""))
        self.tabFind = QtGui.QWidget()
        self.tabFind.setObjectName(_fromUtf8("tabFind"))
        self.gridLayout_3 = QtGui.QGridLayout(self.tabFind)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtSearch = QtGui.QLineEdit(self.tabFind)
        self.edtSearch.setObjectName(_fromUtf8("edtSearch"))
        self.gridLayout_3.addWidget(self.edtSearch, 1, 0, 1, 1)
        self.btnSearch = QtGui.QToolButton(self.tabFind)
        self.btnSearch.setObjectName(_fromUtf8("btnSearch"))
        self.gridLayout_3.addWidget(self.btnSearch, 1, 1, 1, 1)
        self.tblSearch = CTableView(self.tabFind)
        self.tblSearch.setObjectName(_fromUtf8("tblSearch"))
        self.gridLayout_3.addWidget(self.tblSearch, 2, 0, 1, 2)
        self.chkForCurrentMKB = QtGui.QCheckBox(self.tabFind)
        self.chkForCurrentMKB.setObjectName(_fromUtf8("chkForCurrentMKB"))
        self.gridLayout_3.addWidget(self.chkForCurrentMKB, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabFind, _fromUtf8(""))
        self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)

        self.retranslateUi(ICDMorphologyPopup)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(ICDMorphologyPopup)
        ICDMorphologyPopup.setTabOrder(self.tabWidget, self.tblMorphology)
        ICDMorphologyPopup.setTabOrder(self.tblMorphology,
                                       self.chkForCurrentMKB)
        ICDMorphologyPopup.setTabOrder(self.chkForCurrentMKB, self.edtSearch)
        ICDMorphologyPopup.setTabOrder(self.edtSearch, self.btnSearch)
        ICDMorphologyPopup.setTabOrder(self.btnSearch, self.tblSearch)

    def retranslateUi(self, ICDMorphologyPopup):
        ICDMorphologyPopup.setWindowTitle(
            QtGui.QApplication.translate("ICDMorphologyPopup", "Dialog", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCount.setText(
            QtGui.QApplication.translate("ICDMorphologyPopup",
                                         "Количеств записей: ", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabMorphology),
            QtGui.QApplication.translate("ICDMorphologyPopup", "&Номенклатура",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.btnSearch.setText(
            QtGui.QApplication.translate("ICDMorphologyPopup", "...", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.chkForCurrentMKB.setText(
            QtGui.QApplication.translate("ICDMorphologyPopup",
                                         "Определенные для текущего диагноза",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabFind),
            QtGui.QApplication.translate("ICDMorphologyPopup", "&Поиск", None,
                                         QtGui.QApplication.UnicodeUTF8))
Пример #6
0
 def keyPressEvent(self, event):
     if event.key() == QtCore.Qt.Key_Space:
         self.emit(QtCore.SIGNAL('hide()'))
     else:
         CRBPopupView.keyPressEvent(self, event)