def setupUi(self, ReportClientSubsidiarySetupDialog): ReportClientSubsidiarySetupDialog.setObjectName(_fromUtf8("ReportClientSubsidiarySetupDialog")) ReportClientSubsidiarySetupDialog.resize(336, 93) self.gridLayout = QtGui.QGridLayout(ReportClientSubsidiarySetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox(ReportClientSubsidiarySetupDialog) 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, 5, 0, 1, 5) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 4, 3, 1, 1) self.lblPayeded = QtGui.QLabel(ReportClientSubsidiarySetupDialog) self.lblPayeded.setObjectName(_fromUtf8("lblPayeded")) self.gridLayout.addWidget(self.lblPayeded, 1, 0, 1, 1) self.cmbPayeded = COrgComboBox(ReportClientSubsidiarySetupDialog) self.cmbPayeded.setEditable(True) self.cmbPayeded.setObjectName(_fromUtf8("cmbPayeded")) self.gridLayout.addWidget(self.cmbPayeded, 1, 1, 1, 4) self.lblDiagnosis = QtGui.QLabel(ReportClientSubsidiarySetupDialog) self.lblDiagnosis.setObjectName(_fromUtf8("lblDiagnosis")) self.gridLayout.addWidget(self.lblDiagnosis, 2, 0, 1, 1) self.edtDiagnosis = CICDCodeComboBoxEx(ReportClientSubsidiarySetupDialog) self.edtDiagnosis.setObjectName(_fromUtf8("edtDiagnosis")) self.gridLayout.addWidget(self.edtDiagnosis, 2, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 2, 3, 1, 2) self.retranslateUi(ReportClientSubsidiarySetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportClientSubsidiarySetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportClientSubsidiarySetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportClientSubsidiarySetupDialog)
def setupUi(self, ExportFedRegPerPage1SetupDialog): ExportFedRegPerPage1SetupDialog.setObjectName( _fromUtf8("ExportFedRegPerPage1SetupDialog")) ExportFedRegPerPage1SetupDialog.resize(473, 394) self.gridLayout = QtGui.QGridLayout(ExportFedRegPerPage1SetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnExport = QtGui.QPushButton(ExportFedRegPerPage1SetupDialog) self.btnExport.setObjectName(_fromUtf8("btnExport")) self.hboxlayout.addWidget(self.btnExport) self.btnClose = QtGui.QPushButton(ExportFedRegPerPage1SetupDialog) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.hboxlayout.addWidget(self.btnClose) self.gridLayout.addLayout(self.hboxlayout, 5, 1, 1, 1) self.splitter = QtGui.QSplitter(ExportFedRegPerPage1SetupDialog) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.layoutWidget = QtGui.QWidget(self.splitter) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.vboxlayout = QtGui.QVBoxLayout(self.layoutWidget) self.vboxlayout.setMargin(0) self.vboxlayout.setObjectName(_fromUtf8("vboxlayout")) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout.addItem(spacerItem1) self.progressBar = CProgressBar(self.layoutWidget) self.progressBar.setProperty("value", 24) self.progressBar.setOrientation(QtCore.Qt.Horizontal) self.progressBar.setObjectName(_fromUtf8("progressBar")) self.vboxlayout.addWidget(self.progressBar) self.gridLayout.addWidget(self.splitter, 4, 1, 1, 1) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblOrganisation = QtGui.QLabel(ExportFedRegPerPage1SetupDialog) self.lblOrganisation.setObjectName(_fromUtf8("lblOrganisation")) self.horizontalLayout_4.addWidget(self.lblOrganisation) self.cmbOrganisation = COrgComboBox(ExportFedRegPerPage1SetupDialog) self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation")) self.horizontalLayout_4.addWidget(self.cmbOrganisation) self.gridLayout.addLayout(self.horizontalLayout_4, 1, 1, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lblOrgStructure = QtGui.QLabel(ExportFedRegPerPage1SetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.horizontalLayout_3.addWidget(self.lblOrgStructure) self.cmbOrgStructure = COrgStructureComboBox( ExportFedRegPerPage1SetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.horizontalLayout_3.addWidget(self.cmbOrgStructure) self.gridLayout.addLayout(self.horizontalLayout_3, 3, 1, 1, 1) self.retranslateUi(ExportFedRegPerPage1SetupDialog) QtCore.QMetaObject.connectSlotsByName(ExportFedRegPerPage1SetupDialog) ExportFedRegPerPage1SetupDialog.setTabOrder(self.btnExport, self.btnClose)
def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(264, 191) self.gridLayout = QtGui.QGridLayout(Dialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBeginDate = QtGui.QLabel(Dialog) self.lblBeginDate.setObjectName(_fromUtf8("lblBeginDate")) self.gridLayout.addWidget(self.lblBeginDate, 0, 0, 1, 1) self.edtBegDate = QtGui.QDateEdit(Dialog) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.lblEndDate = QtGui.QLabel(Dialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 0, 3, 1, 1) self.edtEndDate = QtGui.QDateEdit(Dialog) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 0, 4, 1, 1) self.lblorgStruct = QtGui.QLabel(Dialog) self.lblorgStruct.setObjectName(_fromUtf8("lblorgStruct")) self.gridLayout.addWidget(self.lblorgStruct, 1, 0, 1, 2) self.cmbOrgStruct = COrgStructureComboBox(Dialog) self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct")) self.gridLayout.addWidget(self.cmbOrgStruct, 1, 2, 1, 3) self.lblChiefResearcher = QtGui.QLabel(Dialog) self.lblChiefResearcher.setObjectName(_fromUtf8("lblChiefResearcher")) self.gridLayout.addWidget(self.lblChiefResearcher, 2, 0, 1, 3) self.cmbResearcher = CPersonComboBoxEx(Dialog) self.cmbResearcher.setObjectName(_fromUtf8("cmbResearcher")) self.gridLayout.addWidget(self.cmbResearcher, 2, 3, 1, 2) self.lblPartner = QtGui.QLabel(Dialog) self.lblPartner.setObjectName(_fromUtf8("lblPartner")) self.gridLayout.addWidget(self.lblPartner, 3, 0, 1, 2) self.cmbPartner = COrgComboBox(Dialog) self.cmbPartner.setObjectName(_fromUtf8("cmbPartner")) self.gridLayout.addWidget(self.cmbPartner, 3, 3, 1, 2) self.chkIsValid = QtGui.QCheckBox(Dialog) self.chkIsValid.setObjectName(_fromUtf8("chkIsValid")) self.gridLayout.addWidget(self.chkIsValid, 4, 0, 1, 3) self.chkIsEnrollment = QtGui.QCheckBox(Dialog) self.chkIsEnrollment.setObjectName(_fromUtf8("chkIsEnrollment")) self.gridLayout.addWidget(self.chkIsEnrollment, 5, 0, 1, 4) self.buttonBox = QtGui.QDialogButtonBox(Dialog) 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, 6, 1, 1, 4) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, ReportNonCashDialog): ReportNonCashDialog.setObjectName(_fromUtf8("ReportNonCashDialog")) ReportNonCashDialog.resize(306, 161) self.gridLayout = QtGui.QGridLayout(ReportNonCashDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBeginDate = QtGui.QLabel(ReportNonCashDialog) self.lblBeginDate.setObjectName(_fromUtf8("lblBeginDate")) self.gridLayout.addWidget(self.lblBeginDate, 0, 0, 1, 1) self.edtBegDate = QtGui.QDateEdit(ReportNonCashDialog) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.lblEndDate = QtGui.QLabel(ReportNonCashDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 0, 3, 1, 1) self.edtEndDate = QtGui.QDateEdit(ReportNonCashDialog) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 0, 4, 1, 1) self.lblorgStatus = QtGui.QLabel(ReportNonCashDialog) self.lblorgStatus.setObjectName(_fromUtf8("lblorgStatus")) self.gridLayout.addWidget(self.lblorgStatus, 1, 0, 1, 2) self.cmbOrgStatus = QtGui.QComboBox(ReportNonCashDialog) self.cmbOrgStatus.setObjectName(_fromUtf8("cmbOrgStatus")) self.cmbOrgStatus.addItem(_fromUtf8("")) self.cmbOrgStatus.addItem(_fromUtf8("")) self.cmbOrgStatus.addItem(_fromUtf8("")) self.cmbOrgStatus.addItem(_fromUtf8("")) self.cmbOrgStatus.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbOrgStatus, 1, 2, 1, 3) self.lblPartner = QtGui.QLabel(ReportNonCashDialog) self.lblPartner.setObjectName(_fromUtf8("lblPartner")) self.gridLayout.addWidget(self.lblPartner, 2, 0, 1, 2) self.cmbPartner = COrgComboBox(ReportNonCashDialog) self.cmbPartner.setObjectName(_fromUtf8("cmbPartner")) self.gridLayout.addWidget(self.cmbPartner, 2, 2, 1, 3) self.chkIsValid = QtGui.QCheckBox(ReportNonCashDialog) self.chkIsValid.setObjectName(_fromUtf8("chkIsValid")) self.gridLayout.addWidget(self.chkIsValid, 3, 0, 1, 3) self.buttonBox = QtGui.QDialogButtonBox(ReportNonCashDialog) 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, 4, 1, 1, 4) self.retranslateUi(ReportNonCashDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportNonCashDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportNonCashDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportNonCashDialog)
def setupUi(self, ReferralPage): ReferralPage.setObjectName(_fromUtf8("ReferralPage")) ReferralPage.resize(1265, 795) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReferralPage.sizePolicy().hasHeightForWidth()) ReferralPage.setSizePolicy(sizePolicy) ReferralPage.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.gridLayout_5 = QtGui.QGridLayout(ReferralPage) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tabWidget = QtGui.QTabWidget(ReferralPage) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabReserved = QtGui.QWidget() self.tabReserved.setObjectName(_fromUtf8("tabReserved")) self.gridLayout = QtGui.QGridLayout(self.tabReserved) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblRefType = QtGui.QTableView(self.tabReserved) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblRefType.sizePolicy().hasHeightForWidth()) self.tblRefType.setSizePolicy(sizePolicy) self.tblRefType.setObjectName(_fromUtf8("tblRefType")) self.gridLayout.addWidget(self.tblRefType, 0, 0, 1, 1) self.scrollArea = QtGui.QScrollArea(self.tabReserved) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 963, 726)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.gridLayout_8 = QtGui.QGridLayout(self.scrollAreaWidgetContents) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.splitter = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.layoutWidget = QtGui.QWidget(self.splitter) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.gridLayout_6 = QtGui.QGridLayout(self.layoutWidget) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.gridLayout_3 = QtGui.QGridLayout() self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.btnRefGenNumber = QtGui.QPushButton(self.layoutWidget) self.btnRefGenNumber.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.btnRefGenNumber.setObjectName(_fromUtf8("btnRefGenNumber")) self.gridLayout_3.addWidget(self.btnRefGenNumber, 0, 1, 1, 1) self.edtRefNumber = QtGui.QLineEdit(self.layoutWidget) self.edtRefNumber.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.edtRefNumber.setObjectName(_fromUtf8("edtRefNumber")) self.gridLayout_3.addWidget(self.edtRefNumber, 0, 0, 1, 1) self.gridLayout_6.addLayout(self.gridLayout_3, 0, 1, 1, 1) self.edtRefMKB = CICDCodeEditEx(self.layoutWidget) self.edtRefMKB.setObjectName(_fromUtf8("edtRefMKB")) self.gridLayout_6.addWidget(self.edtRefMKB, 11, 1, 1, 1) self.lblRelegateMo = QtGui.QLabel(self.layoutWidget) self.lblRelegateMo.setObjectName(_fromUtf8("lblRelegateMo")) self.gridLayout_6.addWidget(self.lblRelegateMo, 9, 0, 1, 1) self.lblNotes = QtGui.QLabel(self.layoutWidget) self.lblNotes.setObjectName(_fromUtf8("lblNotes")) self.gridLayout_6.addWidget(self.lblNotes, 13, 0, 1, 1) self.lblRefBedProfile = QtGui.QLabel(self.layoutWidget) self.lblRefBedProfile.setObjectName(_fromUtf8("lblRefBedProfile")) self.gridLayout_6.addWidget(self.lblRefBedProfile, 5, 0, 1, 1) self.cmbRefHospType = QtGui.QComboBox(self.layoutWidget) self.cmbRefHospType.setObjectName(_fromUtf8("cmbRefHospType")) self.cmbRefHospType.addItem(_fromUtf8("")) self.cmbRefHospType.addItem(_fromUtf8("")) self.cmbRefHospType.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbRefHospType, 4, 1, 1, 1) self.lblRefMKB = QtGui.QLabel(self.layoutWidget) self.lblRefMKB.setObjectName(_fromUtf8("lblRefMKB")) self.gridLayout_6.addWidget(self.lblRefMKB, 11, 0, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_6.addItem(spacerItem, 15, 0, 1, 1) self.cmbMedProfile = CRBComboBox(self.layoutWidget) self.cmbMedProfile.setObjectName(_fromUtf8("cmbMedProfile")) self.gridLayout_6.addWidget(self.cmbMedProfile, 10, 1, 1, 1) self.chkRefAgreement = QtGui.QCheckBox(self.layoutWidget) self.chkRefAgreement.setObjectName(_fromUtf8("chkRefAgreement")) self.gridLayout_6.addWidget(self.chkRefAgreement, 12, 0, 1, 2) self.lblPerson = QtGui.QLabel(self.layoutWidget) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_6.addWidget(self.lblPerson, 3, 0, 1, 1) self.edtNotes = QtGui.QTextEdit(self.layoutWidget) self.edtNotes.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.edtNotes.setObjectName(_fromUtf8("edtNotes")) self.gridLayout_6.addWidget(self.edtNotes, 14, 0, 1, 2) self.cmbRefBedProfile = CRBComboBox(self.layoutWidget) self.cmbRefBedProfile.setObjectName(_fromUtf8("cmbRefBedProfile")) self.gridLayout_6.addWidget(self.cmbRefBedProfile, 5, 1, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.layoutWidget) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout_6.addWidget(self.cmbPerson, 3, 1, 1, 1) self.lblRefNumber = QtGui.QLabel(self.layoutWidget) self.lblRefNumber.setObjectName(_fromUtf8("lblRefNumber")) self.gridLayout_6.addWidget(self.lblRefNumber, 0, 0, 1, 1) self.lblRefDate = QtGui.QLabel(self.layoutWidget) self.lblRefDate.setObjectName(_fromUtf8("lblRefDate")) self.gridLayout_6.addWidget(self.lblRefDate, 1, 0, 1, 1) self.lblRefHospType = QtGui.QLabel(self.layoutWidget) self.lblRefHospType.setObjectName(_fromUtf8("lblRefHospType")) self.gridLayout_6.addWidget(self.lblRefHospType, 4, 0, 1, 1) self.lblRefPlanned = QtGui.QLabel(self.layoutWidget) self.lblRefPlanned.setObjectName(_fromUtf8("lblRefPlanned")) self.gridLayout_6.addWidget(self.lblRefPlanned, 2, 0, 1, 1) self.lblMedProfile = QtGui.QLabel(self.layoutWidget) self.lblMedProfile.setObjectName(_fromUtf8("lblMedProfile")) self.gridLayout_6.addWidget(self.lblMedProfile, 10, 0, 1, 1) self.gridLayout_7 = QtGui.QGridLayout() self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.cmbRelegateMO = COrgComboBox(self.layoutWidget) self.cmbRelegateMO.setObjectName(_fromUtf8("cmbRelegateMO")) self.gridLayout_7.addWidget(self.cmbRelegateMO, 0, 0, 1, 1) self.btnOrgFilter = QtGui.QToolButton(self.layoutWidget) self.btnOrgFilter.setObjectName(_fromUtf8("btnOrgFilter")) self.gridLayout_7.addWidget(self.btnOrgFilter, 0, 1, 1, 1) self.btnResetMo = QtGui.QPushButton(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnResetMo.sizePolicy().hasHeightForWidth()) self.btnResetMo.setSizePolicy(sizePolicy) self.btnResetMo.setMaximumSize(QtCore.QSize(60, 16777215)) self.btnResetMo.setObjectName(_fromUtf8("btnResetMo")) self.gridLayout_7.addWidget(self.btnResetMo, 0, 2, 1, 1) self.gridLayout_6.addLayout(self.gridLayout_7, 9, 1, 1, 1) self.cmbOrgStructure = CRBComboBox(self.layoutWidget) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout_6.addWidget(self.cmbOrgStructure, 6, 1, 1, 1) self.lblOrgStructureProfile = QtGui.QLabel(self.layoutWidget) self.lblOrgStructureProfile.setObjectName( _fromUtf8("lblOrgStructureProfile")) self.gridLayout_6.addWidget(self.lblOrgStructureProfile, 6, 0, 1, 1) self.cmbStatyonaryType = QtGui.QComboBox(self.layoutWidget) self.cmbStatyonaryType.setObjectName(_fromUtf8("cmbStatyonaryType")) self.cmbStatyonaryType.addItem(_fromUtf8("")) self.cmbStatyonaryType.addItem(_fromUtf8("")) self.cmbStatyonaryType.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbStatyonaryType, 7, 1, 1, 1) self.lblStatyonaryType = QtGui.QLabel(self.layoutWidget) self.lblStatyonaryType.setObjectName(_fromUtf8("lblStatyonaryType")) self.gridLayout_6.addWidget(self.lblStatyonaryType, 7, 0, 1, 1) self.formLayout = QtGui.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtGui.QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.dtRefPlaned = CDateEdit(self.layoutWidget) self.dtRefPlaned.setObjectName(_fromUtf8("dtRefPlaned")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.dtRefPlaned) self.gridLayout_6.addLayout(self.formLayout, 2, 1, 1, 1) self.lblExamType = QtGui.QLabel(self.layoutWidget) self.lblExamType.setObjectName(_fromUtf8("lblExamType")) self.gridLayout_6.addWidget(self.lblExamType, 8, 0, 1, 1) self.cmbExamType = QtGui.QComboBox(self.layoutWidget) self.cmbExamType.setObjectName(_fromUtf8("cmbExamType")) self.cmbExamType.addItem(_fromUtf8("")) self.cmbExamType.addItem(_fromUtf8("")) self.cmbExamType.addItem(_fromUtf8("")) self.gridLayout_6.addWidget(self.cmbExamType, 8, 1, 1, 1) self.dtRefDate = CDateEdit(self.layoutWidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.dtRefDate.sizePolicy().hasHeightForWidth()) self.dtRefDate.setSizePolicy(sizePolicy) self.dtRefDate.setMinimumSize(QtCore.QSize(141, 0)) self.dtRefDate.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.dtRefDate.setObjectName(_fromUtf8("dtRefDate")) self.gridLayout_6.addWidget(self.dtRefDate, 1, 1, 1, 1) self.tblMoList = QtGui.QTableWidget(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblMoList.sizePolicy().hasHeightForWidth()) self.tblMoList.setSizePolicy(sizePolicy) self.tblMoList.setObjectName(_fromUtf8("tblMoList")) self.tblMoList.setColumnCount(0) self.tblMoList.setRowCount(0) self.gridLayout_8.addWidget(self.splitter, 0, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMaximumSize) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.btnAnotherLpu = QtGui.QPushButton(self.scrollAreaWidgetContents) self.btnAnotherLpu.setObjectName(_fromUtf8("btnAnotherLpu")) self.horizontalLayout_2.addWidget(self.btnAnotherLpu) self.btnGetMoList = QtGui.QPushButton(self.scrollAreaWidgetContents) self.btnGetMoList.setObjectName(_fromUtf8("btnGetMoList")) self.horizontalLayout_2.addWidget(self.btnGetMoList) self.btnSendRef = QtGui.QPushButton(self.scrollAreaWidgetContents) self.btnSendRef.setObjectName(_fromUtf8("btnSendRef")) self.horizontalLayout_2.addWidget(self.btnSendRef) self.gridLayout_8.addLayout(self.horizontalLayout_2, 1, 0, 1, 1) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout.addWidget(self.scrollArea, 0, 1, 1, 1) self.tabWidget.addTab(self.tabReserved, _fromUtf8("")) self.history = QtGui.QWidget() self.history.setObjectName(_fromUtf8("history")) self.gridLayout_2 = QtGui.QGridLayout(self.history) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.gridLayout_4 = QtGui.QGridLayout() self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.btnUpdateTable = QtGui.QPushButton(self.history) self.btnUpdateTable.setObjectName(_fromUtf8("btnUpdateTable")) self.gridLayout_4.addWidget(self.btnUpdateTable, 0, 1, 1, 1) self.btnUpdateStatuses = QtGui.QPushButton(self.history) self.btnUpdateStatuses.setCheckable(False) self.btnUpdateStatuses.setObjectName(_fromUtf8("btnUpdateStatuses")) self.gridLayout_4.addWidget(self.btnUpdateStatuses, 0, 2, 1, 1) self.btnCancellation = QtGui.QPushButton(self.history) self.btnCancellation.setObjectName(_fromUtf8("btnCancellation")) self.gridLayout_4.addWidget(self.btnCancellation, 0, 3, 1, 1) self.btnResultDocument = QtGui.QPushButton(self.history) self.btnResultDocument.setObjectName(_fromUtf8("btnResultDocument")) self.gridLayout_4.addWidget(self.btnResultDocument, 0, 0, 1, 1) self.btnEditReferral = QtGui.QPushButton(self.history) self.btnEditReferral.setObjectName(_fromUtf8("btnEditReferral")) self.gridLayout_4.addWidget(self.btnEditReferral, 0, 4, 1, 1) self.gridLayout_2.addLayout(self.gridLayout_4, 1, 1, 1, 1) self.scrollArea_2 = QtGui.QScrollArea(self.history) self.scrollArea_2.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName(_fromUtf8("scrollArea_2")) self.scrollAreaWidgetContents_2 = QtGui.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 1225, 691)) self.scrollAreaWidgetContents_2.setObjectName( _fromUtf8("scrollAreaWidgetContents_2")) self.horizontalLayout = QtGui.QHBoxLayout( self.scrollAreaWidgetContents_2) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.tblHistory = QtGui.QTableView(self.scrollAreaWidgetContents_2) self.tblHistory.setMinimumSize(QtCore.QSize(0, 200)) self.tblHistory.setObjectName(_fromUtf8("tblHistory")) self.horizontalLayout.addWidget(self.tblHistory) self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.gridLayout_2.addWidget(self.scrollArea_2, 0, 1, 1, 1) self.tabWidget.addTab(self.history, _fromUtf8("")) self.gridLayout_5.addWidget(self.tabWidget, 0, 0, 1, 1) self.retranslateUi(ReferralPage) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(ReferralPage) ReferralPage.setTabOrder(self.edtRefNumber, self.btnRefGenNumber) ReferralPage.setTabOrder(self.btnRefGenNumber, self.dtRefDate) ReferralPage.setTabOrder(self.dtRefDate, self.dtRefPlaned) ReferralPage.setTabOrder(self.dtRefPlaned, self.cmbPerson) ReferralPage.setTabOrder(self.cmbPerson, self.cmbRefHospType) ReferralPage.setTabOrder(self.cmbRefHospType, self.cmbRefBedProfile) ReferralPage.setTabOrder(self.cmbRefBedProfile, self.cmbOrgStructure) ReferralPage.setTabOrder(self.cmbOrgStructure, self.cmbStatyonaryType) ReferralPage.setTabOrder(self.cmbStatyonaryType, self.cmbRelegateMO) ReferralPage.setTabOrder(self.cmbRelegateMO, self.btnOrgFilter) ReferralPage.setTabOrder(self.btnOrgFilter, self.cmbMedProfile) ReferralPage.setTabOrder(self.cmbMedProfile, self.edtRefMKB) ReferralPage.setTabOrder(self.edtRefMKB, self.chkRefAgreement) ReferralPage.setTabOrder(self.chkRefAgreement, self.edtNotes) ReferralPage.setTabOrder(self.edtNotes, self.btnAnotherLpu) ReferralPage.setTabOrder(self.btnAnotherLpu, self.btnGetMoList) ReferralPage.setTabOrder(self.btnGetMoList, self.btnSendRef) ReferralPage.setTabOrder(self.btnSendRef, self.btnResultDocument) ReferralPage.setTabOrder(self.btnResultDocument, self.btnUpdateTable) ReferralPage.setTabOrder(self.btnUpdateTable, self.btnUpdateStatuses) ReferralPage.setTabOrder(self.btnUpdateStatuses, self.btnCancellation) ReferralPage.setTabOrder(self.btnCancellation, self.tblRefType) ReferralPage.setTabOrder(self.tblRefType, self.tblMoList) ReferralPage.setTabOrder(self.tblMoList, self.scrollArea) ReferralPage.setTabOrder(self.scrollArea, self.scrollArea_2) ReferralPage.setTabOrder(self.scrollArea_2, self.tblHistory) ReferralPage.setTabOrder(self.tblHistory, self.tabWidget)
def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(919, 628) self.verticalLayout = QtGui.QVBoxLayout(Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.sptTopLevel = QtGui.QSplitter(Dialog) self.sptTopLevel.setOrientation(QtCore.Qt.Vertical) self.sptTopLevel.setObjectName(_fromUtf8("sptTopLevel")) self.txtClientInfoBrowser = CTextBrowser(self.sptTopLevel) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth()) self.txtClientInfoBrowser.setSizePolicy(sizePolicy) self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100)) self.txtClientInfoBrowser.setMaximumSize(QtCore.QSize(16777215, 130)) self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus) self.txtClientInfoBrowser.setObjectName( _fromUtf8("txtClientInfoBrowser")) self.tabWidget = QtGui.QTabWidget(self.sptTopLevel) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabToken = QtGui.QWidget() self.tabToken.setObjectName(_fromUtf8("tabToken")) self.gridLayout = QtGui.QGridLayout(self.tabToken) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.scrollArea = QtGui.QScrollArea(self.tabToken) self.scrollArea.setFrameShape(QtGui.QFrame.NoFrame) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName(_fromUtf8("scrollArea")) self.scrollAreaWidgetContents = QtGui.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect( 0, 0, 867, 1115)) self.scrollAreaWidgetContents.setObjectName( _fromUtf8("scrollAreaWidgetContents")) self.verticalLayout_2 = QtGui.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.splitter_3 = QtGui.QSplitter(self.scrollAreaWidgetContents) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.layoutWidget = QtGui.QWidget(self.splitter_3) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.layoutWidget) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.grpBase = QtGui.QGroupBox(self.layoutWidget) self.grpBase.setObjectName(_fromUtf8("grpBase")) self.gridLayout_2 = QtGui.QGridLayout(self.grpBase) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblNextDate = QtGui.QLabel(self.grpBase) self.lblNextDate.setObjectName(_fromUtf8("lblNextDate")) self.gridLayout_2.addWidget(self.lblNextDate, 5, 0, 1, 1) self.lblEndDate = QtGui.QLabel(self.grpBase) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 4, 0, 1, 1) self.cmbContract = CContractComboBox(self.grpBase) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.cmbContract.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbContract, 0, 0, 1, 3) self.lblBegDate = QtGui.QLabel(self.grpBase) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 3, 0, 1, 1) self.lblResult = QtGui.QLabel(self.grpBase) self.lblResult.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout_2.addWidget(self.lblResult, 8, 2, 1, 1) self.cmbResult = CRBComboBox(self.grpBase) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.cmbResult.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbResult, 9, 0, 1, 3) self.cmbPerson = CPersonComboBoxEx(self.grpBase) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPerson, 7, 0, 1, 3) self.chkPrimary = QtGui.QCheckBox(self.grpBase) self.chkPrimary.setObjectName(_fromUtf8("chkPrimary")) self.gridLayout_2.addWidget(self.chkPrimary, 8, 0, 1, 2) spacerItem = QtGui.QSpacerItem(16, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 16, 0, 1, 2) self.lblPerson = QtGui.QLabel(self.grpBase) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout_2.addWidget(self.lblPerson, 6, 0, 1, 3) self.chkZNOMorph = QtGui.QCheckBox(self.grpBase) self.chkZNOMorph.setObjectName(_fromUtf8("chkZNOMorph")) self.gridLayout_2.addWidget(self.chkZNOMorph, 14, 0, 1, 3) self.chkExposeConfirmed = QtGui.QCheckBox(self.grpBase) self.chkExposeConfirmed.setObjectName(_fromUtf8("chkExposeConfirmed")) self.gridLayout_2.addWidget(self.chkExposeConfirmed, 2, 0, 1, 3) self.cmbGoal = CRBComboBox(self.grpBase) self.cmbGoal.setObjectName(_fromUtf8("cmbGoal")) self.gridLayout_2.addWidget(self.cmbGoal, 10, 1, 1, 2) self.lblGoal = QtGui.QLabel(self.grpBase) self.lblGoal.setObjectName(_fromUtf8("lblGoal")) self.gridLayout_2.addWidget(self.lblGoal, 10, 0, 1, 1) self.chkZNOFirst = QtGui.QCheckBox(self.grpBase) self.chkZNOFirst.setObjectName(_fromUtf8("chkZNOFirst")) self.gridLayout_2.addWidget(self.chkZNOFirst, 15, 0, 1, 3) self.chkDispByMobileTeam = QtGui.QCheckBox(self.grpBase) self.chkDispByMobileTeam.setToolTip(_fromUtf8("")) self.chkDispByMobileTeam.setWhatsThis(_fromUtf8("")) self.chkDispByMobileTeam.setObjectName( _fromUtf8("chkDispByMobileTeam")) self.gridLayout_2.addWidget(self.chkDispByMobileTeam, 11, 0, 1, 3) self.gbLittleStrangerFlag = QtGui.QGroupBox(self.grpBase) self.gbLittleStrangerFlag.setCheckable(True) self.gbLittleStrangerFlag.setChecked(False) self.gbLittleStrangerFlag.setObjectName( _fromUtf8("gbLittleStrangerFlag")) self.gridLayout_5 = QtGui.QGridLayout(self.gbLittleStrangerFlag) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.lblChildBirthDate = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildBirthDate.setObjectName(_fromUtf8("lblChildBirthDate")) self.gridLayout_5.addWidget(self.lblChildBirthDate, 1, 0, 1, 1) self.lblChildSex = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildSex.setObjectName(_fromUtf8("lblChildSex")) self.gridLayout_5.addWidget(self.lblChildSex, 0, 2, 1, 1) self.cmbChildSex = QtGui.QComboBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbChildSex.sizePolicy().hasHeightForWidth()) self.cmbChildSex.setSizePolicy(sizePolicy) self.cmbChildSex.setObjectName(_fromUtf8("cmbChildSex")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.setItemText(0, _fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.cmbChildSex.addItem(_fromUtf8("")) self.gridLayout_5.addWidget(self.cmbChildSex, 0, 3, 1, 1) self.chkMultipleBirths = QtGui.QCheckBox(self.gbLittleStrangerFlag) self.chkMultipleBirths.setObjectName(_fromUtf8("chkMultipleBirths")) self.gridLayout_5.addWidget(self.chkMultipleBirths, 4, 0, 1, 2) self.edtChildBirthDate = CDateEdit(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtChildBirthDate.sizePolicy().hasHeightForWidth()) self.edtChildBirthDate.setSizePolicy(sizePolicy) self.edtChildBirthDate.setCalendarPopup(True) self.edtChildBirthDate.setObjectName(_fromUtf8("edtChildBirthDate")) self.gridLayout_5.addWidget(self.edtChildBirthDate, 1, 2, 1, 2) self.lblChildNumber = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblChildNumber.setObjectName(_fromUtf8("lblChildNumber")) self.gridLayout_5.addWidget(self.lblChildNumber, 0, 0, 1, 1) self.sbChildNumber = QtGui.QSpinBox(self.gbLittleStrangerFlag) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.sbChildNumber.sizePolicy().hasHeightForWidth()) self.sbChildNumber.setSizePolicy(sizePolicy) self.sbChildNumber.setMinimum(1) self.sbChildNumber.setObjectName(_fromUtf8("sbChildNumber")) self.gridLayout_5.addWidget(self.sbChildNumber, 0, 1, 1, 1) self.lblBirthWeight = QtGui.QLabel(self.gbLittleStrangerFlag) self.lblBirthWeight.setObjectName(_fromUtf8("lblBirthWeight")) self.gridLayout_5.addWidget(self.lblBirthWeight, 2, 0, 1, 2) self.sbBirthWeight = QtGui.QDoubleSpinBox(self.gbLittleStrangerFlag) self.sbBirthWeight.setMaximum(9999.99) self.sbBirthWeight.setObjectName(_fromUtf8("sbBirthWeight")) self.gridLayout_5.addWidget(self.sbBirthWeight, 2, 2, 1, 2) self.gridLayout_2.addWidget(self.gbLittleStrangerFlag, 12, 0, 1, 3) self.frmBegDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmBegDateTime.sizePolicy().hasHeightForWidth()) self.frmBegDateTime.setSizePolicy(sizePolicy) self.frmBegDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmBegDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmBegDateTime.setLineWidth(0) self.frmBegDateTime.setObjectName(_fromUtf8("frmBegDateTime")) self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frmBegDateTime) self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setSpacing(4) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.edtBegDate = CDateEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.horizontalLayout_5.addWidget(self.edtBegDate) self.edtBegTime = QtGui.QTimeEdit(self.frmBegDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegTime.sizePolicy().hasHeightForWidth()) self.edtBegTime.setSizePolicy(sizePolicy) self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.horizontalLayout_5.addWidget(self.edtBegTime) self.gridLayout_2.addWidget(self.frmBegDateTime, 3, 1, 1, 2) self.frmNextDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmNextDateTime.sizePolicy().hasHeightForWidth()) self.frmNextDateTime.setSizePolicy(sizePolicy) self.frmNextDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmNextDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmNextDateTime.setLineWidth(0) self.frmNextDateTime.setObjectName(_fromUtf8("frmNextDateTime")) self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frmNextDateTime) self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtNextDate = CDateEdit(self.frmNextDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtNextDate.sizePolicy().hasHeightForWidth()) self.edtNextDate.setSizePolicy(sizePolicy) self.edtNextDate.setCalendarPopup(True) self.edtNextDate.setObjectName(_fromUtf8("edtNextDate")) self.horizontalLayout_3.addWidget(self.edtNextDate) self.gridLayout_2.addWidget(self.frmNextDateTime, 5, 1, 1, 2) self.frmEndDateTime = QtGui.QFrame(self.grpBase) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.frmEndDateTime.sizePolicy().hasHeightForWidth()) self.frmEndDateTime.setSizePolicy(sizePolicy) self.frmEndDateTime.setFrameShape(QtGui.QFrame.NoFrame) self.frmEndDateTime.setFrameShadow(QtGui.QFrame.Plain) self.frmEndDateTime.setLineWidth(0) self.frmEndDateTime.setObjectName(_fromUtf8("frmEndDateTime")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frmEndDateTime) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.edtEndDate = CDateEdit(self.frmEndDateTime) 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.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.horizontalLayout_2.addWidget(self.edtEndDate) self.edtEndTime = QtGui.QTimeEdit(self.frmEndDateTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndTime.sizePolicy().hasHeightForWidth()) self.edtEndTime.setSizePolicy(sizePolicy) self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.horizontalLayout_2.addWidget(self.edtEndTime) self.gridLayout_2.addWidget(self.frmEndDateTime, 4, 1, 1, 2) self.chkIsClosed = QtGui.QCheckBox(self.grpBase) self.chkIsClosed.setObjectName(_fromUtf8("chkIsClosed")) self.gridLayout_2.addWidget(self.chkIsClosed, 1, 0, 1, 3) self.horizontalLayout_4.addWidget(self.grpBase) self.grpWork = QtGui.QGroupBox(self.layoutWidget) self.grpWork.setObjectName(_fromUtf8("grpWork")) self._2 = QtGui.QGridLayout(self.grpWork) self._2.setMargin(4) self._2.setSpacing(4) self._2.setObjectName(_fromUtf8("_2")) self.btnSelectWorkOrganisation = QtGui.QToolButton(self.grpWork) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectWorkOrganisation.sizePolicy().hasHeightForWidth()) self.btnSelectWorkOrganisation.setSizePolicy(sizePolicy) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self._2.addWidget(self.btnSelectWorkOrganisation, 0, 3, 1, 1) self.cmbWorkOKVED = COKVEDComboBox(self.grpWork) self.cmbWorkOKVED.setObjectName(_fromUtf8("cmbWorkOKVED")) self._2.addWidget(self.cmbWorkOKVED, 5, 1, 1, 3) spacerItem1 = QtGui.QSpacerItem(111, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self._2.addItem(spacerItem1, 8, 0, 1, 2) self.edtPrevDate = CDateEdit(self.grpWork) self.edtPrevDate.setCalendarPopup(True) self.edtPrevDate.setObjectName(_fromUtf8("edtPrevDate")) self._2.addWidget(self.edtPrevDate, 7, 2, 1, 2) self.edtWorkStage = QtGui.QSpinBox(self.grpWork) self.edtWorkStage.setObjectName(_fromUtf8("edtWorkStage")) self._2.addWidget(self.edtWorkStage, 6, 1, 1, 3) self.lblWorkPost = QtGui.QLabel(self.grpWork) self.lblWorkPost.setObjectName(_fromUtf8("lblWorkPost")) self._2.addWidget(self.lblWorkPost, 4, 0, 1, 1) self.lblWorkOKVED = QtGui.QLabel(self.grpWork) self.lblWorkOKVED.setObjectName(_fromUtf8("lblWorkOKVED")) self._2.addWidget(self.lblWorkOKVED, 5, 0, 1, 1) self.label_7 = QtGui.QLabel(self.grpWork) self.label_7.setObjectName(_fromUtf8("label_7")) self._2.addWidget(self.label_7, 7, 0, 1, 2) self.lblWorkStage = QtGui.QLabel(self.grpWork) self.lblWorkStage.setObjectName(_fromUtf8("lblWorkStage")) self._2.addWidget(self.lblWorkStage, 6, 0, 1, 1) self.lblKPP = QtGui.QLabel(self.grpWork) self.lblKPP.setObjectName(_fromUtf8("lblKPP")) self._2.addWidget(self.lblKPP, 2, 0, 1, 4) self.lblINN = QtGui.QLabel(self.grpWork) self.lblINN.setObjectName(_fromUtf8("lblINN")) self._2.addWidget(self.lblINN, 1, 0, 1, 4) self.edtWorkPost = QtGui.QLineEdit(self.grpWork) self.edtWorkPost.setObjectName(_fromUtf8("edtWorkPost")) self._2.addWidget(self.edtWorkPost, 4, 1, 1, 3) self.cmbWorkOrganisation = COrgComboBox(self.grpWork) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self._2.addWidget(self.cmbWorkOrganisation, 0, 0, 1, 3) self.lblOGRN = QtGui.QLabel(self.grpWork) self.lblOGRN.setObjectName(_fromUtf8("lblOGRN")) self._2.addWidget(self.lblOGRN, 3, 0, 1, 4) self.horizontalLayout_4.addWidget(self.grpWork) self.tblWorkHurt = QtGui.QGroupBox(self.layoutWidget) self.tblWorkHurt.setObjectName(_fromUtf8("tblWorkHurt")) self._3 = QtGui.QGridLayout(self.tblWorkHurt) self._3.setMargin(0) self._3.setSpacing(0) self._3.setObjectName(_fromUtf8("_3")) self.splitter = QtGui.QSplitter(self.tblWorkHurt) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblWorkHurts = CWorkHurtTableView(self.splitter) self.tblWorkHurts.setObjectName(_fromUtf8("tblWorkHurts")) self.tblWorkHurtFactors = CInDocTableView(self.splitter) self.tblWorkHurtFactors.setObjectName(_fromUtf8("tblWorkHurtFactors")) self._3.addWidget(self.splitter, 0, 0, 1, 1) self.horizontalLayout_4.addWidget(self.tblWorkHurt) self.splitter_2 = QtGui.QSplitter(self.splitter_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter_2.sizePolicy().hasHeightForWidth()) self.splitter_2.setSizePolicy(sizePolicy) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.grpInspections = QtGui.QGroupBox(self.splitter_2) self.grpInspections.setObjectName(_fromUtf8("grpInspections")) self._4 = QtGui.QVBoxLayout(self.grpInspections) self._4.setMargin(4) self._4.setSpacing(4) self._4.setObjectName(_fromUtf8("_4")) self.tblFinalDiagnostics = CInDocTableView(self.grpInspections) self.tblFinalDiagnostics.setMinimumSize(QtCore.QSize(0, 100)) self.tblFinalDiagnostics.setObjectName( _fromUtf8("tblFinalDiagnostics")) self._4.addWidget(self.tblFinalDiagnostics) self.grpActions = QtGui.QGroupBox(self.splitter_2) self.grpActions.setObjectName(_fromUtf8("grpActions")) self._5 = QtGui.QGridLayout(self.grpActions) self._5.setMargin(4) self._5.setSpacing(4) self._5.setObjectName(_fromUtf8("_5")) self.tblActions = CInDocTableView(self.grpActions) self.tblActions.setMinimumSize(QtCore.QSize(0, 100)) self.tblActions.setObjectName(_fromUtf8("tblActions")) self._5.addWidget(self.tblActions, 0, 0, 1, 1) self.verticalLayout_2.addWidget(self.splitter_3) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1) self.tabWidget.addTab(self.tabToken, _fromUtf8("")) self.tabMes = CFastEventMesPage() self.tabMes.setObjectName(_fromUtf8("tabMes")) self.tabWidget.addTab(self.tabMes, _fromUtf8("")) self.tabStatus = CFastActionsPage() self.tabStatus.setObjectName(_fromUtf8("tabStatus")) self.tabWidget.addTab(self.tabStatus, _fromUtf8("")) self.tabDiagnostic = CFastActionsPage() self.tabDiagnostic.setObjectName(_fromUtf8("tabDiagnostic")) self.tabWidget.addTab(self.tabDiagnostic, _fromUtf8("")) self.tabCure = CFastActionsPage() self.tabCure.setObjectName(_fromUtf8("tabCure")) self.tabWidget.addTab(self.tabCure, _fromUtf8("")) self.tabMisc = CFastActionsPage() self.tabMisc.setObjectName(_fromUtf8("tabMisc")) self.tabWidget.addTab(self.tabMisc, _fromUtf8("")) self.tabCash = CFastEventCashPage() self.tabCash.setObjectName(_fromUtf8("tabCash")) self.tabWidget.addTab(self.tabCash, _fromUtf8("")) self.tabReferral = CReferralPage() self.tabReferral.setObjectName(_fromUtf8("tabReferral")) self.tabWidget.addTab(self.tabReferral, _fromUtf8("")) self.tabNotes = CFastEventNotesPage() self.tabNotes.setObjectName(_fromUtf8("tabNotes")) self.tabWidget.addTab(self.tabNotes, _fromUtf8("")) self.verticalLayout.addWidget(self.sptTopLevel) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblProlongateEvent = QtGui.QLabel(Dialog) self.lblProlongateEvent.setText(_fromUtf8("")) self.lblProlongateEvent.setObjectName(_fromUtf8("lblProlongateEvent")) self.horizontalLayout.addWidget(self.lblProlongateEvent) self.lblValueExternalId = QtGui.QLabel(Dialog) self.lblValueExternalId.setText(_fromUtf8("")) self.lblValueExternalId.setObjectName(_fromUtf8("lblValueExternalId")) self.horizontalLayout.addWidget(self.lblValueExternalId) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout.addWidget(self.buttonBox) self.verticalLayout.addLayout(self.horizontalLayout) self.statusBar = QtGui.QStatusBar(Dialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout.addWidget(self.statusBar) self.lblNextDate.setBuddy(self.edtNextDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblBegDate.setBuddy(self.edtBegDate) self.lblResult.setBuddy(self.cmbResult) self.lblPerson.setBuddy(self.cmbPerson) self.lblGoal.setBuddy(self.cmbGoal) self.lblChildBirthDate.setBuddy(self.edtChildBirthDate) self.lblChildSex.setBuddy(self.cmbChildSex) self.lblChildNumber.setBuddy(self.sbChildNumber) self.lblBirthWeight.setBuddy(self.sbBirthWeight) self.lblWorkPost.setBuddy(self.edtWorkPost) self.lblWorkOKVED.setBuddy(self.cmbWorkOKVED) self.label_7.setBuddy(self.edtPrevDate) self.lblWorkStage.setBuddy(self.edtWorkStage) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.tabWidget, self.scrollArea) Dialog.setTabOrder(self.scrollArea, self.cmbContract) Dialog.setTabOrder(self.cmbContract, self.chkIsClosed) Dialog.setTabOrder(self.chkIsClosed, self.chkExposeConfirmed) Dialog.setTabOrder(self.chkExposeConfirmed, self.edtBegDate) Dialog.setTabOrder(self.edtBegDate, self.edtBegTime) Dialog.setTabOrder(self.edtBegTime, self.edtEndDate) Dialog.setTabOrder(self.edtEndDate, self.edtEndTime) Dialog.setTabOrder(self.edtEndTime, self.edtNextDate) Dialog.setTabOrder(self.edtNextDate, self.cmbPerson) Dialog.setTabOrder(self.cmbPerson, self.chkPrimary) Dialog.setTabOrder(self.chkPrimary, self.cmbResult) Dialog.setTabOrder(self.cmbResult, self.cmbGoal) Dialog.setTabOrder(self.cmbGoal, self.chkDispByMobileTeam) Dialog.setTabOrder(self.chkDispByMobileTeam, self.gbLittleStrangerFlag) Dialog.setTabOrder(self.gbLittleStrangerFlag, self.sbChildNumber) Dialog.setTabOrder(self.sbChildNumber, self.cmbChildSex) Dialog.setTabOrder(self.cmbChildSex, self.edtChildBirthDate) Dialog.setTabOrder(self.edtChildBirthDate, self.sbBirthWeight) Dialog.setTabOrder(self.sbBirthWeight, self.chkMultipleBirths) Dialog.setTabOrder(self.chkMultipleBirths, self.chkZNOMorph) Dialog.setTabOrder(self.chkZNOMorph, self.chkZNOFirst) Dialog.setTabOrder(self.chkZNOFirst, self.cmbWorkOrganisation) Dialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) Dialog.setTabOrder(self.btnSelectWorkOrganisation, self.edtWorkPost) Dialog.setTabOrder(self.edtWorkPost, self.cmbWorkOKVED) Dialog.setTabOrder(self.cmbWorkOKVED, self.edtWorkStage) Dialog.setTabOrder(self.edtWorkStage, self.edtPrevDate) Dialog.setTabOrder(self.edtPrevDate, self.tblWorkHurts) Dialog.setTabOrder(self.tblWorkHurts, self.tblWorkHurtFactors) Dialog.setTabOrder(self.tblWorkHurtFactors, self.tblFinalDiagnostics) Dialog.setTabOrder(self.tblFinalDiagnostics, self.tblActions) Dialog.setTabOrder(self.tblActions, self.buttonBox)
def setupUi(self, ContractItemsListDialog): ContractItemsListDialog.setObjectName( _fromUtf8("ContractItemsListDialog")) ContractItemsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) ContractItemsListDialog.resize(1007, 456) ContractItemsListDialog.setSizeGripEnabled(True) ContractItemsListDialog.setModal(True) self.gridLayout_2 = QtGui.QGridLayout(ContractItemsListDialog) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.splitter_3 = QtGui.QSplitter(ContractItemsListDialog) self.splitter_3.setOrientation(QtCore.Qt.Horizontal) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.grbContractItemsFilter = QtGui.QGroupBox(self.splitter_3) self.grbContractItemsFilter.setObjectName( _fromUtf8("grbContractItemsFilter")) self.gridLayout = QtGui.QGridLayout(self.grbContractItemsFilter) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbStructureCode = QtGui.QComboBox(self.grbContractItemsFilter) self.cmbStructureCode.setObjectName(_fromUtf8("cmbStructureCode")) self.gridLayout.addWidget(self.cmbStructureCode, 6, 2, 1, 3) self.lblStructureCode = QtGui.QLabel(self.grbContractItemsFilter) self.lblStructureCode.setObjectName(_fromUtf8("lblStructureCode")) self.gridLayout.addWidget(self.lblStructureCode, 6, 0, 1, 1) self.lblResolution = QtGui.QLabel(self.grbContractItemsFilter) self.lblResolution.setObjectName(_fromUtf8("lblResolution")) self.gridLayout.addWidget(self.lblResolution, 2, 0, 1, 1) self.lblPriceList = QtGui.QLabel(self.grbContractItemsFilter) self.lblPriceList.setObjectName(_fromUtf8("lblPriceList")) self.gridLayout.addWidget(self.lblPriceList, 3, 0, 1, 1) self.cmbFinanceSource = CRBComboBox(self.grbContractItemsFilter) self.cmbFinanceSource.setObjectName(_fromUtf8("cmbFinanceSource")) self.gridLayout.addWidget(self.cmbFinanceSource, 0, 2, 1, 3) self.cmbGrouping = CStrComboBox(self.grbContractItemsFilter) self.cmbGrouping.setObjectName(_fromUtf8("cmbGrouping")) self.gridLayout.addWidget(self.cmbGrouping, 1, 2, 1, 3) spacerItem = QtGui.QSpacerItem(83, 153, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 13, 1, 1, 2) self.buttonBoxFilterContract = QtGui.QDialogButtonBox( self.grbContractItemsFilter) self.buttonBoxFilterContract.setStandardButtons( QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBoxFilterContract.setObjectName( _fromUtf8("buttonBoxFilterContract")) self.gridLayout.addWidget(self.buttonBoxFilterContract, 14, 0, 1, 5) self.edtBegDate = CDateEdit(self.grbContractItemsFilter) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 12, 2, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grbContractItemsFilter) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 9, 2, 1, 3) self.cmbPriceList = QtGui.QComboBox(self.grbContractItemsFilter) self.cmbPriceList.setObjectName(_fromUtf8("cmbPriceList")) self.cmbPriceList.addItem(_fromUtf8("")) self.cmbPriceList.addItem(_fromUtf8("")) self.cmbPriceList.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPriceList, 3, 2, 1, 3) self.lblPeriod = QtGui.QLabel(self.grbContractItemsFilter) self.lblPeriod.setObjectName(_fromUtf8("lblPeriod")) self.gridLayout.addWidget(self.lblPeriod, 12, 0, 1, 2) self.label_6 = QtGui.QLabel(self.grbContractItemsFilter) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 12, 3, 1, 1) self.cmbResolution = CStrComboBox(self.grbContractItemsFilter) self.cmbResolution.setObjectName(_fromUtf8("cmbResolution")) self.gridLayout.addWidget(self.cmbResolution, 2, 2, 1, 3) self.lblStatus = QtGui.QLabel(self.grbContractItemsFilter) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout.addWidget(self.lblStatus, 5, 0, 1, 1) self.lblNumber = QtGui.QLabel(self.grbContractItemsFilter) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout.addWidget(self.lblNumber, 10, 0, 1, 1) self.edtNumber = QtGui.QLineEdit(self.grbContractItemsFilter) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self.gridLayout.addWidget(self.edtNumber, 10, 2, 1, 3) self.lblPerson = QtGui.QLabel(self.grbContractItemsFilter) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 9, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(self.grbContractItemsFilter) self.cmbStatus.setMinimumSize(QtCore.QSize(234, 0)) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 5, 2, 1, 3) self.lblFinanceSource = QtGui.QLabel(self.grbContractItemsFilter) self.lblFinanceSource.setWordWrap(True) self.lblFinanceSource.setObjectName(_fromUtf8("lblFinanceSource")) self.gridLayout.addWidget(self.lblFinanceSource, 0, 0, 1, 2) self.lblGrouping = QtGui.QLabel(self.grbContractItemsFilter) self.lblGrouping.setObjectName(_fromUtf8("lblGrouping")) self.gridLayout.addWidget(self.lblGrouping, 1, 0, 1, 1) self.edtEndDate = CDateEdit(self.grbContractItemsFilter) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 12, 4, 1, 1) self.lblOrgName = QtGui.QLabel(self.grbContractItemsFilter) self.lblOrgName.setObjectName(_fromUtf8("lblOrgName")) self.gridLayout.addWidget(self.lblOrgName, 7, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbOrgId = COrgComboBox(self.grbContractItemsFilter) self.cmbOrgId.setEnabled(True) self.cmbOrgId.setMinimumSize(QtCore.QSize(200, 25)) self.cmbOrgId.setObjectName(_fromUtf8("cmbOrgId")) self.horizontalLayout.addWidget(self.cmbOrgId) self.btnSelectOrgName = QtGui.QToolButton(self.grbContractItemsFilter) self.btnSelectOrgName.setEnabled(True) self.btnSelectOrgName.setObjectName(_fromUtf8("btnSelectOrgName")) self.horizontalLayout.addWidget(self.btnSelectOrgName) self.gridLayout.addLayout(self.horizontalLayout, 7, 2, 1, 3) self.layoutWidget = QtGui.QWidget(self.splitter_3) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tabBar = CTabBar(self.layoutWidget) self.tabBar.setObjectName(_fromUtf8("tabBar")) self.verticalLayout.addWidget(self.tabBar) self.splitter = QtGui.QSplitter(self.layoutWidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblClearing = QtGui.QTableView(self.splitter) self.tblClearing.setObjectName(_fromUtf8("tblClearing")) self.tblClinicalTest = QtGui.QTableView(self.splitter) self.tblClinicalTest.setObjectName(_fromUtf8("tblClinicalTest")) self.tblItems = CTableView(self.splitter) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout.addWidget(self.splitter) self.gridLayout_2.addWidget(self.splitter_3, 0, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(ContractItemsListDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) self.buttonBox = QtGui.QDialogButtonBox(ContractItemsListDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.hboxlayout.addWidget(self.buttonBox) self.gridLayout_2.addLayout(self.hboxlayout, 1, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ContractItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridLayout_2.addWidget(self.statusBar, 3, 0, 1, 1) self.retranslateUi(ContractItemsListDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ContractItemsListDialog.close) QtCore.QMetaObject.connectSlotsByName(ContractItemsListDialog)
def setupUi(self, ReportPayersSetupDialog): ReportPayersSetupDialog.setObjectName( _fromUtf8("ReportPayersSetupDialog")) ReportPayersSetupDialog.resize(404, 371) ReportPayersSetupDialog.setMinimumSize(QtCore.QSize(383, 0)) self.gridLayout = QtGui.QGridLayout(ReportPayersSetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox(ReportPayersSetupDialog) 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, 11, 1, 1, 2) self.edtBegDate = CDateEdit(ReportPayersSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.lblBegDate = QtGui.QLabel(ReportPayersSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBegDate.sizePolicy().hasHeightForWidth()) self.lblBegDate.setSizePolicy(sizePolicy) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.cmbFinance = CRBComboBox(ReportPayersSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFinance.sizePolicy().hasHeightForWidth()) self.cmbFinance.setSizePolicy(sizePolicy) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 2, 1, 1, 2) self.lblFinance = QtGui.QLabel(ReportPayersSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblFinance.sizePolicy().hasHeightForWidth()) self.lblFinance.setSizePolicy(sizePolicy) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 2, 0, 1, 1) self.chkFreeInputWork = QtGui.QCheckBox(ReportPayersSetupDialog) self.chkFreeInputWork.setObjectName(_fromUtf8("chkFreeInputWork")) self.gridLayout.addWidget(self.chkFreeInputWork, 6, 0, 1, 1) self.edtFreeInputWork = QtGui.QLineEdit(ReportPayersSetupDialog) self.edtFreeInputWork.setObjectName(_fromUtf8("edtFreeInputWork")) self.gridLayout.addWidget(self.edtFreeInputWork, 6, 1, 1, 2) self.lblInsurer = QtGui.QLabel(ReportPayersSetupDialog) self.lblInsurer.setObjectName(_fromUtf8("lblInsurer")) self.gridLayout.addWidget(self.lblInsurer, 7, 0, 1, 1) self.lblContract = QtGui.QLabel(ReportPayersSetupDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 4, 0, 1, 1) self.chkPrintPayerResult = QtGui.QCheckBox(ReportPayersSetupDialog) self.chkPrintPayerResult.setObjectName( _fromUtf8("chkPrintPayerResult")) self.gridLayout.addWidget(self.chkPrintPayerResult, 8, 0, 1, 2) self.cmbClientOrganisation = COrgComboBox(ReportPayersSetupDialog) self.cmbClientOrganisation.setObjectName( _fromUtf8("cmbClientOrganisation")) self.gridLayout.addWidget(self.cmbClientOrganisation, 5, 1, 1, 2) self.edtEndDate = CDateEdit(ReportPayersSetupDialog) 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.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2) self.lblEndDate = QtGui.QLabel(ReportPayersSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblEndDate.sizePolicy().hasHeightForWidth()) self.lblEndDate.setSizePolicy(sizePolicy) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(368, 96, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 10, 0, 1, 3) self.cmbInsurer = CInsurerComboBox(ReportPayersSetupDialog) self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer")) self.gridLayout.addWidget(self.cmbInsurer, 7, 1, 1, 2) self.cmbContract = CIndependentContractComboBox( ReportPayersSetupDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 4, 1, 1, 2) self.lblClientOrganisation = QtGui.QLabel(ReportPayersSetupDialog) self.lblClientOrganisation.setObjectName( _fromUtf8("lblClientOrganisation")) self.gridLayout.addWidget(self.lblClientOrganisation, 5, 0, 1, 1) self.chkDetailContracts = QtGui.QCheckBox(ReportPayersSetupDialog) self.chkDetailContracts.setObjectName(_fromUtf8("chkDetailContracts")) self.gridLayout.addWidget(self.chkDetailContracts, 3, 0, 1, 2) self.lblSpeciality = QtGui.QLabel(ReportPayersSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 9, 0, 1, 1) self.cmbSpeciality = CRBComboBox(ReportPayersSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 9, 1, 1, 2) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.retranslateUi(ReportPayersSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPayersSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPayersSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportPayersSetupDialog)
def setupUi(self, PersonVisitsSetupDialog): PersonVisitsSetupDialog.setObjectName( _fromUtf8("PersonVisitsSetupDialog")) PersonVisitsSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) PersonVisitsSetupDialog.resize(341, 317) PersonVisitsSetupDialog.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(PersonVisitsSetupDialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.lblBegDate = QtGui.QLabel(PersonVisitsSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(PersonVisitsSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.lblEndDate = QtGui.QLabel(PersonVisitsSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.edtEndDate = CDateEdit(PersonVisitsSetupDialog) 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.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 2) self.lblPerson = QtGui.QLabel(PersonVisitsSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 4, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(PersonVisitsSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 4, 1, 1, 4) self.lblEventPurpose = QtGui.QLabel(PersonVisitsSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridlayout.addWidget(self.lblEventPurpose, 5, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(PersonVisitsSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridlayout.addWidget(self.cmbEventPurpose, 5, 1, 1, 4) self.lblEventType = QtGui.QLabel(PersonVisitsSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridlayout.addWidget(self.lblEventType, 6, 0, 1, 1) self.cmbEventType = CRBComboBox(PersonVisitsSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridlayout.addWidget(self.cmbEventType, 6, 1, 1, 4) self.lblScene = QtGui.QLabel(PersonVisitsSetupDialog) self.lblScene.setObjectName(_fromUtf8("lblScene")) self.gridlayout.addWidget(self.lblScene, 7, 0, 1, 1) self.cmbScene = CRBComboBox(PersonVisitsSetupDialog) self.cmbScene.setObjectName(_fromUtf8("cmbScene")) self.gridlayout.addWidget(self.cmbScene, 7, 1, 1, 4) self.lblWorkOrganisation = QtGui.QLabel(PersonVisitsSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridlayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1) self.cmbWorkOrganisation = COrgComboBox(PersonVisitsSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridlayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3) self.btnSelectWorkOrganisation = QtGui.QToolButton( PersonVisitsSetupDialog) self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridlayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1) self.lblSex = QtGui.QLabel(PersonVisitsSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1) self.cmbSex = QtGui.QComboBox(PersonVisitsSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSex.sizePolicy().hasHeightForWidth()) self.cmbSex.setSizePolicy(sizePolicy) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbSex, 9, 1, 1, 1) self.lblAge = QtGui.QLabel(PersonVisitsSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridlayout.addWidget(self.lblAge, 10, 0, 1, 1) self.frmAge = QtGui.QFrame(PersonVisitsSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.gridlayout.addWidget(self.frmAge, 10, 1, 1, 4) spacerItem1 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem1, 11, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(PersonVisitsSetupDialog) 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, 12, 0, 1, 5) self.cmbOrgStructure = COrgStructureComboBox(PersonVisitsSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridlayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 4) self.lblOrgStructure = QtGui.QLabel(PersonVisitsSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridlayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventPurpose.setBuddy(self.cmbPerson) self.lblEventType.setBuddy(self.cmbPerson) self.lblScene.setBuddy(self.cmbPerson) self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.retranslateUi(PersonVisitsSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), PersonVisitsSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), PersonVisitsSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(PersonVisitsSetupDialog) PersonVisitsSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) PersonVisitsSetupDialog.setTabOrder(self.edtEndDate, self.cmbOrgStructure) PersonVisitsSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson) PersonVisitsSetupDialog.setTabOrder(self.cmbPerson, self.cmbEventPurpose) PersonVisitsSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType) PersonVisitsSetupDialog.setTabOrder(self.cmbEventType, self.cmbScene) PersonVisitsSetupDialog.setTabOrder(self.cmbScene, self.cmbWorkOrganisation) PersonVisitsSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) PersonVisitsSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbSex) PersonVisitsSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) PersonVisitsSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) PersonVisitsSetupDialog.setTabOrder(self.edtAgeTo, self.buttonBox)
def setupUi(self, DispObservationSetupDialog): DispObservationSetupDialog.setObjectName( _fromUtf8("DispObservationSetupDialog")) DispObservationSetupDialog.setWindowModality( QtCore.Qt.ApplicationModal) DispObservationSetupDialog.resize(519, 506) DispObservationSetupDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(DispObservationSetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.frmAge = QtGui.QFrame(DispObservationSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.gridLayout.addWidget(self.frmAge, 4, 2, 1, 4) self.frmMKB = QtGui.QFrame(DispObservationSetupDialog) self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKB.setFrameShadow(QtGui.QFrame.Raised) self.frmMKB.setObjectName(_fromUtf8("frmMKB")) self.gridlayout = QtGui.QGridLayout(self.frmMKB) self.gridlayout.setMargin(0) self.gridlayout.setHorizontalSpacing(4) self.gridlayout.setVerticalSpacing(0) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbMKBFilter, 0, 0, 1, 1) self.edtMKBFrom = CICDCodeEdit(self.frmMKB) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridlayout.addWidget(self.edtMKBFrom, 0, 1, 1, 1) self.edtMKBTo = CICDCodeEdit(self.frmMKB) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridlayout.addWidget(self.edtMKBTo, 0, 2, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKB, 9, 2, 1, 4) self.frmMKBEx = QtGui.QFrame(DispObservationSetupDialog) self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised) self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx")) self.gridlayout1 = QtGui.QGridLayout(self.frmMKBEx) self.gridlayout1.setMargin(0) self.gridlayout1.setHorizontalSpacing(4) self.gridlayout1.setVerticalSpacing(0) self.gridlayout1.setObjectName(_fromUtf8("gridlayout1")) self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx) self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.gridlayout1.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1) self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx) self.edtMKBExFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExFrom.sizePolicy().hasHeightForWidth()) self.edtMKBExFrom.setSizePolicy(sizePolicy) self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExFrom.setMaxLength(6) self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom")) self.gridlayout1.addWidget(self.edtMKBExFrom, 0, 1, 1, 1) self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx) self.edtMKBExTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExTo.sizePolicy().hasHeightForWidth()) self.edtMKBExTo.setSizePolicy(sizePolicy) self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExTo.setMaxLength(6) self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo")) self.gridlayout1.addWidget(self.edtMKBExTo, 0, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem2, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKBEx, 10, 2, 1, 4) self.lblBegDate = QtGui.QLabel(DispObservationSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 2) self.edtBegDate = CDateEdit(DispObservationSetupDialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 2, 1, 3) spacerItem3 = QtGui.QSpacerItem(84, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem3, 0, 5, 1, 1) self.lblEndDate = QtGui.QLabel(DispObservationSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 2) self.edtEndDate = CDateEdit(DispObservationSetupDialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 2, 1, 3) spacerItem4 = QtGui.QSpacerItem(84, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 1, 5, 1, 1) self.lblWorkOrganisation = QtGui.QLabel(DispObservationSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 2, 0, 1, 2) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbWorkOrganisation = COrgComboBox(DispObservationSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.horizontalLayout.addWidget(self.cmbWorkOrganisation) self.btnSelectWorkOrganisation = QtGui.QToolButton( DispObservationSetupDialog) self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.horizontalLayout.addWidget(self.btnSelectWorkOrganisation) self.gridLayout.addLayout(self.horizontalLayout, 2, 2, 1, 4) self.lblSex = QtGui.QLabel(DispObservationSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 3, 0, 1, 1) self.cmbSex = QtGui.QComboBox(DispObservationSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 3, 2, 1, 2) spacerItem5 = QtGui.QSpacerItem(144, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 3, 4, 1, 2) self.lblAge = QtGui.QLabel(DispObservationSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 4, 0, 1, 2) self.chkArea = QtGui.QCheckBox(DispObservationSetupDialog) self.chkArea.setObjectName(_fromUtf8("chkArea")) self.gridLayout.addWidget(self.chkArea, 5, 2, 1, 4) self.lblArea = QtGui.QLabel(DispObservationSetupDialog) self.lblArea.setObjectName(_fromUtf8("lblArea")) self.gridLayout.addWidget(self.lblArea, 6, 0, 1, 2) self.lblPerson = QtGui.QLabel(DispObservationSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 2) self.cmbPerson = CPersonComboBoxEx(DispObservationSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 4) self.lblMKB = QtGui.QLabel(DispObservationSetupDialog) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridLayout.addWidget(self.lblMKB, 9, 0, 1, 2) self.lblMKBEx = QtGui.QLabel(DispObservationSetupDialog) self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx")) self.gridLayout.addWidget(self.lblMKBEx, 10, 0, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(DispObservationSetupDialog) 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, 16, 3, 1, 3) self.cmbArea = COrgStructureComboBox(DispObservationSetupDialog) self.cmbArea.setEnabled(False) self.cmbArea.setObjectName(_fromUtf8("cmbArea")) self.gridLayout.addWidget(self.cmbArea, 6, 2, 1, 4) self.cmbSpeciality = CRBComboBox(DispObservationSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 7, 2, 1, 4) self.lblSpeciality = QtGui.QLabel(DispObservationSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 7, 0, 1, 2) self.lblSocStatusType = QtGui.QLabel(DispObservationSetupDialog) self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType")) self.gridLayout.addWidget(self.lblSocStatusType, 11, 0, 1, 2) self.lblSocStatusClass = QtGui.QLabel(DispObservationSetupDialog) self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass")) self.gridLayout.addWidget(self.lblSocStatusClass, 12, 0, 1, 1) self.cmbSocStatusType = CRBComboBox(DispObservationSetupDialog) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridLayout.addWidget(self.cmbSocStatusType, 11, 2, 1, 4) self.cmbSocStatusClass = CRBComboBox(DispObservationSetupDialog) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridLayout.addWidget(self.cmbSocStatusClass, 12, 2, 1, 4) self.label = QtGui.QLabel(DispObservationSetupDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 13, 0, 1, 1) spacerItem6 = QtGui.QSpacerItem(126, 28, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem6, 16, 2, 1, 1) self.cmbRowGrouping = QtGui.QComboBox(DispObservationSetupDialog) self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbRowGrouping, 13, 2, 1, 4) self.lblOrgStrucutreAttachType = QtGui.QLabel( DispObservationSetupDialog) self.lblOrgStrucutreAttachType.setObjectName( _fromUtf8("lblOrgStrucutreAttachType")) self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 15, 0, 1, 1) self.cmbOrgStructureAttachType = COrgStructureComboBox( DispObservationSetupDialog) self.cmbOrgStructureAttachType.setObjectName( _fromUtf8("cmbOrgStructureAttachType")) self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 15, 2, 1, 4) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.lblArea.setBuddy(self.cmbArea) self.lblPerson.setBuddy(self.cmbPerson) self.lblMKB.setBuddy(self.cmbMKBFilter) self.lblMKBEx.setBuddy(self.cmbMKBExFilter) self.retranslateUi(DispObservationSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), DispObservationSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), DispObservationSetupDialog.reject) QtCore.QObject.connect(self.chkArea, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbArea.setEnabled) QtCore.QMetaObject.connectSlotsByName(DispObservationSetupDialog) DispObservationSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) DispObservationSetupDialog.setTabOrder(self.edtEndDate, self.cmbWorkOrganisation) DispObservationSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) DispObservationSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbSex) DispObservationSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) DispObservationSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) DispObservationSetupDialog.setTabOrder(self.edtAgeTo, self.chkArea) DispObservationSetupDialog.setTabOrder(self.chkArea, self.cmbArea) DispObservationSetupDialog.setTabOrder(self.cmbArea, self.cmbMKBFilter) DispObservationSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) DispObservationSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) DispObservationSetupDialog.setTabOrder(self.edtMKBTo, self.cmbMKBExFilter) DispObservationSetupDialog.setTabOrder(self.cmbMKBExFilter, self.edtMKBExFrom) DispObservationSetupDialog.setTabOrder(self.edtMKBExFrom, self.edtMKBExTo) DispObservationSetupDialog.setTabOrder(self.edtMKBExTo, self.buttonBox)
def setupUi(self, ItemEditorDialog): ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog")) ItemEditorDialog.resize(434, 451) self.gridLayout = QtGui.QGridLayout(ItemEditorDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) spacerItem = QtGui.QSpacerItem(20, 25, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 1) self.formLayout = QtGui.QFormLayout() self.formLayout.setObjectName(_fromUtf8("formLayout")) self.lblPaymentType = QtGui.QLabel(ItemEditorDialog) self.lblPaymentType.setObjectName(_fromUtf8("lblPaymentType")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.lblPaymentType) self.cmbPaymentType = QtGui.QComboBox(ItemEditorDialog) self.cmbPaymentType.setMinimumSize(QtCore.QSize(234, 0)) self.cmbPaymentType.setObjectName(_fromUtf8("cmbPaymentType")) self.cmbPaymentType.addItem(_fromUtf8("")) self.cmbPaymentType.addItem(_fromUtf8("")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.cmbPaymentType) self.lblCodePart = QtGui.QLabel(ItemEditorDialog) self.lblCodePart.setObjectName(_fromUtf8("lblCodePart")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.lblCodePart) self.cmbCodePart = QtGui.QComboBox(ItemEditorDialog) self.cmbCodePart.setMinimumSize(QtCore.QSize(234, 0)) self.cmbCodePart.setObjectName(_fromUtf8("cmbCodePart")) self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.cmbCodePart) self.lblOKPF = QtGui.QLabel(ItemEditorDialog) self.lblOKPF.setObjectName(_fromUtf8("lblOKPF")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.lblOKPF) self.cmbOKPF = CRBComboBox(ItemEditorDialog) self.cmbOKPF.setMinimumSize(QtCore.QSize(234, 0)) self.cmbOKPF.setObjectName(_fromUtf8("cmbOKPF")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbOKPF) self.lblOrgName = QtGui.QLabel(ItemEditorDialog) self.lblOrgName.setObjectName(_fromUtf8("lblOrgName")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.lblOrgName) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbOrgId = COrgComboBox(ItemEditorDialog) self.cmbOrgId.setEnabled(True) self.cmbOrgId.setMinimumSize(QtCore.QSize(200, 25)) self.cmbOrgId.setObjectName(_fromUtf8("cmbOrgId")) self.horizontalLayout.addWidget(self.cmbOrgId) self.btnSelectOrgName = QtGui.QToolButton(ItemEditorDialog) self.btnSelectOrgName.setEnabled(True) self.btnSelectOrgName.setObjectName(_fromUtf8("btnSelectOrgName")) self.horizontalLayout.addWidget(self.btnSelectOrgName) self.formLayout.setLayout(3, QtGui.QFormLayout.FieldRole, self.horizontalLayout) self.lblContractNumber = QtGui.QLabel(ItemEditorDialog) self.lblContractNumber.setObjectName(_fromUtf8("lblContractNumber")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.lblContractNumber) self.edtContractNumber = QtGui.QLineEdit(ItemEditorDialog) self.edtContractNumber.setMinimumSize(QtCore.QSize(234, 0)) self.edtContractNumber.setObjectName(_fromUtf8("edtContractNumber")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.edtContractNumber) self.lblDate = QtGui.QLabel(ItemEditorDialog) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.lblDate) self.edtDate = CDateEdit(ItemEditorDialog) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.edtDate) self.lblEndDate = QtGui.QLabel(ItemEditorDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.lblEndDate) self.edtEndDate = CDateEdit(ItemEditorDialog) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.edtEndDate) self.lblContractSum = QtGui.QLabel(ItemEditorDialog) self.lblContractSum.setObjectName(_fromUtf8("lblContractSum")) self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.lblContractSum) self.edtContractSum = QtGui.QLineEdit(ItemEditorDialog) self.edtContractSum.setMinimumSize(QtCore.QSize(234, 0)) self.edtContractSum.setObjectName(_fromUtf8("edtContractSum")) self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.edtContractSum) self.lblContragent = QtGui.QLabel(ItemEditorDialog) self.lblContragent.setObjectName(_fromUtf8("lblContragent")) self.formLayout.setWidget(8, QtGui.QFormLayout.LabelRole, self.lblContragent) self.edtContragent = QtGui.QLineEdit(ItemEditorDialog) self.edtContragent.setObjectName(_fromUtf8("edtContragent")) self.formLayout.setWidget(8, QtGui.QFormLayout.FieldRole, self.edtContragent) self.lblProtocolNumber = QtGui.QLabel(ItemEditorDialog) self.lblProtocolNumber.setObjectName(_fromUtf8("lblProtocolNumber")) self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.lblProtocolNumber) self.edtProtocolNum = QtGui.QLineEdit(ItemEditorDialog) self.edtProtocolNum.setObjectName(_fromUtf8("edtProtocolNum")) self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.edtProtocolNum) self.lblProtocolPhase = QtGui.QLabel(ItemEditorDialog) self.lblProtocolPhase.setObjectName(_fromUtf8("lblProtocolPhase")) self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.lblProtocolPhase) self.edtProtocolPhase = QtGui.QLineEdit(ItemEditorDialog) self.edtProtocolPhase.setObjectName(_fromUtf8("edtProtocolPhase")) self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.edtProtocolPhase) self.lblProtocolName = QtGui.QLabel(ItemEditorDialog) self.lblProtocolName.setObjectName(_fromUtf8("lblProtocolName")) self.formLayout.setWidget(11, QtGui.QFormLayout.LabelRole, self.lblProtocolName) self.edtProtocolName = QtGui.QLineEdit(ItemEditorDialog) self.edtProtocolName.setObjectName(_fromUtf8("edtProtocolName")) self.formLayout.setWidget(11, QtGui.QFormLayout.FieldRole, self.edtProtocolName) self.lblRecPatients = QtGui.QLabel(ItemEditorDialog) self.lblRecPatients.setObjectName(_fromUtf8("lblRecPatients")) self.formLayout.setWidget(12, QtGui.QFormLayout.LabelRole, self.lblRecPatients) self.cmbRecPatients = QtGui.QComboBox(ItemEditorDialog) self.cmbRecPatients.setObjectName(_fromUtf8("cmbRecPatients")) self.cmbRecPatients.addItem(_fromUtf8("")) self.cmbRecPatients.addItem(_fromUtf8("")) self.formLayout.setWidget(12, QtGui.QFormLayout.FieldRole, self.cmbRecPatients) self.lblContractItem = QtGui.QLabel(ItemEditorDialog) self.lblContractItem.setObjectName(_fromUtf8("lblContractItem")) self.formLayout.setWidget(13, QtGui.QFormLayout.LabelRole, self.lblContractItem) self.edtContractItem = QtGui.QLineEdit(ItemEditorDialog) self.edtContractItem.setObjectName(_fromUtf8("edtContractItem")) self.formLayout.setWidget(13, QtGui.QFormLayout.FieldRole, self.edtContractItem) self.lblAddress = QtGui.QLabel(ItemEditorDialog) self.lblAddress.setObjectName(_fromUtf8("lblAddress")) self.formLayout.setWidget(14, QtGui.QFormLayout.LabelRole, self.lblAddress) self.edtAddress = QtGui.QLineEdit(ItemEditorDialog) self.edtAddress.setObjectName(_fromUtf8("edtAddress")) self.formLayout.setWidget(14, QtGui.QFormLayout.FieldRole, self.edtAddress) self.gridLayout.addLayout(self.formLayout, 1, 0, 1, 1) self.lblPaymentType.setBuddy(self.cmbPaymentType) self.lblCodePart.setBuddy(self.cmbCodePart) self.lblOKPF.setBuddy(self.cmbOKPF) self.lblOrgName.setBuddy(self.cmbOrgId) self.lblContractNumber.setBuddy(self.edtContractNumber) self.lblDate.setBuddy(self.edtDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblContractSum.setBuddy(self.edtContractSum) self.retranslateUi(ItemEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ItemEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ItemEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog)
def setupUi(self, ProbeWorkListWidget): ProbeWorkListWidget.setObjectName(_fromUtf8("ProbeWorkListWidget")) ProbeWorkListWidget.resize(857, 887) self.gridLayout_4 = QtGui.QGridLayout(ProbeWorkListWidget) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.splitter_2 = QtGui.QSplitter(ProbeWorkListWidget) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.grpFilter = QtGui.QGroupBox(self.splitter_2) self.grpFilter.setObjectName(_fromUtf8("grpFilter")) self.gridLayout_2 = QtGui.QGridLayout(self.grpFilter) self.gridLayout_2.setMargin(2) self.gridLayout_2.setSpacing(2) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.cmbPWLEquipment = CRBComboBox(self.grpFilter) self.cmbPWLEquipment.setObjectName(_fromUtf8("cmbPWLEquipment")) self.gridLayout_2.addWidget(self.cmbPWLEquipment, 6, 0, 1, 2) self.lblPWLTestGroup = QtGui.QLabel(self.grpFilter) self.lblPWLTestGroup.setObjectName(_fromUtf8("lblPWLTestGroup")) self.gridLayout_2.addWidget(self.lblPWLTestGroup, 9, 0, 1, 2) self.buttonBoxPWL = CApplyResetDialogButtonBox(self.grpFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.buttonBoxPWL.sizePolicy().hasHeightForWidth()) self.buttonBoxPWL.setSizePolicy(sizePolicy) self.buttonBoxPWL.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBoxPWL.setObjectName(_fromUtf8("buttonBoxPWL")) self.gridLayout_2.addWidget(self.buttonBoxPWL, 30, 1, 1, 1) self.cmbPWLTestGroup = CRBComboBox(self.grpFilter) self.cmbPWLTestGroup.setObjectName(_fromUtf8("cmbPWLTestGroup")) self.gridLayout_2.addWidget(self.cmbPWLTestGroup, 10, 0, 1, 2) self.pnlDates = QtGui.QWidget(self.grpFilter) self.pnlDates.setObjectName(_fromUtf8("pnlDates")) self.horizontalLayout = QtGui.QHBoxLayout(self.pnlDates) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblDateFrom = QtGui.QLabel(self.pnlDates) self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom")) self.horizontalLayout.addWidget(self.lblDateFrom) self.edtPWLDateFrom = CDateEdit(self.pnlDates) self.edtPWLDateFrom.setObjectName(_fromUtf8("edtPWLDateFrom")) self.horizontalLayout.addWidget(self.edtPWLDateFrom) self.lblDateTo = QtGui.QLabel(self.pnlDates) self.lblDateTo.setObjectName(_fromUtf8("lblDateTo")) self.horizontalLayout.addWidget(self.lblDateTo) self.edtPWLDateTo = CDateEdit(self.pnlDates) self.edtPWLDateTo.setObjectName(_fromUtf8("edtPWLDateTo")) self.horizontalLayout.addWidget(self.edtPWLDateTo) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.gridLayout_2.addWidget(self.pnlDates, 27, 0, 1, 2) self.cmbPWLStatus = QtGui.QComboBox(self.grpFilter) self.cmbPWLStatus.setObjectName(_fromUtf8("cmbPWLStatus")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.cmbPWLStatus.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbPWLStatus, 14, 0, 1, 2) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem1, 29, 0, 1, 2) self.grpClient = QtGui.QGroupBox(self.grpFilter) self.grpClient.setCheckable(True) self.grpClient.setChecked(False) self.grpClient.setObjectName(_fromUtf8("grpClient")) self.gridLayout_5 = QtGui.QGridLayout(self.grpClient) self.gridLayout_5.setMargin(2) self.gridLayout_5.setSpacing(2) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.chkPWLId = QtGui.QCheckBox(self.grpClient) self.chkPWLId.setObjectName(_fromUtf8("chkPWLId")) self.gridLayout_5.addWidget(self.chkPWLId, 0, 0, 1, 1) self.cmbPWLAccountingSystem = CRBComboBox(self.grpClient) self.cmbPWLAccountingSystem.setEnabled(False) self.cmbPWLAccountingSystem.setObjectName( _fromUtf8("cmbPWLAccountingSystem")) self.gridLayout_5.addWidget(self.cmbPWLAccountingSystem, 0, 1, 1, 2) self.edtPWLId = QtGui.QLineEdit(self.grpClient) self.edtPWLId.setEnabled(False) self.edtPWLId.setInputMask(_fromUtf8("")) self.edtPWLId.setMaxLength(32767) self.edtPWLId.setObjectName(_fromUtf8("edtPWLId")) self.gridLayout_5.addWidget(self.edtPWLId, 1, 0, 1, 3) self.chkPWLLastName = QtGui.QCheckBox(self.grpClient) self.chkPWLLastName.setObjectName(_fromUtf8("chkPWLLastName")) self.gridLayout_5.addWidget(self.chkPWLLastName, 2, 0, 1, 1) self.edtPWLLastName = QtGui.QLineEdit(self.grpClient) self.edtPWLLastName.setEnabled(False) self.edtPWLLastName.setObjectName(_fromUtf8("edtPWLLastName")) self.gridLayout_5.addWidget(self.edtPWLLastName, 2, 1, 1, 2) self.chkPWLFirstName = QtGui.QCheckBox(self.grpClient) self.chkPWLFirstName.setObjectName(_fromUtf8("chkPWLFirstName")) self.gridLayout_5.addWidget(self.chkPWLFirstName, 3, 0, 1, 1) self.edtPWLFirstName = QtGui.QLineEdit(self.grpClient) self.edtPWLFirstName.setEnabled(False) self.edtPWLFirstName.setObjectName(_fromUtf8("edtPWLFirstName")) self.gridLayout_5.addWidget(self.edtPWLFirstName, 3, 1, 1, 2) self.chkPWLPatrName = QtGui.QCheckBox(self.grpClient) self.chkPWLPatrName.setObjectName(_fromUtf8("chkPWLPatrName")) self.gridLayout_5.addWidget(self.chkPWLPatrName, 4, 0, 1, 1) self.edtPWLPatrName = QtGui.QLineEdit(self.grpClient) self.edtPWLPatrName.setEnabled(False) self.edtPWLPatrName.setObjectName(_fromUtf8("edtPWLPatrName")) self.gridLayout_5.addWidget(self.edtPWLPatrName, 4, 1, 1, 2) self.chkPWLBirthDay = QtGui.QCheckBox(self.grpClient) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPWLBirthDay.sizePolicy().hasHeightForWidth()) self.chkPWLBirthDay.setSizePolicy(sizePolicy) self.chkPWLBirthDay.setObjectName(_fromUtf8("chkPWLBirthDay")) self.gridLayout_5.addWidget(self.chkPWLBirthDay, 5, 0, 1, 1) self.edtPWLBirthDay = CDateEdit(self.grpClient) self.edtPWLBirthDay.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtPWLBirthDay.sizePolicy().hasHeightForWidth()) self.edtPWLBirthDay.setSizePolicy(sizePolicy) self.edtPWLBirthDay.setCalendarPopup(True) self.edtPWLBirthDay.setObjectName(_fromUtf8("edtPWLBirthDay")) self.gridLayout_5.addWidget(self.edtPWLBirthDay, 5, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(86, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 5, 2, 1, 1) self.gridLayout_2.addWidget(self.grpClient, 28, 0, 1, 2) self.lblPWLContainerType = QtGui.QLabel(self.grpFilter) self.lblPWLContainerType.setObjectName( _fromUtf8("lblPWLContainerType")) self.gridLayout_2.addWidget(self.lblPWLContainerType, 17, 0, 1, 2) self.cmbPWLContainerType = CRBComboBox(self.grpFilter) self.cmbPWLContainerType.setObjectName( _fromUtf8("cmbPWLContainerType")) self.gridLayout_2.addWidget(self.cmbPWLContainerType, 18, 0, 1, 2) self.cmbPWLPerson = CPersonComboBoxEx(self.grpFilter) self.cmbPWLPerson.setObjectName(_fromUtf8("cmbPWLPerson")) self.gridLayout_2.addWidget(self.cmbPWLPerson, 20, 0, 1, 2) self.cmbPWLTest = CRBComboBox(self.grpFilter) self.cmbPWLTest.setObjectName(_fromUtf8("cmbPWLTest")) self.gridLayout_2.addWidget(self.cmbPWLTest, 12, 0, 1, 2) self.lblPWLTissueType = QtGui.QLabel(self.grpFilter) self.lblPWLTissueType.setObjectName(_fromUtf8("lblPWLTissueType")) self.gridLayout_2.addWidget(self.lblPWLTissueType, 15, 0, 1, 2) self.cmbPWLTissueType = CRBComboBox(self.grpFilter) self.cmbPWLTissueType.setObjectName(_fromUtf8("cmbPWLTissueType")) self.gridLayout_2.addWidget(self.cmbPWLTissueType, 16, 0, 1, 2) self.cmbPWLRelegateOrg = COrgComboBox(self.grpFilter) self.cmbPWLRelegateOrg.setEnabled(False) self.cmbPWLRelegateOrg.setObjectName(_fromUtf8("cmbPWLRelegateOrg")) self.gridLayout_2.addWidget(self.cmbPWLRelegateOrg, 4, 0, 1, 2) self.chkPWLRelegateOrg = QtGui.QCheckBox(self.grpFilter) self.chkPWLRelegateOrg.setObjectName(_fromUtf8("chkPWLRelegateOrg")) self.gridLayout_2.addWidget(self.chkPWLRelegateOrg, 2, 0, 1, 2) self.lblPWLProbeIdentifier = QtGui.QLabel(self.grpFilter) self.lblPWLProbeIdentifier.setObjectName( _fromUtf8("lblPWLProbeIdentifier")) self.gridLayout_2.addWidget(self.lblPWLProbeIdentifier, 23, 0, 1, 2) self.edtPWLProbeIdentifier = QtGui.QLineEdit(self.grpFilter) self.edtPWLProbeIdentifier.setObjectName( _fromUtf8("edtPWLProbeIdentifier")) self.gridLayout_2.addWidget(self.edtPWLProbeIdentifier, 24, 0, 1, 2) self.lblPWLIbm = QtGui.QLabel(self.grpFilter) self.lblPWLIbm.setObjectName(_fromUtf8("lblPWLIbm")) self.gridLayout_2.addWidget(self.lblPWLIbm, 21, 0, 1, 2) self.lblPWLPerson = QtGui.QLabel(self.grpFilter) self.lblPWLPerson.setObjectName(_fromUtf8("lblPWLPerson")) self.gridLayout_2.addWidget(self.lblPWLPerson, 19, 0, 1, 2) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem3, 30, 0, 1, 1) self.lblPWLTripod = QtGui.QLabel(self.grpFilter) self.lblPWLTripod.setObjectName(_fromUtf8("lblPWLTripod")) self.gridLayout_2.addWidget(self.lblPWLTripod, 7, 0, 1, 2) self.edtPWLTripodNumber = QtGui.QLineEdit(self.grpFilter) self.edtPWLTripodNumber.setObjectName(_fromUtf8("edtPWLTripodNumber")) self.gridLayout_2.addWidget(self.edtPWLTripodNumber, 8, 0, 1, 2) self.lblPWLOrganisation = QtGui.QLabel(self.grpFilter) self.lblPWLOrganisation.setObjectName(_fromUtf8("lblPWLOrganisation")) self.gridLayout_2.addWidget(self.lblPWLOrganisation, 0, 0, 1, 2) self.lblPWLEquipment = QtGui.QLabel(self.grpFilter) self.lblPWLEquipment.setObjectName(_fromUtf8("lblPWLEquipment")) self.gridLayout_2.addWidget(self.lblPWLEquipment, 5, 0, 1, 2) self.lblPWLStatus = QtGui.QLabel(self.grpFilter) self.lblPWLStatus.setObjectName(_fromUtf8("lblPWLStatus")) self.gridLayout_2.addWidget(self.lblPWLStatus, 13, 0, 1, 2) self.lblPWLTest = QtGui.QLabel(self.grpFilter) self.lblPWLTest.setObjectName(_fromUtf8("lblPWLTest")) self.gridLayout_2.addWidget(self.lblPWLTest, 11, 0, 1, 2) self.edtPWLIbm = QtGui.QLineEdit(self.grpFilter) self.edtPWLIbm.setObjectName(_fromUtf8("edtPWLIbm")) self.gridLayout_2.addWidget(self.edtPWLIbm, 22, 0, 1, 2) self.chkPWLIsUrgent = QtGui.QCheckBox(self.grpFilter) self.chkPWLIsUrgent.setObjectName(_fromUtf8("chkPWLIsUrgent")) self.gridLayout_2.addWidget(self.chkPWLIsUrgent, 25, 0, 1, 2) self.cmbPWLOrgStructure = COrgStructureComboBox(self.grpFilter) self.cmbPWLOrgStructure.setObjectName(_fromUtf8("cmbPWLOrgStructure")) self.gridLayout_2.addWidget(self.cmbPWLOrgStructure, 1, 0, 1, 2) self.pnlPWLProbes = QtGui.QWidget(self.splitter_2) self.pnlPWLProbes.setObjectName(_fromUtf8("pnlPWLProbes")) self.gridLayout_3 = QtGui.QGridLayout(self.pnlPWLProbes) self.gridLayout_3.setMargin(0) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.tabWidgetPWL = QtGui.QTabWidget(self.pnlPWLProbes) self.tabWidgetPWL.setObjectName(_fromUtf8("tabWidgetPWL")) self.tabPWLProbes = QtGui.QWidget() self.tabPWLProbes.setObjectName(_fromUtf8("tabPWLProbes")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.tabPWLProbes) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(self.tabPWLProbes) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlPWLOnlyProbes = QtGui.QWidget(self.splitter) self.pnlPWLOnlyProbes.setObjectName(_fromUtf8("pnlPWLOnlyProbes")) self.verticalLayout = QtGui.QVBoxLayout(self.pnlPWLOnlyProbes) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tblPWLOnlyProbes = CTableView(self.pnlPWLOnlyProbes) self.tblPWLOnlyProbes.setObjectName(_fromUtf8("tblPWLOnlyProbes")) self.verticalLayout.addWidget(self.tblPWLOnlyProbes) self.lblOnlyProbesCount = QtGui.QLabel(self.pnlPWLOnlyProbes) self.lblOnlyProbesCount.setObjectName(_fromUtf8("lblOnlyProbesCount")) self.verticalLayout.addWidget(self.lblOnlyProbesCount) self.pnlPWLOnlyTests = QtGui.QWidget(self.splitter) self.pnlPWLOnlyTests.setObjectName(_fromUtf8("pnlPWLOnlyTests")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlPWLOnlyTests) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblPWLOnlyTests = CSamplePreparationView(self.pnlPWLOnlyTests) self.tblPWLOnlyTests.setObjectName(_fromUtf8("tblPWLOnlyTests")) self.verticalLayout_2.addWidget(self.tblPWLOnlyTests) self.lblOnlyTestsCount = QtGui.QLabel(self.pnlPWLOnlyTests) self.lblOnlyTestsCount.setObjectName(_fromUtf8("lblOnlyTestsCount")) self.verticalLayout_2.addWidget(self.lblOnlyTestsCount) self.verticalLayout_3.addWidget(self.splitter) self.tabWidgetPWL.addTab(self.tabPWLProbes, _fromUtf8("")) self.tabPWLTests = QtGui.QWidget() self.tabPWLTests.setObjectName(_fromUtf8("tabPWLTests")) self.gridLayout = QtGui.QGridLayout(self.tabPWLTests) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblPWLProbe = CSamplePreparationView(self.tabPWLTests) self.tblPWLProbe.setObjectName(_fromUtf8("tblPWLProbe")) self.gridLayout.addWidget(self.tblPWLProbe, 0, 0, 1, 1) self.lblProbeCount = QtGui.QLabel(self.tabPWLTests) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblProbeCount.sizePolicy().hasHeightForWidth()) self.lblProbeCount.setSizePolicy(sizePolicy) self.lblProbeCount.setObjectName(_fromUtf8("lblProbeCount")) self.gridLayout.addWidget(self.lblProbeCount, 1, 0, 1, 1) self.tabWidgetPWL.addTab(self.tabPWLTests, _fromUtf8("")) self.gridLayout_3.addWidget(self.tabWidgetPWL, 0, 0, 1, 6) self.btnPWLExport = QtGui.QPushButton(self.pnlPWLProbes) self.btnPWLExport.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnPWLExport.sizePolicy().hasHeightForWidth()) self.btnPWLExport.setSizePolicy(sizePolicy) self.btnPWLExport.setObjectName(_fromUtf8("btnPWLExport")) self.gridLayout_3.addWidget(self.btnPWLExport, 2, 2, 1, 1) self.btnPWLImport = QtGui.QPushButton(self.pnlPWLProbes) self.btnPWLImport.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnPWLImport.sizePolicy().hasHeightForWidth()) self.btnPWLImport.setSizePolicy(sizePolicy) self.btnPWLImport.setObjectName(_fromUtf8("btnPWLImport")) self.gridLayout_3.addWidget(self.btnPWLImport, 2, 3, 1, 1) self.btnPWLPrint = QtGui.QPushButton(self.pnlPWLProbes) self.btnPWLPrint.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnPWLPrint.sizePolicy().hasHeightForWidth()) self.btnPWLPrint.setSizePolicy(sizePolicy) self.btnPWLPrint.setObjectName(_fromUtf8("btnPWLPrint")) self.gridLayout_3.addWidget(self.btnPWLPrint, 2, 4, 1, 1) self.btnRegistration = QtGui.QPushButton(self.pnlPWLProbes) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnRegistration.sizePolicy().hasHeightForWidth()) self.btnRegistration.setSizePolicy(sizePolicy) self.btnRegistration.setObjectName(_fromUtf8("btnRegistration")) self.gridLayout_3.addWidget(self.btnRegistration, 2, 5, 1, 1) self.btnPWLTripod = QtGui.QPushButton(self.pnlPWLProbes) self.btnPWLTripod.setObjectName(_fromUtf8("btnPWLTripod")) self.gridLayout_3.addWidget(self.btnPWLTripod, 2, 1, 1, 1) self.gridLayout_4.addWidget(self.splitter_2, 0, 0, 1, 1) self.retranslateUi(ProbeWorkListWidget) self.tabWidgetPWL.setCurrentIndex(0) QtCore.QObject.connect(self.chkPWLRelegateOrg, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPWLRelegateOrg.setEnabled) QtCore.QObject.connect(self.chkPWLId, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPWLAccountingSystem.setEnabled) QtCore.QObject.connect(self.chkPWLId, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPWLId.setEnabled) QtCore.QObject.connect(self.chkPWLLastName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPWLLastName.setEnabled) QtCore.QObject.connect(self.chkPWLFirstName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPWLFirstName.setEnabled) QtCore.QObject.connect(self.chkPWLPatrName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPWLPatrName.setEnabled) QtCore.QObject.connect(self.chkPWLBirthDay, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPWLBirthDay.setEnabled) QtCore.QMetaObject.connectSlotsByName(ProbeWorkListWidget) ProbeWorkListWidget.setTabOrder(self.chkPWLRelegateOrg, self.cmbPWLRelegateOrg) ProbeWorkListWidget.setTabOrder(self.cmbPWLRelegateOrg, self.cmbPWLEquipment) ProbeWorkListWidget.setTabOrder(self.cmbPWLEquipment, self.edtPWLTripodNumber) ProbeWorkListWidget.setTabOrder(self.edtPWLTripodNumber, self.cmbPWLTestGroup) ProbeWorkListWidget.setTabOrder(self.cmbPWLTestGroup, self.cmbPWLTest) ProbeWorkListWidget.setTabOrder(self.cmbPWLTest, self.cmbPWLStatus) ProbeWorkListWidget.setTabOrder(self.cmbPWLStatus, self.cmbPWLTissueType) ProbeWorkListWidget.setTabOrder(self.cmbPWLTissueType, self.cmbPWLContainerType) ProbeWorkListWidget.setTabOrder(self.cmbPWLContainerType, self.cmbPWLPerson) ProbeWorkListWidget.setTabOrder(self.cmbPWLPerson, self.edtPWLIbm) ProbeWorkListWidget.setTabOrder(self.edtPWLIbm, self.edtPWLProbeIdentifier) ProbeWorkListWidget.setTabOrder(self.edtPWLProbeIdentifier, self.chkPWLIsUrgent) ProbeWorkListWidget.setTabOrder(self.chkPWLIsUrgent, self.edtPWLDateFrom) ProbeWorkListWidget.setTabOrder(self.edtPWLDateFrom, self.edtPWLDateTo) ProbeWorkListWidget.setTabOrder(self.edtPWLDateTo, self.grpClient) ProbeWorkListWidget.setTabOrder(self.grpClient, self.chkPWLId) ProbeWorkListWidget.setTabOrder(self.chkPWLId, self.cmbPWLAccountingSystem) ProbeWorkListWidget.setTabOrder(self.cmbPWLAccountingSystem, self.edtPWLId) ProbeWorkListWidget.setTabOrder(self.edtPWLId, self.chkPWLLastName) ProbeWorkListWidget.setTabOrder(self.chkPWLLastName, self.edtPWLLastName) ProbeWorkListWidget.setTabOrder(self.edtPWLLastName, self.chkPWLFirstName) ProbeWorkListWidget.setTabOrder(self.chkPWLFirstName, self.edtPWLFirstName) ProbeWorkListWidget.setTabOrder(self.edtPWLFirstName, self.chkPWLPatrName) ProbeWorkListWidget.setTabOrder(self.chkPWLPatrName, self.edtPWLPatrName) ProbeWorkListWidget.setTabOrder(self.edtPWLPatrName, self.chkPWLBirthDay) ProbeWorkListWidget.setTabOrder(self.chkPWLBirthDay, self.edtPWLBirthDay) ProbeWorkListWidget.setTabOrder(self.edtPWLBirthDay, self.buttonBoxPWL) ProbeWorkListWidget.setTabOrder(self.buttonBoxPWL, self.tabWidgetPWL) ProbeWorkListWidget.setTabOrder(self.tabWidgetPWL, self.tblPWLOnlyProbes) ProbeWorkListWidget.setTabOrder(self.tblPWLOnlyProbes, self.tblPWLOnlyTests) ProbeWorkListWidget.setTabOrder(self.tblPWLOnlyTests, self.tblPWLProbe) ProbeWorkListWidget.setTabOrder(self.tblPWLProbe, self.btnPWLTripod) ProbeWorkListWidget.setTabOrder(self.btnPWLTripod, self.btnPWLExport) ProbeWorkListWidget.setTabOrder(self.btnPWLExport, self.btnPWLImport) ProbeWorkListWidget.setTabOrder(self.btnPWLImport, self.btnPWLPrint) ProbeWorkListWidget.setTabOrder(self.btnPWLPrint, self.btnRegistration)
def setupUi(self, ReportPreventiveExaminationsSetupDialog): ReportPreventiveExaminationsSetupDialog.setObjectName( _fromUtf8("ReportPreventiveExaminationsSetupDialog")) ReportPreventiveExaminationsSetupDialog.resize(320, 188) self.gridLayout = QtGui.QGridLayout( ReportPreventiveExaminationsSetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbEventType = CRBComboBox( ReportPreventiveExaminationsSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 1) self.lblEventType = QtGui.QLabel( ReportPreventiveExaminationsSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1) self.lblBegDate = QtGui.QLabel(ReportPreventiveExaminationsSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.btnSelectWorkOrganisation = QtGui.QToolButton( ReportPreventiveExaminationsSetupDialog) self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 2, 2, 1, 1) self.lblClientOrganisation = QtGui.QLabel( ReportPreventiveExaminationsSetupDialog) self.lblClientOrganisation.setObjectName( _fromUtf8("lblClientOrganisation")) self.gridLayout.addWidget(self.lblClientOrganisation, 2, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox( ReportPreventiveExaminationsSetupDialog) 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, 5, 0, 1, 3) self.lblEndDate = QtGui.QLabel(ReportPreventiveExaminationsSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.cmbWorkOrganisation = COrgComboBox( ReportPreventiveExaminationsSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 2, 1, 1, 1) self.edtBegDate = CDateEdit(ReportPreventiveExaminationsSetupDialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.edtEndDate = CDateEdit(ReportPreventiveExaminationsSetupDialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 4, 1, 1, 1) self.lblEventType.setBuddy(self.cmbEventType) self.lblBegDate.setBuddy(self.edtBegDate) self.lblClientOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblEndDate.setBuddy(self.edtEndDate) self.retranslateUi(ReportPreventiveExaminationsSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPreventiveExaminationsSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPreventiveExaminationsSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName( ReportPreventiveExaminationsSetupDialog) ReportPreventiveExaminationsSetupDialog.setTabOrder( self.edtBegDate, self.edtEndDate) ReportPreventiveExaminationsSetupDialog.setTabOrder( self.edtEndDate, self.cmbWorkOrganisation) ReportPreventiveExaminationsSetupDialog.setTabOrder( self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) ReportPreventiveExaminationsSetupDialog.setTabOrder( self.btnSelectWorkOrganisation, self.cmbEventType) ReportPreventiveExaminationsSetupDialog.setTabOrder( self.cmbEventType, self.buttonBox)
def setupUi(self, EventResultSetupDialog): EventResultSetupDialog.setObjectName( _fromUtf8("EventResultSetupDialog")) EventResultSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) EventResultSetupDialog.resize(343, 599) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( EventResultSetupDialog.sizePolicy().hasHeightForWidth()) EventResultSetupDialog.setSizePolicy(sizePolicy) EventResultSetupDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(EventResultSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbClientAddressCity = CAllSelectableKLADRComboBox( EventResultSetupDialog) self.cmbClientAddressCity.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbClientAddressCity.sizePolicy().hasHeightForWidth()) self.cmbClientAddressCity.setSizePolicy(sizePolicy) self.cmbClientAddressCity.setObjectName( _fromUtf8("cmbClientAddressCity")) self.gridLayout.addWidget(self.cmbClientAddressCity, 24, 1, 1, 4) self.lblSpeciality = QtGui.QLabel(EventResultSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 8, 0, 1, 1) self.cmbClientAddressStreet = CStreetComboBox(EventResultSetupDialog) self.cmbClientAddressStreet.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbClientAddressStreet.sizePolicy().hasHeightForWidth()) self.cmbClientAddressStreet.setSizePolicy(sizePolicy) self.cmbClientAddressStreet.setObjectName( _fromUtf8("cmbClientAddressStreet")) self.gridLayout.addWidget(self.cmbClientAddressStreet, 25, 1, 1, 4) self.cmbClientAddressType = QtGui.QComboBox(EventResultSetupDialog) self.cmbClientAddressType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbClientAddressType.sizePolicy().hasHeightForWidth()) self.cmbClientAddressType.setSizePolicy(sizePolicy) self.cmbClientAddressType.setObjectName( _fromUtf8("cmbClientAddressType")) self.cmbClientAddressType.addItem(_fromUtf8("")) self.cmbClientAddressType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClientAddressType, 23, 1, 1, 4) self.chkClientAddress = QtGui.QCheckBox(EventResultSetupDialog) self.chkClientAddress.setEnabled(False) self.chkClientAddress.setObjectName(_fromUtf8("chkClientAddress")) self.gridLayout.addWidget(self.chkClientAddress, 23, 0, 1, 1) self.lblPrimary = QtGui.QLabel(EventResultSetupDialog) self.lblPrimary.setObjectName(_fromUtf8("lblPrimary")) self.gridLayout.addWidget(self.lblPrimary, 15, 0, 1, 1) self.cmbSpeciality = CRBComboBox(EventResultSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 8, 1, 1, 4) self.cmbResult = CRBComboBox(EventResultSetupDialog) self.cmbResult.setObjectName(_fromUtf8("cmbResult")) self.gridLayout.addWidget(self.cmbResult, 14, 1, 1, 4) self.cmbEventPurpose = CRBComboBox(EventResultSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 2, 1, 1, 4) self.frmAge = QtGui.QFrame(EventResultSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) spacerItem = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.gridLayout.addWidget(self.frmAge, 18, 1, 1, 4) self.frmMKBEx = QtGui.QFrame(EventResultSetupDialog) self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised) self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx")) self.gridlayout = QtGui.QGridLayout(self.frmMKBEx) self.gridlayout.setMargin(0) self.gridlayout.setHorizontalSpacing(4) self.gridlayout.setVerticalSpacing(0) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx) self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1) self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx) self.edtMKBExFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExFrom.sizePolicy().hasHeightForWidth()) self.edtMKBExFrom.setSizePolicy(sizePolicy) self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExFrom.setMaxLength(6) self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom")) self.gridlayout.addWidget(self.edtMKBExFrom, 0, 1, 1, 1) self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx) self.edtMKBExTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExTo.sizePolicy().hasHeightForWidth()) self.edtMKBExTo.setSizePolicy(sizePolicy) self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExTo.setMaxLength(6) self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo")) self.gridlayout.addWidget(self.edtMKBExTo, 0, 2, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKBEx, 28, 1, 2, 4) self.pnlHomeAddress = QtGui.QWidget(EventResultSetupDialog) self.pnlHomeAddress.setEnabled(True) self.pnlHomeAddress.setObjectName(_fromUtf8("pnlHomeAddress")) self.horizontalLayout = QtGui.QHBoxLayout(self.pnlHomeAddress) self.horizontalLayout.setSpacing(0) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblAddressHouse = QtGui.QLabel(self.pnlHomeAddress) self.lblAddressHouse.setEnabled(False) self.lblAddressHouse.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblAddressHouse.setObjectName(_fromUtf8("lblAddressHouse")) self.horizontalLayout.addWidget(self.lblAddressHouse) self.edtAddressHouse = QtGui.QLineEdit(self.pnlHomeAddress) self.edtAddressHouse.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAddressHouse.sizePolicy().hasHeightForWidth()) self.edtAddressHouse.setSizePolicy(sizePolicy) self.edtAddressHouse.setObjectName(_fromUtf8("edtAddressHouse")) self.horizontalLayout.addWidget(self.edtAddressHouse) self.lblAddressCorpus = QtGui.QLabel(self.pnlHomeAddress) self.lblAddressCorpus.setEnabled(False) self.lblAddressCorpus.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblAddressCorpus.setObjectName(_fromUtf8("lblAddressCorpus")) self.horizontalLayout.addWidget(self.lblAddressCorpus) self.edtAddressCorpus = QtGui.QLineEdit(self.pnlHomeAddress) self.edtAddressCorpus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAddressCorpus.sizePolicy().hasHeightForWidth()) self.edtAddressCorpus.setSizePolicy(sizePolicy) self.edtAddressCorpus.setObjectName(_fromUtf8("edtAddressCorpus")) self.horizontalLayout.addWidget(self.edtAddressCorpus) self.lblAddressFlat = QtGui.QLabel(self.pnlHomeAddress) self.lblAddressFlat.setEnabled(False) self.lblAddressFlat.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblAddressFlat.setObjectName(_fromUtf8("lblAddressFlat")) self.horizontalLayout.addWidget(self.lblAddressFlat) self.edtAddressFlat = QtGui.QLineEdit(self.pnlHomeAddress) self.edtAddressFlat.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAddressFlat.sizePolicy().hasHeightForWidth()) self.edtAddressFlat.setSizePolicy(sizePolicy) self.edtAddressFlat.setObjectName(_fromUtf8("edtAddressFlat")) self.horizontalLayout.addWidget(self.edtAddressFlat) self.gridLayout.addWidget(self.pnlHomeAddress, 26, 1, 1, 4) self.frmMKB = QtGui.QFrame(EventResultSetupDialog) self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKB.setFrameShadow(QtGui.QFrame.Raised) self.frmMKB.setObjectName(_fromUtf8("frmMKB")) self.gridlayout1 = QtGui.QGridLayout(self.frmMKB) self.gridlayout1.setMargin(0) self.gridlayout1.setHorizontalSpacing(4) self.gridlayout1.setVerticalSpacing(0) self.gridlayout1.setObjectName(_fromUtf8("gridlayout1")) self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridlayout1.addWidget(self.cmbMKBFilter, 0, 0, 1, 1) self.edtMKBFrom = CICDCodeEdit(self.frmMKB) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridlayout1.addWidget(self.edtMKBFrom, 0, 1, 1, 1) self.edtMKBTo = CICDCodeEdit(self.frmMKB) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridlayout1.addWidget(self.edtMKBTo, 0, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem2, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKB, 27, 1, 1, 4) self.cmbPerson = CPersonComboBoxEx(EventResultSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 10, 1, 1, 4) self.buttonBox = QtGui.QDialogButtonBox(EventResultSetupDialog) 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, 33, 0, 1, 5) self.lblOrder = QtGui.QLabel(EventResultSetupDialog) self.lblOrder.setObjectName(_fromUtf8("lblOrder")) self.gridLayout.addWidget(self.lblOrder, 16, 0, 1, 1) self.cmbPrimary = QtGui.QComboBox(EventResultSetupDialog) self.cmbPrimary.setObjectName(_fromUtf8("cmbPrimary")) self.cmbPrimary.addItem(_fromUtf8("")) self.cmbPrimary.setItemText(0, _fromUtf8("")) self.cmbPrimary.addItem(_fromUtf8("")) self.cmbPrimary.addItem(_fromUtf8("")) self.cmbPrimary.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPrimary, 15, 1, 1, 4) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 30, 0, 1, 1) self.lblEventPurpose = QtGui.QLabel(EventResultSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 2, 0, 1, 1) self.lblResult = QtGui.QLabel(EventResultSetupDialog) self.lblResult.setObjectName(_fromUtf8("lblResult")) self.gridLayout.addWidget(self.lblResult, 14, 0, 1, 1) self.cmbOrder = QtGui.QComboBox(EventResultSetupDialog) self.cmbOrder.setObjectName(_fromUtf8("cmbOrder")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.setItemText(0, _fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.cmbOrder.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbOrder, 16, 1, 1, 4) self.lblEventType = QtGui.QLabel(EventResultSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 3, 0, 1, 1) self.cmbEventType = CRBComboBox(EventResultSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 3, 1, 1, 4) self.cmbOrgStructure = COrgStructureComboBox(EventResultSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 4) self.lblOrgStructure = QtGui.QLabel(EventResultSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1) self.chkOrgStructureArea = QtGui.QCheckBox(EventResultSetupDialog) self.chkOrgStructureArea.setEnabled(False) self.chkOrgStructureArea.setObjectName( _fromUtf8("chkOrgStructureArea")) self.gridLayout.addWidget(self.chkOrgStructureArea, 22, 0, 1, 1) self.cmbAddressType = QtGui.QComboBox(EventResultSetupDialog) self.cmbAddressType.setEnabled(False) self.cmbAddressType.setObjectName(_fromUtf8("cmbAddressType")) self.cmbAddressType.addItem(_fromUtf8("")) self.cmbAddressType.addItem(_fromUtf8("")) self.cmbAddressType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbAddressType, 24, 0, 1, 1) self.lblBegDate = QtGui.QLabel(EventResultSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(EventResultSetupDialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) spacerItem4 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 0, 3, 1, 2) self.lblEndDate = QtGui.QLabel(EventResultSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.edtEndDate = CDateEdit(EventResultSetupDialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2) spacerItem5 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 1, 3, 1, 2) self.lblWorkOrganisation = QtGui.QLabel(EventResultSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 13, 0, 1, 1) self.cmbWorkOrganisation = COrgComboBox(EventResultSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 13, 1, 1, 3) self.btnSelectWorkOrganisation = QtGui.QToolButton( EventResultSetupDialog) self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 13, 4, 1, 1) self.lblSex = QtGui.QLabel(EventResultSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 17, 0, 1, 1) self.cmbSex = QtGui.QComboBox(EventResultSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 17, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem6, 17, 2, 1, 3) self.lblAge = QtGui.QLabel(EventResultSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 18, 0, 1, 1) self.cmbArea = COrgStructureComboBox(EventResultSetupDialog) self.cmbArea.setEnabled(False) self.cmbArea.setObjectName(_fromUtf8("cmbArea")) self.gridLayout.addWidget(self.cmbArea, 22, 1, 1, 4) self.lblMKB = QtGui.QLabel(EventResultSetupDialog) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridLayout.addWidget(self.lblMKB, 27, 0, 1, 1) self.lblMKBEx = QtGui.QLabel(EventResultSetupDialog) self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx")) self.gridLayout.addWidget(self.lblMKBEx, 28, 0, 1, 1) self.lblPerson = QtGui.QLabel(EventResultSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 10, 0, 1, 1) self.chkVisitEmergency = QtGui.QCheckBox(EventResultSetupDialog) self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency")) self.gridLayout.addWidget(self.chkVisitEmergency, 19, 0, 1, 1) self.chkArea = QtGui.QCheckBox(EventResultSetupDialog) self.chkArea.setObjectName(_fromUtf8("chkArea")) self.gridLayout.addWidget(self.chkArea, 20, 0, 1, 1) self.chkPerson = QtGui.QCheckBox(EventResultSetupDialog) self.chkPerson.setObjectName(_fromUtf8("chkPerson")) self.gridLayout.addWidget(self.chkPerson, 12, 1, 1, 1) self.chkVisitPlace = QtGui.QCheckBox(EventResultSetupDialog) self.chkVisitPlace.setObjectName(_fromUtf8("chkVisitPlace")) self.gridLayout.addWidget(self.chkVisitPlace, 21, 0, 1, 1) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAddressHouse.setBuddy(self.edtAddressHouse) self.lblAddressCorpus.setBuddy(self.edtAddressCorpus) self.lblAddressFlat.setBuddy(self.edtAddressFlat) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.lblEventType.setBuddy(self.cmbEventType) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.lblMKB.setBuddy(self.cmbMKBFilter) self.lblMKBEx.setBuddy(self.cmbMKBExFilter) self.lblPerson.setBuddy(self.cmbPerson) self.retranslateUi(EventResultSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), EventResultSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), EventResultSetupDialog.reject) QtCore.QObject.connect(self.chkArea, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.chkOrgStructureArea.setEnabled) QtCore.QMetaObject.connectSlotsByName(EventResultSetupDialog) EventResultSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) EventResultSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventPurpose) EventResultSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType) EventResultSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure) EventResultSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality) EventResultSetupDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson) EventResultSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkOrganisation) EventResultSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) EventResultSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbResult) EventResultSetupDialog.setTabOrder(self.cmbResult, self.cmbPrimary) EventResultSetupDialog.setTabOrder(self.cmbPrimary, self.cmbOrder) EventResultSetupDialog.setTabOrder(self.cmbOrder, self.cmbSex) EventResultSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) EventResultSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) EventResultSetupDialog.setTabOrder(self.edtAgeTo, self.chkOrgStructureArea) EventResultSetupDialog.setTabOrder(self.chkOrgStructureArea, self.cmbArea) EventResultSetupDialog.setTabOrder(self.cmbArea, self.chkClientAddress) EventResultSetupDialog.setTabOrder(self.chkClientAddress, self.cmbClientAddressType) EventResultSetupDialog.setTabOrder(self.cmbClientAddressType, self.cmbAddressType) EventResultSetupDialog.setTabOrder(self.cmbAddressType, self.cmbClientAddressCity) EventResultSetupDialog.setTabOrder(self.cmbClientAddressCity, self.cmbClientAddressStreet) EventResultSetupDialog.setTabOrder(self.cmbClientAddressStreet, self.edtAddressHouse) EventResultSetupDialog.setTabOrder(self.edtAddressHouse, self.edtAddressCorpus) EventResultSetupDialog.setTabOrder(self.edtAddressCorpus, self.edtAddressFlat) EventResultSetupDialog.setTabOrder(self.edtAddressFlat, self.cmbMKBFilter) EventResultSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) EventResultSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) EventResultSetupDialog.setTabOrder(self.edtMKBTo, self.cmbMKBExFilter) EventResultSetupDialog.setTabOrder(self.cmbMKBExFilter, self.edtMKBExFrom) EventResultSetupDialog.setTabOrder(self.edtMKBExFrom, self.edtMKBExTo) EventResultSetupDialog.setTabOrder(self.edtMKBExTo, self.buttonBox)
def setupUi(self, ReportOrgByDoctorSetupDialog): ReportOrgByDoctorSetupDialog.setObjectName( _fromUtf8("ReportOrgByDoctorSetupDialog")) ReportOrgByDoctorSetupDialog.resize(400, 203) self.formLayout = QtGui.QFormLayout(ReportOrgByDoctorSetupDialog) self.formLayout.setObjectName(_fromUtf8("formLayout")) self.label = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label.setObjectName(_fromUtf8("label")) self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label) self.edtBegDate = CDateEdit(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.edtBegDate) self.label_2 = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2) self.edtEndDate = CDateEdit(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, 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.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.edtEndDate) self.label_3 = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label_3.setObjectName(_fromUtf8("label_3")) self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3) self.cmbOrganisation = COrgComboBox(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbOrganisation.sizePolicy().hasHeightForWidth()) self.cmbOrganisation.setSizePolicy(sizePolicy) self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation")) self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.cmbOrganisation) self.label_4 = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label_4.setObjectName(_fromUtf8("label_4")) self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4) self.cmbOrgStruct = COrgStructureComboBox(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbOrgStruct.sizePolicy().hasHeightForWidth()) self.cmbOrgStruct.setSizePolicy(sizePolicy) self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct")) self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.cmbOrgStruct) self.label_5 = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label_5.setObjectName(_fromUtf8("label_5")) self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_5) self.cmbContract = CContractComboBox(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbContract.sizePolicy().hasHeightForWidth()) self.cmbContract.setSizePolicy(sizePolicy) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.cmbContract) spacerItem = QtGui.QSpacerItem(290, 0, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.formLayout.setItem(6, QtGui.QFormLayout.FieldRole, spacerItem) self.buttonBox = QtGui.QDialogButtonBox(ReportOrgByDoctorSetupDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole, self.buttonBox) self.cmbPerson = CPersonComboBoxEx(ReportOrgByDoctorSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbPerson.sizePolicy().hasHeightForWidth()) self.cmbPerson.setSizePolicy(sizePolicy) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.cmbPerson) self.label_6 = QtGui.QLabel(ReportOrgByDoctorSetupDialog) self.label_6.setObjectName(_fromUtf8("label_6")) self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6) self.retranslateUi(ReportOrgByDoctorSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportOrgByDoctorSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportOrgByDoctorSetupDialog)
def setupUi(self, ReportSetupDialog): ReportSetupDialog.setObjectName(_fromUtf8("ReportSetupDialog")) ReportSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportSetupDialog.resize(572, 668) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportSetupDialog.sizePolicy().hasHeightForWidth()) ReportSetupDialog.setSizePolicy(sizePolicy) ReportSetupDialog.setSizeGripEnabled(True) ReportSetupDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(ReportSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBegDate = QtGui.QLabel(ReportSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.lblEndPayDate = QtGui.QLabel(ReportSetupDialog) self.lblEndPayDate.setObjectName(_fromUtf8("lblEndPayDate")) self.gridLayout.addWidget(self.lblEndPayDate, 9, 4, 1, 1) self.chkOnlyPermanentAttach = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPermanentAttach.setObjectName( _fromUtf8("chkOnlyPermanentAttach")) self.gridLayout.addWidget(self.chkOnlyPermanentAttach, 5, 1, 1, 9) self.edtBegPayDate = CDateEdit(ReportSetupDialog) self.edtBegPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegPayDate.sizePolicy().hasHeightForWidth()) self.edtBegPayDate.setSizePolicy(sizePolicy) self.edtBegPayDate.setCalendarPopup(True) self.edtBegPayDate.setObjectName(_fromUtf8("edtBegPayDate")) self.gridLayout.addWidget(self.edtBegPayDate, 9, 1, 1, 3) self.cmbMKBFilter = QtGui.QComboBox(ReportSetupDialog) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbMKBFilter, 27, 1, 1, 2) spacerItem = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 24, 8, 1, 2) self.chkOnlyPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyPayedEvents.setObjectName(_fromUtf8("chkOnlyPayedEvents")) self.gridLayout.addWidget(self.chkOnlyPayedEvents, 7, 1, 1, 9) self.frmAge = QtGui.QFrame(ReportSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeTo.sizePolicy().hasHeightForWidth()) self.lblAgeTo.setSizePolicy(sizePolicy) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) self.gridLayout.addWidget(self.frmAge, 21, 1, 1, 5) self.lblWorkOrganisation = QtGui.QLabel(ReportSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 19, 0, 1, 1) self.cmbActionType = CActionTypeComboBox(ReportSetupDialog) self.cmbActionType.setObjectName(_fromUtf8("cmbActionType")) self.gridLayout.addWidget(self.cmbActionType, 24, 1, 1, 7) self.lblAge = QtGui.QLabel(ReportSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 21, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 13, 1, 1, 9) self.edtEndPayDate = CDateEdit(ReportSetupDialog) self.edtEndPayDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtEndPayDate.sizePolicy().hasHeightForWidth()) self.edtEndPayDate.setSizePolicy(sizePolicy) self.edtEndPayDate.setCalendarPopup(True) self.edtEndPayDate.setObjectName(_fromUtf8("edtEndPayDate")) self.gridLayout.addWidget(self.edtEndPayDate, 9, 6, 1, 1) self.lblInsurer = QtGui.QLabel(ReportSetupDialog) self.lblInsurer.setObjectName(_fromUtf8("lblInsurer")) self.gridLayout.addWidget(self.lblInsurer, 12, 0, 1, 1) self.lblEndDate = QtGui.QLabel(ReportSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.lblActionTypeClass = QtGui.QLabel(ReportSetupDialog) self.lblActionTypeClass.setObjectName(_fromUtf8("lblActionTypeClass")) self.gridLayout.addWidget(self.lblActionTypeClass, 23, 0, 1, 1) self.cmbStage = CRBComboBox(ReportSetupDialog) self.cmbStage.setObjectName(_fromUtf8("cmbStage")) self.gridLayout.addWidget(self.cmbStage, 4, 1, 1, 9) self.chkDiagnosisType = QtGui.QCheckBox(ReportSetupDialog) self.chkDiagnosisType.setObjectName(_fromUtf8("chkDiagnosisType")) self.gridLayout.addWidget(self.chkDiagnosisType, 8, 1, 1, 9) self.lblSpeciality = QtGui.QLabel(ReportSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 14, 0, 1, 1) self.cmbInsurer = CInsurerComboBox(ReportSetupDialog) self.cmbInsurer.setObjectName(_fromUtf8("cmbInsurer")) self.gridLayout.addWidget(self.cmbInsurer, 12, 1, 1, 9) spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 20, 2, 1, 8) self.lblWorkType = QtGui.QLabel(ReportSetupDialog) self.lblWorkType.setObjectName(_fromUtf8("lblWorkType")) self.gridLayout.addWidget(self.lblWorkType, 17, 0, 1, 1) spacerItem2 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 0, 4, 1, 6) self.lblBegPayDate = QtGui.QLabel(ReportSetupDialog) self.lblBegPayDate.setObjectName(_fromUtf8("lblBegPayDate")) self.gridLayout.addWidget(self.lblBegPayDate, 9, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportSetupDialog) 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, 31, 0, 1, 10) self.lblActionType = QtGui.QLabel(ReportSetupDialog) self.lblActionType.setObjectName(_fromUtf8("lblActionType")) self.gridLayout.addWidget(self.lblActionType, 24, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(428, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 30, 0, 1, 10) self.chkActionClass = QtGui.QCheckBox(ReportSetupDialog) self.chkActionClass.setObjectName(_fromUtf8("chkActionClass")) self.gridLayout.addWidget(self.chkActionClass, 22, 0, 1, 10) self.lblOrgStructure = QtGui.QLabel(ReportSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 13, 0, 1, 1) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 21, 6, 1, 4) self.btnSelectWorkOrganisation = QtGui.QToolButton(ReportSetupDialog) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 19, 9, 1, 1) self.edtMKBTo = CICDCodeEdit(ReportSetupDialog) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridLayout.addWidget(self.edtMKBTo, 27, 5, 1, 2) self.lblFinance = QtGui.QLabel(ReportSetupDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 25, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 16, 1, 1, 9) self.cmbFinance = CRBComboBox(ReportSetupDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 25, 1, 1, 7) self.lblStage = QtGui.QLabel(ReportSetupDialog) self.lblStage.setObjectName(_fromUtf8("lblStage")) self.gridLayout.addWidget(self.lblStage, 4, 0, 1, 1) self.lblSex = QtGui.QLabel(ReportSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 20, 0, 1, 1) self.edtBegDate = CDateEdit(ReportSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 3) self.lblEventType = QtGui.QLabel(ReportSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1) self.lblPerson = QtGui.QLabel(ReportSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 16, 0, 1, 1) self.lblOwnership = QtGui.QLabel(ReportSetupDialog) self.lblOwnership.setObjectName(_fromUtf8("lblOwnership")) self.gridLayout.addWidget(self.lblOwnership, 18, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(61, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 1, 4, 1, 6) self.lblMKBFilter = QtGui.QLabel(ReportSetupDialog) self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter")) self.gridLayout.addWidget(self.lblMKBFilter, 27, 0, 1, 1) self.cmbEventType = CRBComboBox(ReportSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 9) self.edtMKBFrom = CICDCodeEdit(ReportSetupDialog) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridLayout.addWidget(self.edtMKBFrom, 27, 3, 1, 2) self.cmbWorkType = QtGui.QComboBox(ReportSetupDialog) self.cmbWorkType.setObjectName(_fromUtf8("cmbWorkType")) self.gridLayout.addWidget(self.cmbWorkType, 17, 1, 1, 9) self.chkDetailPerson = QtGui.QCheckBox(ReportSetupDialog) self.chkDetailPerson.setObjectName(_fromUtf8("chkDetailPerson")) self.gridLayout.addWidget(self.chkDetailPerson, 15, 0, 1, 10) spacerItem6 = QtGui.QSpacerItem(117, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem6, 27, 7, 1, 3) self.lblContract = QtGui.QLabel(ReportSetupDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 26, 0, 1, 1) self.cmbContract = CContractComboBox(ReportSetupDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 26, 1, 1, 7) self.cmbActionTypeClass = QtGui.QComboBox(ReportSetupDialog) self.cmbActionTypeClass.setObjectName(_fromUtf8("cmbActionTypeClass")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.cmbActionTypeClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbActionTypeClass, 23, 1, 1, 7) self.cmbSex = QtGui.QComboBox(ReportSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 20, 1, 1, 1) self.edtEndDate = CDateEdit(ReportSetupDialog) 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.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 3) self.cmbOwnership = QtGui.QComboBox(ReportSetupDialog) self.cmbOwnership.setObjectName(_fromUtf8("cmbOwnership")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.setItemText(0, _fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.cmbOwnership.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbOwnership, 18, 1, 1, 9) spacerItem7 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem7, 23, 8, 1, 2) self.cmbSpeciality = CRBComboBox(ReportSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 14, 1, 1, 9) self.cmbWorkOrganisation = COrgComboBox(ReportSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 19, 1, 1, 8) self.chkOnlyNotPayedEvents = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyNotPayedEvents.setObjectName( _fromUtf8("chkOnlyNotPayedEvents")) self.gridLayout.addWidget(self.chkOnlyNotPayedEvents, 8, 0, 1, 1) self.chkOnlyEmployee = QtGui.QCheckBox(ReportSetupDialog) self.chkOnlyEmployee.setObjectName(_fromUtf8("chkOnlyEmployee")) self.gridLayout.addWidget(self.chkOnlyEmployee, 5, 0, 1, 1) self.chkGroupByClients = QtGui.QCheckBox(ReportSetupDialog) self.chkGroupByClients.setObjectName(_fromUtf8("chkGroupByClients")) self.gridLayout.addWidget(self.chkGroupByClients, 7, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(ReportSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 9) self.lblEventPurpose = QtGui.QLabel(ReportSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1) self.btnBrowseSourceDataFile = QtGui.QToolButton(ReportSetupDialog) self.btnBrowseSourceDataFile.setEnabled(False) self.btnBrowseSourceDataFile.setObjectName( _fromUtf8("btnBrowseSourceDataFile")) self.gridLayout.addWidget(self.btnBrowseSourceDataFile, 28, 9, 1, 1) self.edtSourceDataFileName = QtGui.QLineEdit(ReportSetupDialog) self.edtSourceDataFileName.setEnabled(False) self.edtSourceDataFileName.setObjectName( _fromUtf8("edtSourceDataFileName")) self.gridLayout.addWidget(self.edtSourceDataFileName, 28, 1, 1, 8) self.chkIsDataFromFile = QtGui.QCheckBox(ReportSetupDialog) self.chkIsDataFromFile.setObjectName(_fromUtf8("chkIsDataFromFile")) self.gridLayout.addWidget(self.chkIsDataFromFile, 28, 0, 1, 1) self.lblOrgStrucutreAttachType = QtGui.QLabel(ReportSetupDialog) self.lblOrgStrucutreAttachType.setObjectName( _fromUtf8("lblOrgStrucutreAttachType")) self.gridLayout.addWidget(self.lblOrgStrucutreAttachType, 29, 0, 1, 1) self.cmbOrgStructureAttachType = COrgStructureComboBox( ReportSetupDialog) self.cmbOrgStructureAttachType.setObjectName( _fromUtf8("cmbOrgStructureAttachType")) self.gridLayout.addWidget(self.cmbOrgStructureAttachType, 29, 1, 1, 7) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndPayDate.setBuddy(self.edtEndPayDate) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAge.setBuddy(self.edtAgeFrom) self.lblEndDate.setBuddy(self.edtEndDate) self.lblActionTypeClass.setBuddy(self.cmbActionTypeClass) self.lblWorkType.setBuddy(self.cmbWorkType) self.lblBegPayDate.setBuddy(self.edtBegPayDate) self.lblActionType.setBuddy(self.cmbActionType) self.lblStage.setBuddy(self.cmbStage) self.lblSex.setBuddy(self.cmbSex) self.lblEventType.setBuddy(self.cmbEventType) self.lblOwnership.setBuddy(self.cmbOwnership) self.lblMKBFilter.setBuddy(self.cmbMKBFilter) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.retranslateUi(ReportSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSetupDialog.reject) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBegPayDate.setEnabled) QtCore.QObject.connect(self.chkOnlyPayedEvents, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtEndPayDate.setEnabled) QtCore.QObject.connect(self.chkDetailPerson, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbPerson.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionTypeClass.setDisabled) QtCore.QObject.connect(self.chkActionClass, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbActionType.setDisabled) QtCore.QMetaObject.connectSlotsByName(ReportSetupDialog) ReportSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventType) ReportSetupDialog.setTabOrder(self.cmbEventType, self.cmbStage) ReportSetupDialog.setTabOrder(self.cmbStage, self.chkOnlyPermanentAttach) ReportSetupDialog.setTabOrder(self.chkOnlyPermanentAttach, self.chkOnlyPayedEvents) ReportSetupDialog.setTabOrder(self.chkOnlyPayedEvents, self.edtBegPayDate) ReportSetupDialog.setTabOrder(self.edtBegPayDate, self.cmbInsurer) ReportSetupDialog.setTabOrder(self.cmbInsurer, self.cmbOrgStructure) ReportSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality) ReportSetupDialog.setTabOrder(self.cmbSpeciality, self.chkDetailPerson) ReportSetupDialog.setTabOrder(self.chkDetailPerson, self.cmbPerson) ReportSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkType) ReportSetupDialog.setTabOrder(self.cmbWorkType, self.cmbOwnership) ReportSetupDialog.setTabOrder(self.cmbOwnership, self.cmbWorkOrganisation) ReportSetupDialog.setTabOrder(self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) ReportSetupDialog.setTabOrder(self.btnSelectWorkOrganisation, self.cmbSex) ReportSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportSetupDialog.setTabOrder(self.edtAgeTo, self.chkActionClass) ReportSetupDialog.setTabOrder(self.chkActionClass, self.cmbActionTypeClass) ReportSetupDialog.setTabOrder(self.cmbActionTypeClass, self.cmbActionType) ReportSetupDialog.setTabOrder(self.cmbActionType, self.cmbFinance) ReportSetupDialog.setTabOrder(self.cmbFinance, self.cmbMKBFilter) ReportSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) ReportSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) ReportSetupDialog.setTabOrder(self.edtMKBTo, self.buttonBox)
def setupUi(self, ReportPersonSickListSetupDialog): ReportPersonSickListSetupDialog.setObjectName( _fromUtf8("ReportPersonSickListSetupDialog")) ReportPersonSickListSetupDialog.setWindowModality( QtCore.Qt.ApplicationModal) ReportPersonSickListSetupDialog.resize(423, 686) ReportPersonSickListSetupDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(ReportPersonSickListSetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.frmMKB = QtGui.QFrame(ReportPersonSickListSetupDialog) self.frmMKB.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKB.setFrameShadow(QtGui.QFrame.Raised) self.frmMKB.setObjectName(_fromUtf8("frmMKB")) self.gridlayout = QtGui.QGridLayout(self.frmMKB) self.gridlayout.setMargin(0) self.gridlayout.setHorizontalSpacing(4) self.gridlayout.setVerticalSpacing(0) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.cmbMKBFilter = QtGui.QComboBox(self.frmMKB) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbMKBFilter.sizePolicy().hasHeightForWidth()) self.cmbMKBFilter.setSizePolicy(sizePolicy) self.cmbMKBFilter.setObjectName(_fromUtf8("cmbMKBFilter")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.cmbMKBFilter.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbMKBFilter, 0, 0, 1, 1) self.edtMKBFrom = CICDCodeEdit(self.frmMKB) self.edtMKBFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBFrom.sizePolicy().hasHeightForWidth()) self.edtMKBFrom.setSizePolicy(sizePolicy) self.edtMKBFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBFrom.setMaxLength(6) self.edtMKBFrom.setObjectName(_fromUtf8("edtMKBFrom")) self.gridlayout.addWidget(self.edtMKBFrom, 0, 1, 1, 1) self.edtMKBTo = CICDCodeEdit(self.frmMKB) self.edtMKBTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBTo.sizePolicy().hasHeightForWidth()) self.edtMKBTo.setSizePolicy(sizePolicy) self.edtMKBTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBTo.setMaxLength(6) self.edtMKBTo.setObjectName(_fromUtf8("edtMKBTo")) self.gridlayout.addWidget(self.edtMKBTo, 0, 2, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKB, 15, 1, 1, 4) self.frmMKBEx = QtGui.QFrame(ReportPersonSickListSetupDialog) self.frmMKBEx.setFrameShape(QtGui.QFrame.NoFrame) self.frmMKBEx.setFrameShadow(QtGui.QFrame.Raised) self.frmMKBEx.setObjectName(_fromUtf8("frmMKBEx")) self.gridlayout1 = QtGui.QGridLayout(self.frmMKBEx) self.gridlayout1.setMargin(0) self.gridlayout1.setHorizontalSpacing(4) self.gridlayout1.setVerticalSpacing(0) self.gridlayout1.setObjectName(_fromUtf8("gridlayout1")) self.cmbMKBExFilter = QtGui.QComboBox(self.frmMKBEx) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbMKBExFilter.sizePolicy().hasHeightForWidth()) self.cmbMKBExFilter.setSizePolicy(sizePolicy) self.cmbMKBExFilter.setObjectName(_fromUtf8("cmbMKBExFilter")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.cmbMKBExFilter.addItem(_fromUtf8("")) self.gridlayout1.addWidget(self.cmbMKBExFilter, 0, 0, 1, 1) self.edtMKBExFrom = CICDCodeEdit(self.frmMKBEx) self.edtMKBExFrom.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExFrom.sizePolicy().hasHeightForWidth()) self.edtMKBExFrom.setSizePolicy(sizePolicy) self.edtMKBExFrom.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExFrom.setMaxLength(6) self.edtMKBExFrom.setObjectName(_fromUtf8("edtMKBExFrom")) self.gridlayout1.addWidget(self.edtMKBExFrom, 0, 1, 1, 1) self.edtMKBExTo = CICDCodeEdit(self.frmMKBEx) self.edtMKBExTo.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtMKBExTo.sizePolicy().hasHeightForWidth()) self.edtMKBExTo.setSizePolicy(sizePolicy) self.edtMKBExTo.setMaximumSize(QtCore.QSize(40, 16777215)) self.edtMKBExTo.setMaxLength(6) self.edtMKBExTo.setObjectName(_fromUtf8("edtMKBExTo")) self.gridlayout1.addWidget(self.edtMKBExTo, 0, 2, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem1, 0, 3, 1, 1) self.gridLayout.addWidget(self.frmMKBEx, 16, 1, 2, 4) self.frmAge = QtGui.QFrame(ReportPersonSickListSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self.hboxlayout = QtGui.QHBoxLayout(self.frmAge) self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(4) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self.hboxlayout.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.hboxlayout.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self.hboxlayout.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.hboxlayout.addWidget(self.lblAgeYears) spacerItem2 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem2) self.gridLayout.addWidget(self.frmAge, 10, 1, 1, 4) self.cmbLocality = QtGui.QComboBox(ReportPersonSickListSetupDialog) self.cmbLocality.setObjectName(_fromUtf8("cmbLocality")) self.cmbLocality.addItem(_fromUtf8("")) self.cmbLocality.addItem(_fromUtf8("")) self.cmbLocality.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbLocality, 24, 1, 1, 4) spacerItem3 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 25, 0, 1, 1) self.cmbSocStatusType = CRBComboBox(ReportPersonSickListSetupDialog) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridLayout.addWidget(self.cmbSocStatusType, 12, 1, 1, 4) self.chkAccountAccomp = QtGui.QCheckBox( ReportPersonSickListSetupDialog) self.chkAccountAccomp.setObjectName(_fromUtf8("chkAccountAccomp")) self.gridLayout.addWidget(self.chkAccountAccomp, 20, 1, 1, 4) self.cmbSocStatusClass = CSocStatusComboBox( ReportPersonSickListSetupDialog) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridLayout.addWidget(self.cmbSocStatusClass, 11, 1, 1, 4) spacerItem4 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem4, 0, 3, 1, 2) self.lblOrgStructure = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 5, 0, 1, 1) self.lblSocStatusType = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType")) self.gridLayout.addWidget(self.lblSocStatusType, 12, 0, 1, 1) self.chkOnlyFirstTime = QtGui.QCheckBox( ReportPersonSickListSetupDialog) self.chkOnlyFirstTime.setObjectName(_fromUtf8("chkOnlyFirstTime")) self.gridLayout.addWidget(self.chkOnlyFirstTime, 19, 1, 1, 4) self.lblLocality = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblLocality.setObjectName(_fromUtf8("lblLocality")) self.gridLayout.addWidget(self.lblLocality, 24, 0, 1, 1) self.lblMKB = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblMKB.setObjectName(_fromUtf8("lblMKB")) self.gridLayout.addWidget(self.lblMKB, 15, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox( ReportPersonSickListSetupDialog) 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, 26, 0, 1, 5) self.lblSex = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 9, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox( ReportPersonSickListSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 5, 1, 1, 4) self.cmbTraumaType = CRBComboBox(ReportPersonSickListSetupDialog) self.cmbTraumaType.setEnabled(False) self.cmbTraumaType.setObjectName(_fromUtf8("cmbTraumaType")) self.gridLayout.addWidget(self.cmbTraumaType, 23, 1, 1, 4) self.lblArea = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblArea.setObjectName(_fromUtf8("lblArea")) self.gridLayout.addWidget(self.lblArea, 14, 0, 1, 1) self.lblMKBEx = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblMKBEx.setObjectName(_fromUtf8("lblMKBEx")) self.gridLayout.addWidget(self.lblMKBEx, 16, 0, 1, 1) self.lblPerson = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 7, 0, 1, 1) self.lblSocStatusClass = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass")) self.gridLayout.addWidget(self.lblSocStatusClass, 11, 0, 1, 1) self.cmbWorkOrganisation = COrgComboBox( ReportPersonSickListSetupDialog) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 8, 1, 1, 3) self.chkArea = QtGui.QCheckBox(ReportPersonSickListSetupDialog) self.chkArea.setObjectName(_fromUtf8("chkArea")) self.gridLayout.addWidget(self.chkArea, 13, 1, 1, 4) self.btnSelectWorkOrganisation = QtGui.QToolButton( ReportPersonSickListSetupDialog) self.btnSelectWorkOrganisation.setArrowType(QtCore.Qt.NoArrow) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 8, 4, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportPersonSickListSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPerson, 7, 1, 1, 4) self.cmbEventType = CRBComboBox(ReportPersonSickListSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 4, 1, 1, 4) self.lblEventPurpose = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 3, 0, 1, 1) self.chkTraumaType = QtGui.QCheckBox(ReportPersonSickListSetupDialog) self.chkTraumaType.setObjectName(_fromUtf8("chkTraumaType")) self.gridLayout.addWidget(self.chkTraumaType, 22, 0, 1, 1) self.lblSpeciality = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 6, 0, 1, 1) self.cmbArea = COrgStructureComboBox(ReportPersonSickListSetupDialog) self.cmbArea.setEnabled(False) self.cmbArea.setObjectName(_fromUtf8("cmbArea")) self.gridLayout.addWidget(self.cmbArea, 14, 1, 1, 4) self.lblEventType = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 4, 0, 1, 1) self.cmbEventPurpose = CRBMultiComboBox( ReportPersonSickListSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 3, 1, 1, 4) self.lblEndDate = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.cmbSpeciality = CRBComboBox(ReportPersonSickListSetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 6, 1, 1, 4) self.cmbCharacterClass = QtGui.QComboBox( ReportPersonSickListSetupDialog) self.cmbCharacterClass.setObjectName(_fromUtf8("cmbCharacterClass")) self.cmbCharacterClass.addItem(_fromUtf8("")) self.cmbCharacterClass.addItem(_fromUtf8("")) self.cmbCharacterClass.addItem(_fromUtf8("")) self.cmbCharacterClass.addItem(_fromUtf8("")) self.cmbCharacterClass.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbCharacterClass, 18, 1, 1, 4) self.lblWorkOrganisation = QtGui.QLabel( ReportPersonSickListSetupDialog) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 8, 0, 1, 1) self.chkTraumaTypeAny = QtGui.QCheckBox( ReportPersonSickListSetupDialog) self.chkTraumaTypeAny.setEnabled(False) self.chkTraumaTypeAny.setObjectName(_fromUtf8("chkTraumaTypeAny")) self.gridLayout.addWidget(self.chkTraumaTypeAny, 22, 1, 1, 4) self.edtEndDate = CDateEdit(ReportPersonSickListSetupDialog) 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.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 2) spacerItem5 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem5, 1, 3, 1, 2) self.lblBegDate = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(ReportPersonSickListSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 2) self.lblDiseaseCharacter = QtGui.QLabel( ReportPersonSickListSetupDialog) self.lblDiseaseCharacter.setObjectName( _fromUtf8("lblDiseaseCharacter")) self.gridLayout.addWidget(self.lblDiseaseCharacter, 17, 0, 2, 1) self.cmbSex = QtGui.QComboBox(ReportPersonSickListSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 9, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem6, 9, 2, 1, 3) self.lblAge = QtGui.QLabel(ReportPersonSickListSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 10, 0, 1, 1) self.chkVisitEmergency = QtGui.QCheckBox( ReportPersonSickListSetupDialog) self.chkVisitEmergency.setObjectName(_fromUtf8("chkVisitEmergency")) self.gridLayout.addWidget(self.chkVisitEmergency, 21, 1, 1, 1) self.chkPeriod = QtGui.QCheckBox(ReportPersonSickListSetupDialog) self.chkPeriod.setObjectName(_fromUtf8("chkPeriod")) self.gridLayout.addWidget(self.chkPeriod, 2, 0, 1, 1) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblLocality.setBuddy(self.cmbLocality) self.lblMKB.setBuddy(self.cmbMKBFilter) self.lblSex.setBuddy(self.cmbSex) self.lblArea.setBuddy(self.cmbArea) self.lblMKBEx.setBuddy(self.cmbMKBExFilter) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.lblEventType.setBuddy(self.cmbEventType) self.lblEndDate.setBuddy(self.edtEndDate) self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblBegDate.setBuddy(self.edtBegDate) self.lblDiseaseCharacter.setBuddy(self.cmbCharacterClass) self.lblAge.setBuddy(self.edtAgeFrom) self.retranslateUi(ReportPersonSickListSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPersonSickListSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPersonSickListSetupDialog.reject) QtCore.QObject.connect(self.chkArea, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbArea.setEnabled) QtCore.QObject.connect(self.chkTraumaType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbTraumaType.setEnabled) QtCore.QObject.connect(self.chkTraumaType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkTraumaTypeAny.setEnabled) QtCore.QObject.connect(self.chkTraumaTypeAny, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbTraumaType.setDisabled) QtCore.QMetaObject.connectSlotsByName(ReportPersonSickListSetupDialog) ReportPersonSickListSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportPersonSickListSetupDialog.setTabOrder(self.edtEndDate, self.cmbEventPurpose) ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType) ReportPersonSickListSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure) ReportPersonSickListSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbSpeciality) ReportPersonSickListSetupDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson) ReportPersonSickListSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkOrganisation) ReportPersonSickListSetupDialog.setTabOrder( self.cmbWorkOrganisation, self.btnSelectWorkOrganisation) ReportPersonSickListSetupDialog.setTabOrder( self.btnSelectWorkOrganisation, self.cmbSex) ReportPersonSickListSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportPersonSickListSetupDialog.setTabOrder(self.edtAgeTo, self.chkArea) ReportPersonSickListSetupDialog.setTabOrder(self.chkArea, self.cmbArea) ReportPersonSickListSetupDialog.setTabOrder(self.cmbArea, self.cmbMKBFilter) ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBFilter, self.edtMKBFrom) ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBFrom, self.edtMKBTo) ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBTo, self.cmbMKBExFilter) ReportPersonSickListSetupDialog.setTabOrder(self.cmbMKBExFilter, self.edtMKBExFrom) ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExFrom, self.edtMKBExTo) ReportPersonSickListSetupDialog.setTabOrder(self.edtMKBExTo, self.cmbCharacterClass) ReportPersonSickListSetupDialog.setTabOrder(self.cmbCharacterClass, self.chkOnlyFirstTime) ReportPersonSickListSetupDialog.setTabOrder(self.chkOnlyFirstTime, self.chkAccountAccomp) ReportPersonSickListSetupDialog.setTabOrder(self.chkAccountAccomp, self.chkTraumaType) ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaType, self.chkTraumaTypeAny) ReportPersonSickListSetupDialog.setTabOrder(self.chkTraumaTypeAny, self.cmbTraumaType) ReportPersonSickListSetupDialog.setTabOrder(self.cmbTraumaType, self.cmbLocality) ReportPersonSickListSetupDialog.setTabOrder(self.cmbLocality, self.buttonBox)
def setupUi(self, FinanceSummarySetupDialog): FinanceSummarySetupDialog.setObjectName( _fromUtf8("FinanceSummarySetupDialog")) FinanceSummarySetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) FinanceSummarySetupDialog.resize(578, 975) FinanceSummarySetupDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(FinanceSummarySetupDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.chkWithoutModernisation = QtGui.QCheckBox( FinanceSummarySetupDialog) self.chkWithoutModernisation.setObjectName( _fromUtf8("chkWithoutModernisation")) self.gridLayout.addWidget(self.chkWithoutModernisation, 23, 0, 1, 4) self.gbDateInterval = QtGui.QGroupBox(FinanceSummarySetupDialog) self.gbDateInterval.setObjectName(_fromUtf8("gbDateInterval")) self.gridLayout_2 = QtGui.QGridLayout(self.gbDateInterval) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.rbtnByActionEndDate = QtGui.QRadioButton(self.gbDateInterval) self.rbtnByActionEndDate.setObjectName( _fromUtf8("rbtnByActionEndDate")) self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 2) spacerItem = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 1, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 3, 3, 1, 1) self.lblBegDate = QtGui.QLabel(self.gbDateInterval) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 1, 0, 1, 2) self.edtBegDate = CDateEdit(self.gbDateInterval) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout_2.addWidget(self.edtBegDate, 1, 2, 1, 1) self.lblEndDate = QtGui.QLabel(self.gbDateInterval) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 3, 0, 1, 2) self.rbtnByFormingAccountDate = QtGui.QRadioButton(self.gbDateInterval) self.rbtnByFormingAccountDate.setChecked(True) self.rbtnByFormingAccountDate.setObjectName( _fromUtf8("rbtnByFormingAccountDate")) self.gridLayout_2.addWidget(self.rbtnByFormingAccountDate, 0, 0, 1, 1) self.edtEndDate = CDateEdit(self.gbDateInterval) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout_2.addWidget(self.edtEndDate, 3, 2, 1, 1) self.gridLayout.addWidget(self.gbDateInterval, 0, 0, 1, 4) self.lblGroupBy = QtGui.QLabel(FinanceSummarySetupDialog) self.lblGroupBy.setObjectName(_fromUtf8("lblGroupBy")) self.gridLayout.addWidget(self.lblGroupBy, 17, 0, 1, 1) self.lblEventType = QtGui.QLabel(FinanceSummarySetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(FinanceSummarySetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 9, 1, 1, 3) self.lblFinance = QtGui.QLabel(FinanceSummarySetupDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 16, 0, 1, 1) self.lblSpeciality = QtGui.QLabel(FinanceSummarySetupDialog) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 7, 0, 1, 1) self.lblOrgStructure = QtGui.QLabel(FinanceSummarySetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 3, 0, 1, 1) self.cmbPodtver = QtGui.QComboBox(FinanceSummarySetupDialog) self.cmbPodtver.setEnabled(False) self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver")) self.gridLayout.addWidget(self.cmbPodtver, 27, 2, 1, 1) self.cmbInsurerDoctors = CInsurerComboBox(FinanceSummarySetupDialog) self.cmbInsurerDoctors.setObjectName(_fromUtf8("cmbInsurerDoctors")) self.gridLayout.addWidget(self.cmbInsurerDoctors, 14, 1, 1, 3) self.chkFreeInputWork = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkFreeInputWork.setObjectName(_fromUtf8("chkFreeInputWork")) self.gridLayout.addWidget(self.chkFreeInputWork, 13, 0, 1, 1) self.lblPerson = QtGui.QLabel(FinanceSummarySetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 9, 0, 1, 1) self.lblAssistant = QtGui.QLabel(FinanceSummarySetupDialog) self.lblAssistant.setObjectName(_fromUtf8("lblAssistant")) self.gridLayout.addWidget(self.lblAssistant, 10, 0, 1, 1) self.chkGroupAssistant = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkGroupAssistant.setObjectName(_fromUtf8("chkGroupAssistant")) self.gridLayout.addWidget(self.chkGroupAssistant, 11, 1, 1, 3) self.cmbClientOrganisation = COrgComboBox(FinanceSummarySetupDialog) self.cmbClientOrganisation.setObjectName( _fromUtf8("cmbClientOrganisation")) self.gridLayout.addWidget(self.cmbClientOrganisation, 12, 1, 1, 3) self.chkPodtver = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkPodtver.setObjectName(_fromUtf8("chkPodtver")) self.gridLayout.addWidget(self.chkPodtver, 24, 1, 1, 3) self.cmbSpeciality = CRBComboBox(FinanceSummarySetupDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 7, 1, 1, 3) self.lblEventPurpose = QtGui.QLabel(FinanceSummarySetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridLayout.addWidget(self.lblEventPurpose, 1, 0, 1, 1) self.cmbEventPurpose = CRBComboBox(FinanceSummarySetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridLayout.addWidget(self.cmbEventPurpose, 1, 1, 1, 3) self.lblClientOrganisation = QtGui.QLabel(FinanceSummarySetupDialog) self.lblClientOrganisation.setObjectName( _fromUtf8("lblClientOrganisation")) self.gridLayout.addWidget(self.lblClientOrganisation, 12, 0, 1, 1) self.edtFreeInputWork = QtGui.QLineEdit(FinanceSummarySetupDialog) self.edtFreeInputWork.setObjectName(_fromUtf8("edtFreeInputWork")) self.gridLayout.addWidget(self.edtFreeInputWork, 13, 1, 1, 3) self.cmbOrgStructure = COrgStructureComboBox(FinanceSummarySetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 3, 1, 1, 3) spacerItem2 = QtGui.QSpacerItem(21, 21, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem2, 31, 2, 1, 1) self.cmbEventType = CRBComboBox(FinanceSummarySetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 3) self.edtEndDatePodtver = CDateEdit(FinanceSummarySetupDialog) self.edtEndDatePodtver.setEnabled(False) self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver")) self.gridLayout.addWidget(self.edtEndDatePodtver, 29, 2, 1, 1) self.cmbAssistant = CPersonComboBoxEx(FinanceSummarySetupDialog) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.gridLayout.addWidget(self.cmbAssistant, 10, 1, 1, 3) self.lblEndDatePodtver = QtGui.QLabel(FinanceSummarySetupDialog) self.lblEndDatePodtver.setEnabled(False) self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver")) self.gridLayout.addWidget(self.lblEndDatePodtver, 29, 0, 1, 1) self.chkDetailServiceTypes = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkDetailServiceTypes.setObjectName( _fromUtf8("chkDetailServiceTypes")) self.gridLayout.addWidget(self.chkDetailServiceTypes, 19, 0, 1, 1) self.cmbGroupBy = QtGui.QComboBox(FinanceSummarySetupDialog) self.cmbGroupBy.setObjectName(_fromUtf8("cmbGroupBy")) self.cmbGroupBy.addItem(_fromUtf8("")) self.cmbGroupBy.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbGroupBy, 17, 1, 1, 3) self.lblRefuseType = QtGui.QLabel(FinanceSummarySetupDialog) self.lblRefuseType.setEnabled(False) self.lblRefuseType.setObjectName(_fromUtf8("lblRefuseType")) self.gridLayout.addWidget(self.lblRefuseType, 30, 0, 1, 1) self.chkDetailService = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkDetailService.setObjectName(_fromUtf8("chkDetailService")) self.gridLayout.addWidget(self.chkDetailService, 24, 0, 1, 1) self.edtBegDatePodtver = CDateEdit(FinanceSummarySetupDialog) self.edtBegDatePodtver.setEnabled(False) self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver")) self.gridLayout.addWidget(self.edtBegDatePodtver, 28, 2, 1, 1) self.lstInsurerDoctors = QtGui.QListView(FinanceSummarySetupDialog) self.lstInsurerDoctors.setSelectionMode( QtGui.QAbstractItemView.MultiSelection) self.lstInsurerDoctors.setObjectName(_fromUtf8("lstInsurerDoctors")) self.gridLayout.addWidget(self.lstInsurerDoctors, 15, 0, 1, 3) self.cmbRefuseType = CRBComboBox(FinanceSummarySetupDialog) self.cmbRefuseType.setEnabled(False) self.cmbRefuseType.setObjectName(_fromUtf8("cmbRefuseType")) self.gridLayout.addWidget(self.cmbRefuseType, 30, 2, 1, 1) self.lblPodtver = QtGui.QLabel(FinanceSummarySetupDialog) self.lblPodtver.setEnabled(False) self.lblPodtver.setObjectName(_fromUtf8("lblPodtver")) self.gridLayout.addWidget(self.lblPodtver, 27, 0, 1, 1) self.chkWithoutDescendants = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkWithoutDescendants.setObjectName( _fromUtf8("chkWithoutDescendants")) self.gridLayout.addWidget(self.chkWithoutDescendants, 5, 0, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(FinanceSummarySetupDialog) 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, 32, 0, 1, 4) self.cmbFinance = CRBComboBox(FinanceSummarySetupDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 16, 1, 1, 3) self.lblBegDatePodtver = QtGui.QLabel(FinanceSummarySetupDialog) self.lblBegDatePodtver.setEnabled(False) self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver")) self.gridLayout.addWidget(self.lblBegDatePodtver, 28, 0, 1, 1) self.chkInsurerDoctors = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkInsurerDoctors.setObjectName(_fromUtf8("chkInsurerDoctors")) self.gridLayout.addWidget(self.chkInsurerDoctors, 14, 0, 1, 1) self.chkByOrgStructAction = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkByOrgStructAction.setObjectName( _fromUtf8("chkByOrgStructAction")) self.gridLayout.addWidget(self.chkByOrgStructAction, 4, 0, 1, 1) self.chkDetailPatients = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkDetailPatients.setObjectName(_fromUtf8("chkDetailPatients")) self.gridLayout.addWidget(self.chkDetailPatients, 25, 0, 1, 1) self.chkExpandDoctorGroups = QtGui.QCheckBox(FinanceSummarySetupDialog) self.chkExpandDoctorGroups.setChecked(True) self.chkExpandDoctorGroups.setObjectName( _fromUtf8("chkExpandDoctorGroups")) self.gridLayout.addWidget(self.chkExpandDoctorGroups, 18, 0, 1, 3) self.lstServiceTypes = QtGui.QListView(FinanceSummarySetupDialog) self.lstServiceTypes.setMinimumSize(QtCore.QSize(0, 75)) self.lstServiceTypes.setMaximumSize(QtCore.QSize(16777215, 130)) self.lstServiceTypes.setEditTriggers( QtGui.QAbstractItemView.NoEditTriggers) self.lstServiceTypes.setSelectionMode( QtGui.QAbstractItemView.MultiSelection) self.lstServiceTypes.setObjectName(_fromUtf8("lstServiceTypes")) self.gridLayout.addWidget(self.lstServiceTypes, 19, 2, 1, 1) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblPerson.setBuddy(self.cmbPerson) self.lblAssistant.setBuddy(self.cmbAssistant) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.lblClientOrganisation.setBuddy(self.cmbClientOrganisation) self.lblEndDatePodtver.setBuddy(self.edtEndDatePodtver) self.lblRefuseType.setBuddy(self.cmbRefuseType) self.lblPodtver.setBuddy(self.cmbPodtver) self.lblBegDatePodtver.setBuddy(self.edtBegDatePodtver) self.retranslateUi(FinanceSummarySetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FinanceSummarySetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FinanceSummarySetupDialog.reject) QtCore.QObject.connect(self.chkPodtver, QtCore.SIGNAL(_fromUtf8("stateChanged(int)")), FinanceSummarySetupDialog.onStateChanged) QtCore.QMetaObject.connectSlotsByName(FinanceSummarySetupDialog) FinanceSummarySetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson) FinanceSummarySetupDialog.setTabOrder(self.cmbPerson, self.cmbInsurerDoctors) FinanceSummarySetupDialog.setTabOrder(self.cmbInsurerDoctors, self.chkDetailService) FinanceSummarySetupDialog.setTabOrder(self.chkDetailService, self.buttonBox)
def setupUi(self, ItemEditorDialog): ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog")) ItemEditorDialog.resize(1216, 1008) ItemEditorDialog.setSizeGripEnabled(True) self.gridLayout_3 = QtGui.QGridLayout(ItemEditorDialog) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 1) self.tabWidget = QtGui.QTabWidget(ItemEditorDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabMain = QtGui.QWidget() self.tabMain.setObjectName(_fromUtf8("tabMain")) self.gridLayout = QtGui.QGridLayout(self.tabMain) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblAttachCode = QtGui.QLabel(self.tabMain) self.lblAttachCode.setObjectName(_fromUtf8("lblAttachCode")) self.gridLayout.addWidget(self.lblAttachCode, 18, 0, 1, 1) self.lblMiacHead = QtGui.QLabel(self.tabMain) self.lblMiacHead.setEnabled(False) self.lblMiacHead.setObjectName(_fromUtf8("lblMiacHead")) self.gridLayout.addWidget(self.lblMiacHead, 20, 0, 1, 1) self.btnSelectOrganisation = QtGui.QToolButton(self.tabMain) self.btnSelectOrganisation.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnSelectOrganisation.sizePolicy().hasHeightForWidth()) self.btnSelectOrganisation.setSizePolicy(sizePolicy) self.btnSelectOrganisation.setObjectName( _fromUtf8("btnSelectOrganisation")) self.gridLayout.addWidget(self.btnSelectOrganisation, 0, 3, 1, 1) self.chkAvailableForExternal = QtGui.QCheckBox(self.tabMain) self.chkAvailableForExternal.setObjectName( _fromUtf8("chkAvailableForExternal")) self.gridLayout.addWidget(self.chkAvailableForExternal, 29, 2, 1, 2) self.lblBookkeeperCode = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblBookkeeperCode.sizePolicy().hasHeightForWidth()) self.lblBookkeeperCode.setSizePolicy(sizePolicy) self.lblBookkeeperCode.setObjectName(_fromUtf8("lblBookkeeperCode")) self.gridLayout.addWidget(self.lblBookkeeperCode, 4, 0, 1, 1) self.chkHasHospitalBeds = QtGui.QCheckBox(self.tabMain) self.chkHasHospitalBeds.setObjectName(_fromUtf8("chkHasHospitalBeds")) self.gridLayout.addWidget(self.chkHasHospitalBeds, 26, 2, 1, 2) self.edtName = QtGui.QLineEdit(self.tabMain) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 6, 2, 1, 2) self.edtInfisDepTypeCode = QtGui.QLineEdit(self.tabMain) self.edtInfisDepTypeCode.setMaxLength(30) self.edtInfisDepTypeCode.setObjectName( _fromUtf8("edtInfisDepTypeCode")) self.gridLayout.addWidget(self.edtInfisDepTypeCode, 14, 2, 1, 2) self.lblInfisCode = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblInfisCode.sizePolicy().hasHeightForWidth()) self.lblInfisCode.setSizePolicy(sizePolicy) self.lblInfisCode.setObjectName(_fromUtf8("lblInfisCode")) self.gridLayout.addWidget(self.lblInfisCode, 12, 0, 1, 1) self.chkHasStocks = QtGui.QCheckBox(self.tabMain) self.chkHasStocks.setObjectName(_fromUtf8("chkHasStocks")) self.gridLayout.addWidget(self.chkHasStocks, 27, 2, 1, 2) self.lblHeadNurse = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblHeadNurse.sizePolicy().hasHeightForWidth()) self.lblHeadNurse.setSizePolicy(sizePolicy) self.lblHeadNurse.setObjectName(_fromUtf8("lblHeadNurse")) self.gridLayout.addWidget(self.lblHeadNurse, 11, 0, 1, 1) self.label = QtGui.QLabel(self.tabMain) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 3, 0, 1, 1) self.lblInfisTariffCode = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblInfisTariffCode.sizePolicy().hasHeightForWidth()) self.lblInfisTariffCode.setSizePolicy(sizePolicy) self.lblInfisTariffCode.setObjectName(_fromUtf8("lblInfisTariffCode")) self.gridLayout.addWidget(self.lblInfisTariffCode, 16, 0, 1, 1) self.edtStorageCode = QtGui.QLineEdit(self.tabMain) self.edtStorageCode.setObjectName(_fromUtf8("edtStorageCode")) self.gridLayout.addWidget(self.edtStorageCode, 3, 2, 1, 2) self.lblChief = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblChief.sizePolicy().hasHeightForWidth()) self.lblChief.setSizePolicy(sizePolicy) self.lblChief.setObjectName(_fromUtf8("lblChief")) self.gridLayout.addWidget(self.lblChief, 10, 0, 1, 1) self.lblNet = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblNet.sizePolicy().hasHeightForWidth()) self.lblNet.setSizePolicy(sizePolicy) self.lblNet.setObjectName(_fromUtf8("lblNet")) self.gridLayout.addWidget(self.lblNet, 9, 0, 1, 1) self.chkVisibleInDR = QtGui.QCheckBox(self.tabMain) self.chkVisibleInDR.setChecked(True) self.chkVisibleInDR.setObjectName(_fromUtf8("chkVisibleInDR")) self.gridLayout.addWidget(self.chkVisibleInDR, 25, 2, 1, 2) self.cmbHeadNurse = CPersonComboBoxEx(self.tabMain) self.cmbHeadNurse.setObjectName(_fromUtf8("cmbHeadNurse")) self.gridLayout.addWidget(self.cmbHeadNurse, 11, 2, 1, 2) self.cmbType = CEnumComboBox(self.tabMain) self.cmbType.setObjectName(_fromUtf8("cmbType")) self.gridLayout.addWidget(self.cmbType, 8, 2, 1, 2) self.cmbChief = CPersonComboBoxEx(self.tabMain) self.cmbChief.setObjectName(_fromUtf8("cmbChief")) self.gridLayout.addWidget(self.cmbChief, 10, 2, 1, 2) self.lblType = QtGui.QLabel(self.tabMain) 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, 8, 0, 1, 1) self.lblSyncGUID = QtGui.QLabel(self.tabMain) self.lblSyncGUID.setObjectName(_fromUtf8("lblSyncGUID")) self.gridLayout.addWidget(self.lblSyncGUID, 17, 0, 1, 1) self.lblCode = QtGui.QLabel(self.tabMain) 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, 2, 0, 1, 1) self.edtAddress = QtGui.QLineEdit(self.tabMain) self.edtAddress.setObjectName(_fromUtf8("edtAddress")) self.gridLayout.addWidget(self.edtAddress, 7, 2, 1, 2) self.lblOrganisation = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblOrganisation.sizePolicy().hasHeightForWidth()) self.lblOrganisation.setSizePolicy(sizePolicy) self.lblOrganisation.setObjectName(_fromUtf8("lblOrganisation")) self.gridLayout.addWidget(self.lblOrganisation, 0, 0, 1, 1) spacerItem = QtGui.QSpacerItem(20, 41, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 30, 0, 1, 1) self.cmbNet = CRBComboBox(self.tabMain) self.cmbNet.setObjectName(_fromUtf8("cmbNet")) self.gridLayout.addWidget(self.cmbNet, 9, 2, 1, 2) self.lblInfisDepTypeCode = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblInfisDepTypeCode.sizePolicy().hasHeightForWidth()) self.lblInfisDepTypeCode.setSizePolicy(sizePolicy) self.lblInfisDepTypeCode.setObjectName( _fromUtf8("lblInfisDepTypeCode")) self.gridLayout.addWidget(self.lblInfisDepTypeCode, 14, 0, 1, 1) self.chkHasDS = QtGui.QCheckBox(self.tabMain) self.chkHasDS.setObjectName(_fromUtf8("chkHasDS")) self.gridLayout.addWidget(self.chkHasDS, 28, 2, 1, 2) self.lblAddress = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAddress.sizePolicy().hasHeightForWidth()) self.lblAddress.setSizePolicy(sizePolicy) self.lblAddress.setObjectName(_fromUtf8("lblAddress")) self.gridLayout.addWidget(self.lblAddress, 7, 0, 1, 1) self.lblInfisInternalCode = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblInfisInternalCode.sizePolicy().hasHeightForWidth()) self.lblInfisInternalCode.setSizePolicy(sizePolicy) self.lblInfisInternalCode.setObjectName( _fromUtf8("lblInfisInternalCode")) self.gridLayout.addWidget(self.lblInfisInternalCode, 13, 0, 1, 1) self.cmbParent = CDbComboBox(self.tabMain) self.cmbParent.setEnabled(False) self.cmbParent.setFrame(True) self.cmbParent.setObjectName(_fromUtf8("cmbParent")) self.gridLayout.addWidget(self.cmbParent, 1, 2, 1, 2) self.cmbIsArea = CEnumComboBox(self.tabMain) self.cmbIsArea.setObjectName(_fromUtf8("cmbIsArea")) self.gridLayout.addWidget(self.cmbIsArea, 19, 2, 1, 2) self.edtInfisTariffCode = QtGui.QLineEdit(self.tabMain) self.edtInfisTariffCode.setMaxLength(16) self.edtInfisTariffCode.setObjectName(_fromUtf8("edtInfisTariffCode")) self.gridLayout.addWidget(self.edtInfisTariffCode, 16, 2, 1, 2) self.edtCode = QtGui.QLineEdit(self.tabMain) self.edtCode.setMaxLength(64) self.edtCode.setObjectName(_fromUtf8("edtCode")) self.gridLayout.addWidget(self.edtCode, 2, 2, 1, 2) self.edtInfisInternalCode = QtGui.QLineEdit(self.tabMain) self.edtInfisInternalCode.setMaxLength(30) self.edtInfisInternalCode.setObjectName( _fromUtf8("edtInfisInternalCode")) self.gridLayout.addWidget(self.edtInfisInternalCode, 13, 2, 1, 2) self.lblDayLimit = QtGui.QLabel(self.tabMain) self.lblDayLimit.setObjectName(_fromUtf8("lblDayLimit")) self.gridLayout.addWidget(self.lblDayLimit, 21, 0, 1, 1) self.edtInfisCode = QtGui.QLineEdit(self.tabMain) self.edtInfisCode.setMaxLength(16) self.edtInfisCode.setObjectName(_fromUtf8("edtInfisCode")) self.gridLayout.addWidget(self.edtInfisCode, 12, 2, 1, 2) self.lblIsArea = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblIsArea.sizePolicy().hasHeightForWidth()) self.lblIsArea.setSizePolicy(sizePolicy) self.lblIsArea.setObjectName(_fromUtf8("lblIsArea")) self.gridLayout.addWidget(self.lblIsArea, 19, 0, 1, 1) self.edtBookkeeperCode = QtGui.QLineEdit(self.tabMain) self.edtBookkeeperCode.setObjectName(_fromUtf8("edtBookkeeperCode")) self.gridLayout.addWidget(self.edtBookkeeperCode, 4, 2, 1, 2) self.lblParent = QtGui.QLabel(self.tabMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblParent.sizePolicy().hasHeightForWidth()) self.lblParent.setSizePolicy(sizePolicy) self.lblParent.setObjectName(_fromUtf8("lblParent")) self.gridLayout.addWidget(self.lblParent, 1, 0, 1, 1) self.cmbOrganisation = COrgComboBox(self.tabMain) self.cmbOrganisation.setEnabled(True) self.cmbOrganisation.setObjectName(_fromUtf8("cmbOrganisation")) self.gridLayout.addWidget(self.cmbOrganisation, 0, 2, 1, 1) self.edtDayLimit = QtGui.QLineEdit(self.tabMain) self.edtDayLimit.setObjectName(_fromUtf8("edtDayLimit")) self.gridLayout.addWidget(self.edtDayLimit, 21, 2, 1, 2) self.lblName = QtGui.QLabel(self.tabMain) 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, 6, 0, 1, 1) self.lblSalaryPercentage = QtGui.QLabel(self.tabMain) self.lblSalaryPercentage.setObjectName( _fromUtf8("lblSalaryPercentage")) self.gridLayout.addWidget(self.lblSalaryPercentage, 23, 0, 1, 1) self.cmbMiacHead = COrgStructureComboBoxOnlyInfisEnabled(self.tabMain) self.cmbMiacHead.setEnabled(False) self.cmbMiacHead.setObjectName(_fromUtf8("cmbMiacHead")) self.gridLayout.addWidget(self.cmbMiacHead, 20, 2, 1, 2) self.edtSyncGUID = QtGui.QLineEdit(self.tabMain) self.edtSyncGUID.setObjectName(_fromUtf8("edtSyncGUID")) self.gridLayout.addWidget(self.edtSyncGUID, 17, 2, 1, 2) self.edtAttachCode = QtGui.QLineEdit(self.tabMain) self.edtAttachCode.setObjectName(_fromUtf8("edtAttachCode")) self.gridLayout.addWidget(self.edtAttachCode, 18, 2, 1, 2) self.edtSalaryPercentage = QtGui.QDoubleSpinBox(self.tabMain) self.edtSalaryPercentage.setMaximum(100.0) self.edtSalaryPercentage.setObjectName( _fromUtf8("edtSalaryPercentage")) self.gridLayout.addWidget(self.edtSalaryPercentage, 23, 2, 1, 2) self.lblQuota = QtGui.QLabel(self.tabMain) self.lblQuota.setObjectName(_fromUtf8("lblQuota")) self.gridLayout.addWidget(self.lblQuota, 24, 0, 1, 1) self.edtQuota = QtGui.QSpinBox(self.tabMain) self.edtQuota.setObjectName(_fromUtf8("edtQuota")) self.gridLayout.addWidget(self.edtQuota, 24, 2, 1, 2) self.lblMiacCode = QtGui.QLabel(self.tabMain) self.lblMiacCode.setObjectName(_fromUtf8("lblMiacCode")) self.gridLayout.addWidget(self.lblMiacCode, 5, 0, 1, 1) self.edtMiacCode = QtGui.QLineEdit(self.tabMain) self.edtMiacCode.setObjectName(_fromUtf8("edtMiacCode")) self.gridLayout.addWidget(self.edtMiacCode, 5, 2, 1, 2) self.tabWidget.addTab(self.tabMain, _fromUtf8("")) self.tabAddress = QtGui.QWidget() self.tabAddress.setEnabled(True) self.tabAddress.setObjectName(_fromUtf8("tabAddress")) self.gridLayout_2 = QtGui.QGridLayout(self.tabAddress) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblAddress = CTableView(self.tabAddress) self.tblAddress.setEnabled(False) self.tblAddress.setSortingEnabled(True) self.tblAddress.setObjectName(_fromUtf8("tblAddress")) self.gridLayout_2.addWidget(self.tblAddress, 0, 0, 1, 7) self.layFilter = QtGui.QHBoxLayout() self.layFilter.setContentsMargins(0, -1, 0, -1) self.layFilter.setSpacing(3) self.layFilter.setObjectName(_fromUtf8("layFilter")) self.lblFilterStreet = QtGui.QLabel(self.tabAddress) self.lblFilterStreet.setMaximumSize(QtCore.QSize(43, 16777215)) self.lblFilterStreet.setObjectName(_fromUtf8("lblFilterStreet")) self.layFilter.addWidget(self.lblFilterStreet) self.cmbFilterAddressStreet = CStreetComboBox(self.tabAddress) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressStreet.setSizePolicy(sizePolicy) self.cmbFilterAddressStreet.setMaximumSize(QtCore.QSize(237, 16777215)) self.cmbFilterAddressStreet.setObjectName( _fromUtf8("cmbFilterAddressStreet")) self.layFilter.addWidget(self.cmbFilterAddressStreet) self.lblFilterHouse = QtGui.QLabel(self.tabAddress) self.lblFilterHouse.setMaximumSize(QtCore.QSize(42, 16777215)) self.lblFilterHouse.setLayoutDirection(QtCore.Qt.RightToLeft) self.lblFilterHouse.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblFilterHouse.setObjectName(_fromUtf8("lblFilterHouse")) self.layFilter.addWidget(self.lblFilterHouse) self.edtFilterAdressHouse = QtGui.QLineEdit(self.tabAddress) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterAdressHouse.sizePolicy().hasHeightForWidth()) self.edtFilterAdressHouse.setSizePolicy(sizePolicy) self.edtFilterAdressHouse.setMaximumSize(QtCore.QSize(68, 16777215)) self.edtFilterAdressHouse.setObjectName( _fromUtf8("edtFilterAdressHouse")) self.layFilter.addWidget(self.edtFilterAdressHouse) spacerItem1 = QtGui.QSpacerItem(117, 19, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum) self.layFilter.addItem(spacerItem1) self.gridLayout_2.addLayout(self.layFilter, 6, 0, 2, 1) self.lblFilterScreach = QtGui.QLabel(self.tabAddress) self.lblFilterScreach.setObjectName(_fromUtf8("lblFilterScreach")) self.gridLayout_2.addWidget(self.lblFilterScreach, 1, 0, 1, 1) self.btnAddAddresses = QtGui.QPushButton(self.tabAddress) self.btnAddAddresses.setObjectName(_fromUtf8("btnAddAddresses")) self.gridLayout_2.addWidget(self.btnAddAddresses, 8, 2, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label_2 = QtGui.QLabel(self.tabAddress) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout.addWidget(self.label_2) self.edtFilterCorp = QtGui.QLineEdit(self.tabAddress) self.edtFilterCorp.setObjectName(_fromUtf8("edtFilterCorp")) self.horizontalLayout.addWidget(self.edtFilterCorp) self.lblFilterFirstKv = QtGui.QLabel(self.tabAddress) self.lblFilterFirstKv.setObjectName(_fromUtf8("lblFilterFirstKv")) self.horizontalLayout.addWidget(self.lblFilterFirstKv) self.edtFilterFirstKv = QtGui.QLineEdit(self.tabAddress) self.edtFilterFirstKv.setObjectName(_fromUtf8("edtFilterFirstKv")) self.horizontalLayout.addWidget(self.edtFilterFirstKv) self.lblFilterLastKv = QtGui.QLabel(self.tabAddress) self.lblFilterLastKv.setObjectName(_fromUtf8("lblFilterLastKv")) self.horizontalLayout.addWidget(self.lblFilterLastKv) self.edtFilterLastKv = QtGui.QLineEdit(self.tabAddress) self.edtFilterLastKv.setObjectName(_fromUtf8("edtFilterLastKv")) self.horizontalLayout.addWidget(self.edtFilterLastKv) self.btnFilterApply = QtGui.QPushButton(self.tabAddress) self.btnFilterApply.setObjectName(_fromUtf8("btnFilterApply")) self.horizontalLayout.addWidget(self.btnFilterApply) self.lblBegKv = QtGui.QLabel(self.tabAddress) self.lblBegKv.setText(_fromUtf8("")) self.lblBegKv.setObjectName(_fromUtf8("lblBegKv")) self.horizontalLayout.addWidget(self.lblBegKv) self.gridLayout_2.addLayout(self.horizontalLayout, 8, 0, 1, 1) self.tabWidget.addTab(self.tabAddress, _fromUtf8("")) self.tabHospitalBeds = QtGui.QWidget() self.tabHospitalBeds.setEnabled(True) self.tabHospitalBeds.setObjectName(_fromUtf8("tabHospitalBeds")) self.gridLayout_4 = QtGui.QGridLayout(self.tabHospitalBeds) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.tblHospitalBeds = CInDocTableView(self.tabHospitalBeds) self.tblHospitalBeds.setEnabled(True) self.tblHospitalBeds.setObjectName(_fromUtf8("tblHospitalBeds")) self.gridLayout_4.addWidget(self.tblHospitalBeds, 0, 0, 1, 1) self.tblInvoluteBeds = CInDocTableView(self.tabHospitalBeds) self.tblInvoluteBeds.setEnabled(True) self.tblInvoluteBeds.setObjectName(_fromUtf8("tblInvoluteBeds")) self.gridLayout_4.addWidget(self.tblInvoluteBeds, 1, 0, 1, 1) self.tabWidget.addTab(self.tabHospitalBeds, _fromUtf8("")) self.tabJobs = QtGui.QWidget() self.tabJobs.setObjectName(_fromUtf8("tabJobs")) self.gridLayout_6 = QtGui.QGridLayout(self.tabJobs) self.gridLayout_6.setMargin(4) self.gridLayout_6.setSpacing(4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.tblJobs = CInDocTableView(self.tabJobs) self.tblJobs.setEnabled(True) self.tblJobs.setObjectName(_fromUtf8("tblJobs")) self.gridLayout_6.addWidget(self.tblJobs, 0, 0, 1, 1) self.tabWidget.addTab(self.tabJobs, _fromUtf8("")) self.tabGaps = QtGui.QWidget() self.tabGaps.setObjectName(_fromUtf8("tabGaps")) self.gridLayout_5 = QtGui.QGridLayout(self.tabGaps) self.gridLayout_5.setMargin(4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblGaps = CInDocTableView(self.tabGaps) self.tblGaps.setEnabled(True) self.tblGaps.setObjectName(_fromUtf8("tblGaps")) self.gridLayout_5.addWidget(self.tblGaps, 1, 0, 1, 1) self.chkInheritGaps = QtGui.QCheckBox(self.tabGaps) self.chkInheritGaps.setObjectName(_fromUtf8("chkInheritGaps")) self.gridLayout_5.addWidget(self.chkInheritGaps, 0, 0, 1, 1) self.tabWidget.addTab(self.tabGaps, _fromUtf8("")) self.tabEventTypes = QtGui.QWidget() self.tabEventTypes.setObjectName(_fromUtf8("tabEventTypes")) self.gridLayout_7 = QtGui.QGridLayout(self.tabEventTypes) self.gridLayout_7.setMargin(4) self.gridLayout_7.setSpacing(4) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.chkInheritEventTypes = QtGui.QCheckBox(self.tabEventTypes) self.chkInheritEventTypes.setObjectName( _fromUtf8("chkInheritEventTypes")) self.gridLayout_7.addWidget(self.chkInheritEventTypes, 0, 0, 1, 1) self.tblEventTypes = CInDocTableView(self.tabEventTypes) self.tblEventTypes.setEnabled(True) self.tblEventTypes.setObjectName(_fromUtf8("tblEventTypes")) self.gridLayout_7.addWidget(self.tblEventTypes, 1, 0, 1, 1) self.tabWidget.addTab(self.tabEventTypes, _fromUtf8("")) self.tabActionTypes = QtGui.QWidget() self.tabActionTypes.setObjectName(_fromUtf8("tabActionTypes")) self.gridLayout_8 = QtGui.QGridLayout(self.tabActionTypes) self.gridLayout_8.setMargin(4) self.gridLayout_8.setSpacing(4) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.chkInheritActionTypes = QtGui.QCheckBox(self.tabActionTypes) self.chkInheritActionTypes.setObjectName( _fromUtf8("chkInheritActionTypes")) self.gridLayout_8.addWidget(self.chkInheritActionTypes, 0, 0, 1, 1) self.tblActionTypes = CInDocTableView(self.tabActionTypes) self.tblActionTypes.setEnabled(True) self.tblActionTypes.setObjectName(_fromUtf8("tblActionTypes")) self.gridLayout_8.addWidget(self.tblActionTypes, 1, 0, 1, 1) self.tabWidget.addTab(self.tabActionTypes, _fromUtf8("")) self.tabDisabledAttendance = QtGui.QWidget() self.tabDisabledAttendance.setObjectName( _fromUtf8("tabDisabledAttendance")) self.gridLayout_9 = QtGui.QGridLayout(self.tabDisabledAttendance) self.gridLayout_9.setMargin(4) self.gridLayout_9.setSpacing(4) self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9")) self.tblDisabledAttendance = CInDocTableView( self.tabDisabledAttendance) self.tblDisabledAttendance.setObjectName( _fromUtf8("tblDisabledAttendance")) self.gridLayout_9.addWidget(self.tblDisabledAttendance, 0, 0, 1, 1) self.tabWidget.addTab(self.tabDisabledAttendance, _fromUtf8("")) self.tabStocks = QtGui.QWidget() self.tabStocks.setObjectName(_fromUtf8("tabStocks")) self.gridLayout_10 = QtGui.QGridLayout(self.tabStocks) self.gridLayout_10.setMargin(4) self.gridLayout_10.setSpacing(4) self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.tblStocks = CInDocTableView(self.tabStocks) self.tblStocks.setObjectName(_fromUtf8("tblStocks")) self.gridLayout_10.addWidget(self.tblStocks, 0, 0, 1, 1) self.tabWidget.addTab(self.tabStocks, _fromUtf8("")) self.tabEquipment = QtGui.QWidget() self.tabEquipment.setObjectName(_fromUtf8("tabEquipment")) self.gridLayout_11 = QtGui.QGridLayout(self.tabEquipment) self.gridLayout_11.setObjectName(_fromUtf8("gridLayout_11")) self.tblEquipments = CInDocTableView(self.tabEquipment) self.tblEquipments.setObjectName(_fromUtf8("tblEquipments")) self.gridLayout_11.addWidget(self.tblEquipments, 0, 0, 1, 1) self.tabWidget.addTab(self.tabEquipment, _fromUtf8("")) self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1) self.lblBookkeeperCode.setBuddy(self.edtBookkeeperCode) self.lblInfisCode.setBuddy(self.edtInfisCode) self.lblHeadNurse.setBuddy(self.cmbHeadNurse) self.lblInfisTariffCode.setBuddy(self.edtInfisTariffCode) self.lblChief.setBuddy(self.cmbChief) self.lblNet.setBuddy(self.cmbNet) self.lblType.setBuddy(self.cmbType) self.lblCode.setBuddy(self.edtCode) self.lblOrganisation.setBuddy(self.cmbOrganisation) self.lblInfisDepTypeCode.setBuddy(self.edtInfisDepTypeCode) self.lblAddress.setBuddy(self.edtAddress) self.lblInfisInternalCode.setBuddy(self.edtInfisInternalCode) self.lblIsArea.setBuddy(self.cmbIsArea) self.lblParent.setBuddy(self.cmbParent) self.lblName.setBuddy(self.edtName) self.retranslateUi(ItemEditorDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ItemEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ItemEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog) ItemEditorDialog.setTabOrder(self.tabWidget, self.cmbOrganisation) ItemEditorDialog.setTabOrder(self.cmbOrganisation, self.btnSelectOrganisation) ItemEditorDialog.setTabOrder(self.btnSelectOrganisation, self.cmbParent) ItemEditorDialog.setTabOrder(self.cmbParent, self.edtCode) ItemEditorDialog.setTabOrder(self.edtCode, self.edtBookkeeperCode) ItemEditorDialog.setTabOrder(self.edtBookkeeperCode, self.edtName) ItemEditorDialog.setTabOrder(self.edtName, self.edtAddress) ItemEditorDialog.setTabOrder(self.edtAddress, self.cmbType) ItemEditorDialog.setTabOrder(self.cmbType, self.cmbNet) ItemEditorDialog.setTabOrder(self.cmbNet, self.cmbChief) ItemEditorDialog.setTabOrder(self.cmbChief, self.cmbHeadNurse) ItemEditorDialog.setTabOrder(self.cmbHeadNurse, self.edtInfisCode) ItemEditorDialog.setTabOrder(self.edtInfisCode, self.edtInfisInternalCode) ItemEditorDialog.setTabOrder(self.edtInfisInternalCode, self.edtInfisDepTypeCode) ItemEditorDialog.setTabOrder(self.edtInfisDepTypeCode, self.edtInfisTariffCode) ItemEditorDialog.setTabOrder(self.edtInfisTariffCode, self.cmbIsArea) ItemEditorDialog.setTabOrder(self.cmbIsArea, self.chkHasHospitalBeds) ItemEditorDialog.setTabOrder(self.chkHasHospitalBeds, self.chkHasStocks) ItemEditorDialog.setTabOrder(self.chkHasStocks, self.tblAddress) ItemEditorDialog.setTabOrder(self.tblAddress, self.tblHospitalBeds) ItemEditorDialog.setTabOrder(self.tblHospitalBeds, self.tblJobs) ItemEditorDialog.setTabOrder(self.tblJobs, self.chkInheritGaps) ItemEditorDialog.setTabOrder(self.chkInheritGaps, self.tblGaps) ItemEditorDialog.setTabOrder(self.tblGaps, self.chkInheritEventTypes) ItemEditorDialog.setTabOrder(self.chkInheritEventTypes, self.tblEventTypes) ItemEditorDialog.setTabOrder(self.tblEventTypes, self.chkInheritActionTypes) ItemEditorDialog.setTabOrder(self.chkInheritActionTypes, self.tblActionTypes) ItemEditorDialog.setTabOrder(self.tblActionTypes, self.tblDisabledAttendance) ItemEditorDialog.setTabOrder(self.tblDisabledAttendance, self.tblStocks) ItemEditorDialog.setTabOrder(self.tblStocks, self.buttonBox) ItemEditorDialog.setTabOrder(self.buttonBox, self.tblEquipments)
def setupUi(self, EdtReferralDialog): EdtReferralDialog.setObjectName(_fromUtf8("EdtReferralDialog")) EdtReferralDialog.resize(248, 504) self.gridLayout = QtGui.QGridLayout(EdtReferralDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbSpeciality = CRBComboBox(EdtReferralDialog) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 19, 0, 1, 2) self.cmbReferralType = CRBComboBox(EdtReferralDialog) self.cmbReferralType.setEnabled(False) self.cmbReferralType.setObjectName(_fromUtf8("cmbReferralType")) self.gridLayout.addWidget(self.cmbReferralType, 1, 0, 1, 2) self.lblReferralType = QtGui.QLabel(EdtReferralDialog) self.lblReferralType.setObjectName(_fromUtf8("lblReferralType")) self.gridLayout.addWidget(self.lblReferralType, 0, 0, 1, 1) self.lblReferralNumber = QtGui.QLabel(EdtReferralDialog) self.lblReferralNumber.setObjectName(_fromUtf8("lblReferralNumber")) self.gridLayout.addWidget(self.lblReferralNumber, 2, 0, 1, 1) self.edtReferralNumber = QtGui.QLineEdit(EdtReferralDialog) self.edtReferralNumber.setObjectName(_fromUtf8("edtReferralNumber")) self.gridLayout.addWidget(self.edtReferralNumber, 3, 0, 1, 2) self.lblReferralDate = QtGui.QLabel(EdtReferralDialog) self.lblReferralDate.setObjectName(_fromUtf8("lblReferralDate")) self.gridLayout.addWidget(self.lblReferralDate, 4, 0, 1, 1) self.edtReferralDate = QtGui.QDateEdit(EdtReferralDialog) self.edtReferralDate.setObjectName(_fromUtf8("edtReferralDate")) self.gridLayout.addWidget(self.edtReferralDate, 4, 1, 1, 1) self.lblReferralHospDate = QtGui.QLabel(EdtReferralDialog) self.lblReferralHospDate.setObjectName( _fromUtf8("lblReferralHospDate")) self.gridLayout.addWidget(self.lblReferralHospDate, 5, 0, 1, 1) self.edtReferralPlanedDate = QtGui.QDateEdit(EdtReferralDialog) self.edtReferralPlanedDate.setObjectName( _fromUtf8("edtReferralPlanedDate")) self.gridLayout.addWidget(self.edtReferralPlanedDate, 5, 1, 1, 1) self.lblRelegateMO = QtGui.QLabel(EdtReferralDialog) self.lblRelegateMO.setObjectName(_fromUtf8("lblRelegateMO")) self.gridLayout.addWidget(self.lblRelegateMO, 6, 0, 1, 1) self.cmbRelegateMo = COrgComboBox(EdtReferralDialog) self.cmbRelegateMo.setObjectName(_fromUtf8("cmbRelegateMo")) self.gridLayout.addWidget(self.cmbRelegateMo, 7, 0, 1, 2) self.lblReferralMKB = QtGui.QLabel(EdtReferralDialog) self.lblReferralMKB.setObjectName(_fromUtf8("lblReferralMKB")) self.gridLayout.addWidget(self.lblReferralMKB, 8, 0, 1, 1) self.cmbReferralMKB = CICDCodeEditEx(EdtReferralDialog) self.cmbReferralMKB.setObjectName(_fromUtf8("cmbReferralMKB")) self.gridLayout.addWidget(self.cmbReferralMKB, 9, 0, 1, 2) self.lblClinicType = QtGui.QLabel(EdtReferralDialog) self.lblClinicType.setObjectName(_fromUtf8("lblClinicType")) self.gridLayout.addWidget(self.lblClinicType, 10, 0, 1, 1) self.cmbClinicType = QtGui.QComboBox(EdtReferralDialog) self.cmbClinicType.setObjectName(_fromUtf8("cmbClinicType")) self.cmbClinicType.addItem(_fromUtf8("")) self.cmbClinicType.addItem(_fromUtf8("")) self.cmbClinicType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClinicType, 11, 0, 1, 2) self.lblReferralSpeciality = QtGui.QLabel(EdtReferralDialog) self.lblReferralSpeciality.setObjectName( _fromUtf8("lblReferralSpeciality")) self.gridLayout.addWidget(self.lblReferralSpeciality, 18, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(EdtReferralDialog) 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, 20, 0, 1, 2) self.lblPerson = QtGui.QLabel(EdtReferralDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 12, 0, 1, 1) self.lblOrgStructureProfile = QtGui.QLabel(EdtReferralDialog) self.lblOrgStructureProfile.setObjectName( _fromUtf8("lblOrgStructureProfile")) self.gridLayout.addWidget(self.lblOrgStructureProfile, 16, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(EdtReferralDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 13, 0, 1, 2) self.lblBedProfile = QtGui.QLabel(EdtReferralDialog) self.lblBedProfile.setObjectName(_fromUtf8("lblBedProfile")) self.gridLayout.addWidget(self.lblBedProfile, 14, 0, 1, 1) self.cmbBedProfile = CRBComboBox(EdtReferralDialog) self.cmbBedProfile.setObjectName(_fromUtf8("cmbBedProfile")) self.gridLayout.addWidget(self.cmbBedProfile, 15, 0, 1, 2) self.cmbOrgStructure = CRBComboBox(EdtReferralDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 17, 0, 1, 2) self.retranslateUi(EdtReferralDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), EdtReferralDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), EdtReferralDialog.reject) QtCore.QMetaObject.connectSlotsByName(EdtReferralDialog)
def setupUi(self, ReportDDStudentsInfoSetupDialog): ReportDDStudentsInfoSetupDialog.setObjectName( _fromUtf8("ReportDDStudentsInfoSetupDialog")) ReportDDStudentsInfoSetupDialog.resize(468, 460) self.layoutWidget = QtGui.QWidget(ReportDDStudentsInfoSetupDialog) self.layoutWidget.setGeometry(QtCore.QRect(11, 11, 446, 443)) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.gridLayout = QtGui.QGridLayout(self.layoutWidget) self.gridLayout.setMargin(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.chkPodtver = QtGui.QCheckBox(self.layoutWidget) self.chkPodtver.setObjectName(_fromUtf8("chkPodtver")) self.gridLayout.addWidget(self.chkPodtver, 4, 0, 1, 3) self.lblEndDatePodtver = QtGui.QLabel(self.layoutWidget) self.lblEndDatePodtver.setEnabled(False) self.lblEndDatePodtver.setObjectName(_fromUtf8("lblEndDatePodtver")) self.gridLayout.addWidget(self.lblEndDatePodtver, 7, 0, 1, 4) self.edtEndDatePodtver = CDateEdit(self.layoutWidget) self.edtEndDatePodtver.setEnabled(False) self.edtEndDatePodtver.setObjectName(_fromUtf8("edtEndDatePodtver")) self.gridLayout.addWidget(self.edtEndDatePodtver, 7, 4, 1, 3) self.lblBegDatePodtver = QtGui.QLabel(self.layoutWidget) self.lblBegDatePodtver.setEnabled(False) self.lblBegDatePodtver.setObjectName(_fromUtf8("lblBegDatePodtver")) self.gridLayout.addWidget(self.lblBegDatePodtver, 6, 0, 1, 3) self.edtBegDatePodtver = CDateEdit(self.layoutWidget) self.edtBegDatePodtver.setEnabled(False) self.edtBegDatePodtver.setObjectName(_fromUtf8("edtBegDatePodtver")) self.gridLayout.addWidget(self.edtBegDatePodtver, 6, 4, 1, 3) self.lblAge = QtGui.QLabel(self.layoutWidget) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 3, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.layoutWidget) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPerson, 10, 3, 1, 4) self.cmbOrgStructure = COrgStructureComboBox(self.layoutWidget) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 9, 3, 1, 4) self.cmbRefuseType = CRBComboBox(self.layoutWidget) self.cmbRefuseType.setEnabled(False) self.cmbRefuseType.setObjectName(_fromUtf8("cmbRefuseType")) self.gridLayout.addWidget(self.cmbRefuseType, 8, 4, 1, 3) self.lblEndDate = QtGui.QLabel(self.layoutWidget) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 3) self.lblPerson = QtGui.QLabel(self.layoutWidget) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 10, 0, 1, 1) self.cmbWorkOrganisation = COrgComboBox(self.layoutWidget) self.cmbWorkOrganisation.setEnabled(True) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout.addWidget(self.cmbWorkOrganisation, 11, 3, 1, 3) self.lblPodtver = QtGui.QLabel(self.layoutWidget) self.lblPodtver.setEnabled(False) self.lblPodtver.setObjectName(_fromUtf8("lblPodtver")) self.gridLayout.addWidget(self.lblPodtver, 5, 0, 1, 1) self.lblSex = QtGui.QLabel(self.layoutWidget) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 2, 0, 1, 1) self.btnSelectWorkOrganisation = QtGui.QToolButton(self.layoutWidget) self.btnSelectWorkOrganisation.setEnabled(True) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout.addWidget(self.btnSelectWorkOrganisation, 11, 6, 1, 1) spacerItem = QtGui.QSpacerItem(20, 17, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 12, 5, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(self.layoutWidget) 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, 13, 3, 1, 3) self.frmAge_2 = QtGui.QFrame(self.layoutWidget) self.frmAge_2.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge_2.setFrameShadow(QtGui.QFrame.Raised) self.frmAge_2.setObjectName(_fromUtf8("frmAge_2")) self._2 = QtGui.QHBoxLayout(self.frmAge_2) self._2.setSpacing(4) self._2.setMargin(0) self._2.setObjectName(_fromUtf8("_2")) self.edtAgeFrom = QtGui.QSpinBox(self.frmAge_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self._2.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge_2) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self._2.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self._2.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge_2) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self._2.addWidget(self.lblAgeYears) spacerItem1 = QtGui.QSpacerItem(20, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self._2.addItem(spacerItem1) self.gridLayout.addWidget(self.frmAge_2, 3, 3, 1, 4) self.lblRefuseType = QtGui.QLabel(self.layoutWidget) self.lblRefuseType.setEnabled(False) self.lblRefuseType.setObjectName(_fromUtf8("lblRefuseType")) self.gridLayout.addWidget(self.lblRefuseType, 8, 0, 1, 1) self.cmbSex = QtGui.QComboBox(self.layoutWidget) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 2, 3, 1, 4) self.edtEndDate = CDateEdit(self.layoutWidget) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 4) self.edtBegDate = CDateEdit(self.layoutWidget) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 4) self.cmbPodtver = QtGui.QComboBox(self.layoutWidget) self.cmbPodtver.setEnabled(False) self.cmbPodtver.setObjectName(_fromUtf8("cmbPodtver")) self.gridLayout.addWidget(self.cmbPodtver, 5, 4, 1, 3) self.lblWorkOrganisation = QtGui.QLabel(self.layoutWidget) self.lblWorkOrganisation.setObjectName( _fromUtf8("lblWorkOrganisation")) self.gridLayout.addWidget(self.lblWorkOrganisation, 11, 0, 1, 2) self.lblBegDate = QtGui.QLabel(self.layoutWidget) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 3) self.lblOrgStructure = QtGui.QLabel(self.layoutWidget) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 9, 0, 1, 3) self.lblEndDatePodtver.setBuddy(self.edtEndDatePodtver) self.lblBegDatePodtver.setBuddy(self.edtBegDatePodtver) self.lblAge.setBuddy(self.edtAgeFrom) self.lblEndDate.setBuddy(self.edtEndDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblPodtver.setBuddy(self.cmbPodtver) self.lblSex.setBuddy(self.cmbSex) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblRefuseType.setBuddy(self.cmbRefuseType) self.lblWorkOrganisation.setBuddy(self.cmbWorkOrganisation) self.lblBegDate.setBuddy(self.edtBegDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.retranslateUi(ReportDDStudentsInfoSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportDDStudentsInfoSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportDDStudentsInfoSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportDDStudentsInfoSetupDialog) ReportDDStudentsInfoSetupDialog.setTabOrder(self.buttonBox, self.edtBegDate) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtEndDate, self.cmbSex) ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtAgeTo, self.chkPodtver) ReportDDStudentsInfoSetupDialog.setTabOrder(self.chkPodtver, self.cmbPodtver) ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbPodtver, self.edtBegDatePodtver) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtBegDatePodtver, self.edtEndDatePodtver) ReportDDStudentsInfoSetupDialog.setTabOrder(self.edtEndDatePodtver, self.cmbRefuseType) ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbRefuseType, self.cmbOrgStructure) ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson) ReportDDStudentsInfoSetupDialog.setTabOrder(self.cmbPerson, self.cmbWorkOrganisation) ReportDDStudentsInfoSetupDialog.setTabOrder( self.cmbWorkOrganisation, self.btnSelectWorkOrganisation)
def setupUi(self, FindClientDialog): FindClientDialog.setObjectName(_fromUtf8("FindClientDialog")) FindClientDialog.resize(902, 883) self.horizontalLayout_2 = QtGui.QHBoxLayout(FindClientDialog) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.tblClients = CTableView(FindClientDialog) self.tblClients.setObjectName(_fromUtf8("tblClients")) self.horizontalLayout_2.addWidget(self.tblClients) self.groupBox = QtGui.QGroupBox(FindClientDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setMinimumSize(QtCore.QSize(321, 0)) self.groupBox.setMaximumSize(QtCore.QSize(321, 16777215)) self.groupBox.setFlat(False) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.gridlayout = QtGui.QGridLayout(self.groupBox) self.gridlayout.setMargin(2) self.gridlayout.setSpacing(2) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.buttonBoxClient = CApplyResetDialogButtonBox(self.groupBox) self.buttonBoxClient.setOrientation(QtCore.Qt.Horizontal) self.buttonBoxClient.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBoxClient.setObjectName(_fromUtf8("buttonBoxClient")) self.gridlayout.addWidget(self.buttonBoxClient, 2, 0, 1, 1) self.tabFilter = QtGui.QTabWidget(self.groupBox) self.tabFilter.setTabPosition(QtGui.QTabWidget.North) self.tabFilter.setTabShape(QtGui.QTabWidget.Rounded) self.tabFilter.setObjectName(_fromUtf8("tabFilter")) self.tabFind = QtGui.QWidget() self.tabFind.setObjectName(_fromUtf8("tabFind")) self.gridLayout_18 = QtGui.QGridLayout(self.tabFind) self.gridLayout_18.setMargin(1) self.gridLayout_18.setSpacing(1) self.gridLayout_18.setObjectName(_fromUtf8("gridLayout_18")) self.chkFilterContact = QtGui.QCheckBox(self.tabFind) self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact")) self.gridLayout_18.addWidget(self.chkFilterContact, 11, 0, 1, 3) self.cmbFilterDocumentType = CRBComboBox(self.tabFind) self.cmbFilterDocumentType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterDocumentType.sizePolicy().hasHeightForWidth()) self.cmbFilterDocumentType.setSizePolicy(sizePolicy) self.cmbFilterDocumentType.setMinimumSize(QtCore.QSize(100, 0)) self.cmbFilterDocumentType.setObjectName( _fromUtf8("cmbFilterDocumentType")) self.gridLayout_18.addWidget(self.cmbFilterDocumentType, 15, 3, 1, 4) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setSpacing(2) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.lblFilterAddressHouse = QtGui.QLabel(self.tabFind) self.lblFilterAddressHouse.setEnabled(False) self.lblFilterAddressHouse.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft | QtCore.Qt.AlignVCenter) self.lblFilterAddressHouse.setObjectName( _fromUtf8("lblFilterAddressHouse")) self.horizontalLayout_5.addWidget(self.lblFilterAddressHouse) self.edtFilterAddressHouse = QtGui.QLineEdit(self.tabFind) self.edtFilterAddressHouse.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterAddressHouse.sizePolicy().hasHeightForWidth()) self.edtFilterAddressHouse.setSizePolicy(sizePolicy) self.edtFilterAddressHouse.setObjectName( _fromUtf8("edtFilterAddressHouse")) self.horizontalLayout_5.addWidget(self.edtFilterAddressHouse) self.lblFilterAddressCorpus = QtGui.QLabel(self.tabFind) self.lblFilterAddressCorpus.setEnabled(False) self.lblFilterAddressCorpus.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblFilterAddressCorpus.setObjectName( _fromUtf8("lblFilterAddressCorpus")) self.horizontalLayout_5.addWidget(self.lblFilterAddressCorpus) self.edtFilterAddressCorpus = QtGui.QLineEdit(self.tabFind) self.edtFilterAddressCorpus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterAddressCorpus.sizePolicy().hasHeightForWidth()) self.edtFilterAddressCorpus.setSizePolicy(sizePolicy) self.edtFilterAddressCorpus.setObjectName( _fromUtf8("edtFilterAddressCorpus")) self.horizontalLayout_5.addWidget(self.edtFilterAddressCorpus) self.lblFilterAddressFlat = QtGui.QLabel(self.tabFind) self.lblFilterAddressFlat.setEnabled(False) self.lblFilterAddressFlat.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.lblFilterAddressFlat.setObjectName( _fromUtf8("lblFilterAddressFlat")) self.horizontalLayout_5.addWidget(self.lblFilterAddressFlat) self.edtFilterAddressFlat = QtGui.QLineEdit(self.tabFind) self.edtFilterAddressFlat.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterAddressFlat.sizePolicy().hasHeightForWidth()) self.edtFilterAddressFlat.setSizePolicy(sizePolicy) self.edtFilterAddressFlat.setObjectName( _fromUtf8("edtFilterAddressFlat")) self.horizontalLayout_5.addWidget(self.edtFilterAddressFlat) self.gridLayout_18.addLayout(self.horizontalLayout_5, 24, 0, 1, 7) self.cmbWorkOrganisation = COrgComboBox(self.tabFind) self.cmbWorkOrganisation.setEnabled(False) self.cmbWorkOrganisation.setObjectName( _fromUtf8("cmbWorkOrganisation")) self.gridLayout_18.addWidget(self.cmbWorkOrganisation, 26, 0, 1, 6) self.chkFilterPolicy = QtGui.QCheckBox(self.tabFind) self.chkFilterPolicy.setObjectName(_fromUtf8("chkFilterPolicy")) self.gridLayout_18.addWidget(self.chkFilterPolicy, 17, 0, 1, 7) self.chkFilterWorkOrganisation = QtGui.QCheckBox(self.tabFind) self.chkFilterWorkOrganisation.setObjectName( _fromUtf8("chkFilterWorkOrganisation")) self.gridLayout_18.addWidget(self.chkFilterWorkOrganisation, 25, 0, 1, 6) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_18.addItem(spacerItem, 33, 0, 1, 1) self.btnSelectWorkOrganisation = QtGui.QToolButton(self.tabFind) self.btnSelectWorkOrganisation.setEnabled(False) self.btnSelectWorkOrganisation.setObjectName( _fromUtf8("btnSelectWorkOrganisation")) self.gridLayout_18.addWidget(self.btnSelectWorkOrganisation, 26, 6, 1, 1) self.edtFilterSNILS = QtGui.QLineEdit(self.tabFind) self.edtFilterSNILS.setEnabled(False) self.edtFilterSNILS.setObjectName(_fromUtf8("edtFilterSNILS")) self.gridLayout_18.addWidget(self.edtFilterSNILS, 12, 3, 1, 4) self.cmbFilterAccountingSystem = CRBComboBox(self.tabFind) self.cmbFilterAccountingSystem.setEnabled(False) self.cmbFilterAccountingSystem.setObjectName( _fromUtf8("cmbFilterAccountingSystem")) self.gridLayout_18.addWidget(self.cmbFilterAccountingSystem, 0, 2, 1, 5) self.edtFilterContact = QtGui.QLineEdit(self.tabFind) self.edtFilterContact.setEnabled(False) self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact")) self.gridLayout_18.addWidget(self.edtFilterContact, 11, 3, 1, 4) self.cmbFilterPolicyType = CRBComboBox(self.tabFind) self.cmbFilterPolicyType.setEnabled(False) self.cmbFilterPolicyType.setObjectName( _fromUtf8("cmbFilterPolicyType")) self.gridLayout_18.addWidget(self.cmbFilterPolicyType, 18, 0, 1, 7) self.chkFilterLocationCardType = QtGui.QCheckBox(self.tabFind) self.chkFilterLocationCardType.setObjectName( _fromUtf8("chkFilterLocationCardType")) self.gridLayout_18.addWidget(self.chkFilterLocationCardType, 28, 0, 1, 2) self.cmbFilterLocationCardType = CRBComboBox(self.tabFind) self.cmbFilterLocationCardType.setEnabled(False) self.cmbFilterLocationCardType.setObjectName( _fromUtf8("cmbFilterLocationCardType")) self.gridLayout_18.addWidget(self.cmbFilterLocationCardType, 28, 2, 1, 5) self.chkFilterStatusObservationType = QtGui.QCheckBox(self.tabFind) self.chkFilterStatusObservationType.setObjectName( _fromUtf8("chkFilterStatusObservationType")) self.gridLayout_18.addWidget(self.chkFilterStatusObservationType, 29, 0, 1, 2) self.edtFilterBirthDay = CDateEdit(self.tabFind) self.edtFilterBirthDay.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBirthDay.sizePolicy().hasHeightForWidth()) self.edtFilterBirthDay.setSizePolicy(sizePolicy) self.edtFilterBirthDay.setCalendarPopup(True) self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay")) self.gridLayout_18.addWidget(self.edtFilterBirthDay, 9, 3, 1, 4) self.cmbFilterStatusObservationType = CRBComboBox(self.tabFind) self.cmbFilterStatusObservationType.setEnabled(False) self.cmbFilterStatusObservationType.setObjectName( _fromUtf8("cmbFilterStatusObservationType")) self.gridLayout_18.addWidget(self.cmbFilterStatusObservationType, 29, 2, 1, 5) spacerItem1 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_18.addItem(spacerItem1, 10, 5, 1, 2) self.chkFilterSNILS = QtGui.QCheckBox(self.tabFind) self.chkFilterSNILS.setObjectName(_fromUtf8("chkFilterSNILS")) self.gridLayout_18.addWidget(self.chkFilterSNILS, 12, 0, 1, 3) self.chkFilterSex = QtGui.QCheckBox(self.tabFind) self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex")) self.gridLayout_18.addWidget(self.chkFilterSex, 10, 0, 1, 3) self.cmbFilterSex = QtGui.QComboBox(self.tabFind) self.cmbFilterSex.setEnabled(False) self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215)) self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.setItemText(0, _fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.gridLayout_18.addWidget(self.cmbFilterSex, 10, 3, 1, 2) self.chkFilterDocument = QtGui.QCheckBox(self.tabFind) self.chkFilterDocument.setObjectName(_fromUtf8("chkFilterDocument")) self.gridLayout_18.addWidget(self.chkFilterDocument, 15, 0, 1, 3) self.edtFilterDocumentSerial = QtGui.QLineEdit(self.tabFind) self.edtFilterDocumentSerial.setEnabled(False) self.edtFilterDocumentSerial.setObjectName( _fromUtf8("edtFilterDocumentSerial")) self.gridLayout_18.addWidget(self.edtFilterDocumentSerial, 16, 0, 1, 3) self.edtFilterDocumentNumber = QtGui.QLineEdit(self.tabFind) self.edtFilterDocumentNumber.setEnabled(False) self.edtFilterDocumentNumber.setObjectName( _fromUtf8("edtFilterDocumentNumber")) self.gridLayout_18.addWidget(self.edtFilterDocumentNumber, 16, 3, 1, 4) self.cmbFilterPolicyInsurer = CInsurerComboBox(self.tabFind) self.cmbFilterPolicyInsurer.setEnabled(False) self.cmbFilterPolicyInsurer.setObjectName( _fromUtf8("cmbFilterPolicyInsurer")) self.gridLayout_18.addWidget(self.cmbFilterPolicyInsurer, 19, 0, 1, 7) self.edtFilterPolicySerial = CPolicySerialEdit(self.tabFind) self.edtFilterPolicySerial.setEnabled(False) self.edtFilterPolicySerial.setObjectName( _fromUtf8("edtFilterPolicySerial")) self.gridLayout_18.addWidget(self.edtFilterPolicySerial, 20, 0, 1, 3) self.edtFilterPolicyNumber = QtGui.QLineEdit(self.tabFind) self.edtFilterPolicyNumber.setEnabled(False) self.edtFilterPolicyNumber.setObjectName( _fromUtf8("edtFilterPolicyNumber")) self.gridLayout_18.addWidget(self.edtFilterPolicyNumber, 20, 3, 1, 4) self.chkFilterAddress = QtGui.QCheckBox(self.tabFind) self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress")) self.gridLayout_18.addWidget(self.chkFilterAddress, 21, 0, 1, 3) self.cmbFilterAddressStreet = CStreetComboBox(self.tabFind) self.cmbFilterAddressStreet.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressStreet.setSizePolicy(sizePolicy) self.cmbFilterAddressStreet.setObjectName( _fromUtf8("cmbFilterAddressStreet")) self.gridLayout_18.addWidget(self.cmbFilterAddressStreet, 23, 0, 1, 7) self.cmbFilterAddressType = QtGui.QComboBox(self.tabFind) self.cmbFilterAddressType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressType.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressType.setSizePolicy(sizePolicy) self.cmbFilterAddressType.setObjectName( _fromUtf8("cmbFilterAddressType")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.gridLayout_18.addWidget(self.cmbFilterAddressType, 21, 3, 1, 4) self.cmbFilterAddressCity = CKLADRComboBox(self.tabFind) self.cmbFilterAddressCity.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressCity.setSizePolicy(sizePolicy) self.cmbFilterAddressCity.setObjectName( _fromUtf8("cmbFilterAddressCity")) self.gridLayout_18.addWidget(self.cmbFilterAddressCity, 22, 0, 1, 7) self.chkFilterId = QtGui.QCheckBox(self.tabFind) self.chkFilterId.setObjectName(_fromUtf8("chkFilterId")) self.gridLayout_18.addWidget(self.chkFilterId, 0, 0, 1, 2) self.chkFilterLastName = QtGui.QCheckBox(self.tabFind) self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName")) self.gridLayout_18.addWidget(self.chkFilterLastName, 3, 0, 1, 7) self.edtFilterId = QtGui.QLineEdit(self.tabFind) self.edtFilterId.setEnabled(False) self.edtFilterId.setMaxLength(16) self.edtFilterId.setObjectName(_fromUtf8("edtFilterId")) self.gridLayout_18.addWidget(self.edtFilterId, 2, 0, 1, 7) self.chkFilterFirstName = QtGui.QCheckBox(self.tabFind) self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName")) self.gridLayout_18.addWidget(self.chkFilterFirstName, 5, 0, 1, 7) self.edtFilterLastName = QtGui.QLineEdit(self.tabFind) self.edtFilterLastName.setEnabled(False) self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName")) self.gridLayout_18.addWidget(self.edtFilterLastName, 4, 0, 1, 7) self.edtFilterFirstName = QtGui.QLineEdit(self.tabFind) self.edtFilterFirstName.setEnabled(False) self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName")) self.gridLayout_18.addWidget(self.edtFilterFirstName, 6, 0, 1, 7) self.chkFilterPatrName = QtGui.QCheckBox(self.tabFind) self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName")) self.gridLayout_18.addWidget(self.chkFilterPatrName, 7, 0, 1, 7) self.edtFilterPatrName = QtGui.QLineEdit(self.tabFind) self.edtFilterPatrName.setEnabled(False) self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName")) self.gridLayout_18.addWidget(self.edtFilterPatrName, 8, 0, 1, 7) self.chkFilterBirthDay = QtGui.QCheckBox(self.tabFind) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkFilterBirthDay.sizePolicy().hasHeightForWidth()) self.chkFilterBirthDay.setSizePolicy(sizePolicy) self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay")) self.gridLayout_18.addWidget(self.chkFilterBirthDay, 9, 0, 1, 3) self.chkFilterSocStatuses = QtGui.QCheckBox(self.tabFind) self.chkFilterSocStatuses.setObjectName( _fromUtf8("chkFilterSocStatuses")) self.gridLayout_18.addWidget(self.chkFilterSocStatuses, 30, 0, 1, 5) self.cmbFilterSocStatClass = CSocStatusComboBox(self.tabFind) self.cmbFilterSocStatClass.setEnabled(False) self.cmbFilterSocStatClass.setObjectName( _fromUtf8("cmbFilterSocStatClass")) self.gridLayout_18.addWidget(self.cmbFilterSocStatClass, 31, 0, 1, 7) self.cmbFilterSocStatType = CRBComboBox(self.tabFind) self.cmbFilterSocStatType.setEnabled(False) self.cmbFilterSocStatType.setObjectName( _fromUtf8("cmbFilterSocStatType")) self.gridLayout_18.addWidget(self.cmbFilterSocStatType, 32, 0, 1, 7) self.chkFilterHurtType = QtGui.QCheckBox(self.tabFind) self.chkFilterHurtType.setObjectName(_fromUtf8("chkFilterHurtType")) self.gridLayout_18.addWidget(self.chkFilterHurtType, 27, 0, 1, 2) self.cmbFilterHurtType = CRBComboBox(self.tabFind) self.cmbFilterHurtType.setEnabled(False) self.cmbFilterHurtType.setObjectName(_fromUtf8("cmbFilterHurtType")) self.gridLayout_18.addWidget(self.cmbFilterHurtType, 27, 2, 1, 5) self.tabFilter.addTab(self.tabFind, _fromUtf8("")) self.tabFindEx = QtGui.QWidget() self.tabFindEx.setObjectName(_fromUtf8("tabFindEx")) self.gridLayout_17 = QtGui.QGridLayout(self.tabFindEx) self.gridLayout_17.setMargin(1) self.gridLayout_17.setSpacing(1) self.gridLayout_17.setObjectName(_fromUtf8("gridLayout_17")) self.chkFilterCreatePerson = QtGui.QCheckBox(self.tabFindEx) self.chkFilterCreatePerson.setObjectName( _fromUtf8("chkFilterCreatePerson")) self.gridLayout_17.addWidget(self.chkFilterCreatePerson, 0, 0, 1, 4) self.cmbFilterCreatePerson = CPersonComboBoxEx(self.tabFindEx) self.cmbFilterCreatePerson.setEnabled(False) self.cmbFilterCreatePerson.setObjectName( _fromUtf8("cmbFilterCreatePerson")) self.gridLayout_17.addWidget(self.cmbFilterCreatePerson, 1, 0, 1, 4) self.chkFilterCreateDate = QtGui.QCheckBox(self.tabFindEx) self.chkFilterCreateDate.setObjectName( _fromUtf8("chkFilterCreateDate")) self.gridLayout_17.addWidget(self.chkFilterCreateDate, 2, 0, 1, 4) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setSpacing(2) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtFilterBegCreateDate = CDateEdit(self.tabFindEx) self.edtFilterBegCreateDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBegCreateDate.sizePolicy().hasHeightForWidth()) self.edtFilterBegCreateDate.setSizePolicy(sizePolicy) self.edtFilterBegCreateDate.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterBegCreateDate.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterBegCreateDate.setCalendarPopup(True) self.edtFilterBegCreateDate.setObjectName( _fromUtf8("edtFilterBegCreateDate")) self.horizontalLayout_3.addWidget(self.edtFilterBegCreateDate) self.edtFilterEndCreateDate = CDateEdit(self.tabFindEx) self.edtFilterEndCreateDate.setEnabled(False) self.edtFilterEndCreateDate.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterEndCreateDate.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterEndCreateDate.setCalendarPopup(True) self.edtFilterEndCreateDate.setObjectName( _fromUtf8("edtFilterEndCreateDate")) self.horizontalLayout_3.addWidget(self.edtFilterEndCreateDate) self.gridLayout_17.addLayout(self.horizontalLayout_3, 3, 0, 1, 4) self.chkFilterModifyPerson = QtGui.QCheckBox(self.tabFindEx) self.chkFilterModifyPerson.setObjectName( _fromUtf8("chkFilterModifyPerson")) self.gridLayout_17.addWidget(self.chkFilterModifyPerson, 4, 0, 1, 4) self.cmbFilterModifyPerson = CPersonComboBoxEx(self.tabFindEx) self.cmbFilterModifyPerson.setEnabled(False) self.cmbFilterModifyPerson.setObjectName( _fromUtf8("cmbFilterModifyPerson")) self.gridLayout_17.addWidget(self.cmbFilterModifyPerson, 5, 0, 1, 4) self.chkFilterModifyDate = QtGui.QCheckBox(self.tabFindEx) self.chkFilterModifyDate.setObjectName( _fromUtf8("chkFilterModifyDate")) self.gridLayout_17.addWidget(self.chkFilterModifyDate, 6, 0, 1, 4) self.horizontalLayoutStaff = QtGui.QHBoxLayout() self.horizontalLayoutStaff.setSpacing(2) self.horizontalLayoutStaff.setObjectName( _fromUtf8("horizontalLayoutStaff")) self.edtFilterBegModifyDate = CDateEdit(self.tabFindEx) self.edtFilterBegModifyDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBegModifyDate.sizePolicy().hasHeightForWidth()) self.edtFilterBegModifyDate.setSizePolicy(sizePolicy) self.edtFilterBegModifyDate.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterBegModifyDate.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterBegModifyDate.setCalendarPopup(True) self.edtFilterBegModifyDate.setObjectName( _fromUtf8("edtFilterBegModifyDate")) self.horizontalLayoutStaff.addWidget(self.edtFilterBegModifyDate) self.edtFilterEndModifyDate = CDateEdit(self.tabFindEx) self.edtFilterEndModifyDate.setEnabled(False) self.edtFilterEndModifyDate.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterEndModifyDate.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterEndModifyDate.setCalendarPopup(True) self.edtFilterEndModifyDate.setObjectName( _fromUtf8("edtFilterEndModifyDate")) self.horizontalLayoutStaff.addWidget(self.edtFilterEndModifyDate) self.gridLayout_17.addLayout(self.horizontalLayoutStaff, 7, 0, 1, 4) self.chkFilterAge = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge")) self.gridLayout_17.addWidget(self.chkFilterAge, 10, 0, 1, 1) self.edtFilterBegAge = QtGui.QSpinBox(self.tabFindEx) self.edtFilterBegAge.setEnabled(False) self.edtFilterBegAge.setMaximum(150) self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge")) self.gridLayout_17.addWidget(self.edtFilterBegAge, 10, 1, 1, 2) self.cmbFilterBegAge = QtGui.QComboBox(self.tabFindEx) self.cmbFilterBegAge.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterBegAge.sizePolicy().hasHeightForWidth()) self.cmbFilterBegAge.setSizePolicy(sizePolicy) self.cmbFilterBegAge.setObjectName(_fromUtf8("cmbFilterBegAge")) self.cmbFilterBegAge.addItem(_fromUtf8("")) self.cmbFilterBegAge.addItem(_fromUtf8("")) self.cmbFilterBegAge.addItem(_fromUtf8("")) self.cmbFilterBegAge.addItem(_fromUtf8("")) self.gridLayout_17.addWidget(self.cmbFilterBegAge, 10, 3, 1, 1) self.edtFilterEndAge = QtGui.QSpinBox(self.tabFindEx) self.edtFilterEndAge.setEnabled(False) self.edtFilterEndAge.setMaximum(150) self.edtFilterEndAge.setProperty("value", 150) self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge")) self.gridLayout_17.addWidget(self.edtFilterEndAge, 11, 1, 1, 2) self.cmbFilterEndAge = QtGui.QComboBox(self.tabFindEx) self.cmbFilterEndAge.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterEndAge.sizePolicy().hasHeightForWidth()) self.cmbFilterEndAge.setSizePolicy(sizePolicy) self.cmbFilterEndAge.setObjectName(_fromUtf8("cmbFilterEndAge")) self.cmbFilterEndAge.addItem(_fromUtf8("")) self.cmbFilterEndAge.addItem(_fromUtf8("")) self.cmbFilterEndAge.addItem(_fromUtf8("")) self.cmbFilterEndAge.addItem(_fromUtf8("")) self.gridLayout_17.addWidget(self.cmbFilterEndAge, 11, 3, 1, 1) self.chkFilterAddressOrgStructure = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAddressOrgStructure.setObjectName( _fromUtf8("chkFilterAddressOrgStructure")) self.gridLayout_17.addWidget(self.chkFilterAddressOrgStructure, 12, 0, 1, 2) self.cmbFilterAddressOrgStructure = COrgStructureComboBox( self.tabFindEx) self.cmbFilterAddressOrgStructure.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressOrgStructure.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressOrgStructure.setSizePolicy(sizePolicy) self.cmbFilterAddressOrgStructure.setObjectName( _fromUtf8("cmbFilterAddressOrgStructure")) self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructure, 14, 0, 1, 4) self.chkFilterAddressIsEmpty = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAddressIsEmpty.setObjectName( _fromUtf8("chkFilterAddressIsEmpty")) self.gridLayout_17.addWidget(self.chkFilterAddressIsEmpty, 18, 0, 1, 4) self.chkFilterAttach = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAttach.setObjectName(_fromUtf8("chkFilterAttach")) self.gridLayout_17.addWidget(self.chkFilterAttach, 21, 0, 1, 4) self.cmbFilterAttachOrganisation = CPolyclinicComboBox(self.tabFindEx) self.cmbFilterAttachOrganisation.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAttachOrganisation.sizePolicy().hasHeightForWidth()) self.cmbFilterAttachOrganisation.setSizePolicy(sizePolicy) self.cmbFilterAttachOrganisation.setObjectName( _fromUtf8("cmbFilterAttachOrganisation")) self.gridLayout_17.addWidget(self.cmbFilterAttachOrganisation, 22, 0, 1, 4) self.chkFilterAttachNonBase = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAttachNonBase.setObjectName( _fromUtf8("chkFilterAttachNonBase")) self.gridLayout_17.addWidget(self.chkFilterAttachNonBase, 23, 0, 1, 4) self.chkFilterTempInvalid = QtGui.QCheckBox(self.tabFindEx) self.chkFilterTempInvalid.setObjectName( _fromUtf8("chkFilterTempInvalid")) self.gridLayout_17.addWidget(self.chkFilterTempInvalid, 24, 0, 1, 4) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setSpacing(2) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.edtFilterBegTempInvalid = CDateEdit(self.tabFindEx) self.edtFilterBegTempInvalid.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBegTempInvalid.sizePolicy().hasHeightForWidth()) self.edtFilterBegTempInvalid.setSizePolicy(sizePolicy) self.edtFilterBegTempInvalid.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterBegTempInvalid.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterBegTempInvalid.setCalendarPopup(True) self.edtFilterBegTempInvalid.setObjectName( _fromUtf8("edtFilterBegTempInvalid")) self.horizontalLayout_4.addWidget(self.edtFilterBegTempInvalid) self.edtFilterEndTempInvalid = CDateEdit(self.tabFindEx) self.edtFilterEndTempInvalid.setEnabled(False) self.edtFilterEndTempInvalid.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterEndTempInvalid.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterEndTempInvalid.setCalendarPopup(True) self.edtFilterEndTempInvalid.setObjectName( _fromUtf8("edtFilterEndTempInvalid")) self.horizontalLayout_4.addWidget(self.edtFilterEndTempInvalid) self.gridLayout_17.addLayout(self.horizontalLayout_4, 25, 0, 1, 4) self.chkFilterRPFUnconfirmed = QtGui.QCheckBox(self.tabFindEx) self.chkFilterRPFUnconfirmed.setObjectName( _fromUtf8("chkFilterRPFUnconfirmed")) self.gridLayout_17.addWidget(self.chkFilterRPFUnconfirmed, 26, 0, 1, 4) self.chkFilterRPFConfirmed = QtGui.QCheckBox(self.tabFindEx) self.chkFilterRPFConfirmed.setObjectName( _fromUtf8("chkFilterRPFConfirmed")) self.gridLayout_17.addWidget(self.chkFilterRPFConfirmed, 27, 0, 1, 4) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.edtFilterBegRPFConfirmed = CDateEdit(self.tabFindEx) self.edtFilterBegRPFConfirmed.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBegRPFConfirmed.sizePolicy().hasHeightForWidth()) self.edtFilterBegRPFConfirmed.setSizePolicy(sizePolicy) self.edtFilterBegRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterBegRPFConfirmed.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterBegRPFConfirmed.setCalendarPopup(True) self.edtFilterBegRPFConfirmed.setObjectName( _fromUtf8("edtFilterBegRPFConfirmed")) self.horizontalLayout.addWidget(self.edtFilterBegRPFConfirmed) self.edtFilterEndRPFConfirmed = CDateEdit(self.tabFindEx) self.edtFilterEndRPFConfirmed.setEnabled(False) self.edtFilterEndRPFConfirmed.setMinimumSize(QtCore.QSize(0, 0)) self.edtFilterEndRPFConfirmed.setMaximumSize( QtCore.QSize(16777215, 16777215)) self.edtFilterEndRPFConfirmed.setCalendarPopup(True) self.edtFilterEndRPFConfirmed.setObjectName( _fromUtf8("edtFilterEndRPFConfirmed")) self.horizontalLayout.addWidget(self.edtFilterEndRPFConfirmed) self.gridLayout_17.addLayout(self.horizontalLayout, 28, 0, 1, 4) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_17.addItem(spacerItem2, 29, 0, 1, 1) self.cmbFilterAddressOrgStructureType = QtGui.QComboBox(self.tabFindEx) self.cmbFilterAddressOrgStructureType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbFilterAddressOrgStructureType. sizePolicy().hasHeightForWidth()) self.cmbFilterAddressOrgStructureType.setSizePolicy(sizePolicy) self.cmbFilterAddressOrgStructureType.setObjectName( _fromUtf8("cmbFilterAddressOrgStructureType")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.cmbFilterAddressOrgStructureType.addItem(_fromUtf8("")) self.gridLayout_17.addWidget(self.cmbFilterAddressOrgStructureType, 13, 0, 1, 4) self.cmbFilterStatusBeds = QtGui.QComboBox(self.tabFindEx) self.cmbFilterStatusBeds.setEnabled(False) self.cmbFilterStatusBeds.setObjectName( _fromUtf8("cmbFilterStatusBeds")) self.cmbFilterStatusBeds.addItem(_fromUtf8("")) self.cmbFilterStatusBeds.addItem(_fromUtf8("")) self.cmbFilterStatusBeds.addItem(_fromUtf8("")) self.cmbFilterStatusBeds.addItem(_fromUtf8("")) self.gridLayout_17.addWidget(self.cmbFilterStatusBeds, 16, 0, 1, 4) self.cmbFilterOrgStructureBeds = COrgStructureComboBox(self.tabFindEx) self.cmbFilterOrgStructureBeds.setEnabled(False) self.cmbFilterOrgStructureBeds.setObjectName( _fromUtf8("cmbFilterOrgStructureBeds")) self.gridLayout_17.addWidget(self.cmbFilterOrgStructureBeds, 17, 0, 1, 4) self.chkFilterBeds = QtGui.QCheckBox(self.tabFindEx) self.chkFilterBeds.setObjectName(_fromUtf8("chkFilterBeds")) self.gridLayout_17.addWidget(self.chkFilterBeds, 15, 0, 1, 4) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.chkFilterAttachType = QtGui.QCheckBox(self.tabFindEx) self.chkFilterAttachType.setObjectName( _fromUtf8("chkFilterAttachType")) self.horizontalLayout_6.addWidget(self.chkFilterAttachType) self.cmbFilterAttachCategory = QtGui.QComboBox(self.tabFindEx) self.cmbFilterAttachCategory.setEnabled(False) self.cmbFilterAttachCategory.setObjectName( _fromUtf8("cmbFilterAttachCategory")) self.cmbFilterAttachCategory.addItem(_fromUtf8("")) self.cmbFilterAttachCategory.addItem(_fromUtf8("")) self.cmbFilterAttachCategory.addItem(_fromUtf8("")) self.cmbFilterAttachCategory.addItem(_fromUtf8("")) self.horizontalLayout_6.addWidget(self.cmbFilterAttachCategory) self.gridLayout_17.addLayout(self.horizontalLayout_6, 19, 0, 1, 4) self.cmbFilterAttachType = CRBComboBox(self.tabFindEx) self.cmbFilterAttachType.setEnabled(False) self.cmbFilterAttachType.setObjectName( _fromUtf8("cmbFilterAttachType")) self.gridLayout_17.addWidget(self.cmbFilterAttachType, 20, 0, 1, 4) self.edtFilterEventBegDate = CDateEdit(self.tabFindEx) self.edtFilterEventBegDate.setEnabled(False) self.edtFilterEventBegDate.setCalendarPopup(True) self.edtFilterEventBegDate.setObjectName( _fromUtf8("edtFilterEventBegDate")) self.gridLayout_17.addWidget(self.edtFilterEventBegDate, 9, 0, 1, 2) self.edtFilterEventEndDate = CDateEdit(self.tabFindEx) self.edtFilterEventEndDate.setEnabled(False) self.edtFilterEventEndDate.setCalendarPopup(True) self.edtFilterEventEndDate.setObjectName( _fromUtf8("edtFilterEventEndDate")) self.gridLayout_17.addWidget(self.edtFilterEventEndDate, 9, 2, 1, 2) self.chkFilterEvent = QtGui.QCheckBox(self.tabFindEx) self.chkFilterEvent.setObjectName(_fromUtf8("chkFilterEvent")) self.gridLayout_17.addWidget(self.chkFilterEvent, 8, 0, 1, 2) self.chkFilterFirstEvent = QtGui.QCheckBox(self.tabFindEx) self.chkFilterFirstEvent.setEnabled(False) self.chkFilterFirstEvent.setObjectName( _fromUtf8("chkFilterFirstEvent")) self.gridLayout_17.addWidget(self.chkFilterFirstEvent, 8, 2, 1, 2) self.tabFilter.addTab(self.tabFindEx, _fromUtf8("")) self.gridlayout.addWidget(self.tabFilter, 1, 0, 1, 1) self.chkShowStaffOnly = QtGui.QCheckBox(self.groupBox) self.chkShowStaffOnly.setObjectName(_fromUtf8("chkShowStaffOnly")) self.gridlayout.addWidget(self.chkShowStaffOnly, 0, 0, 1, 1) self.horizontalLayout_2.addWidget(self.groupBox) self.lblFilterAddressHouse.setBuddy(self.edtFilterAddressHouse) self.lblFilterAddressCorpus.setBuddy(self.edtFilterAddressCorpus) self.lblFilterAddressFlat.setBuddy(self.edtFilterAddressFlat) self.retranslateUi(FindClientDialog) self.tabFilter.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(FindClientDialog)