def setupUi(self, ReportPersonTimetable): ReportPersonTimetable.setObjectName(_fromUtf8("ReportPersonTimetable")) ReportPersonTimetable.resize(390, 159) self.gridLayout = QtGui.QGridLayout(ReportPersonTimetable) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtBegDate = CDateEdit(ReportPersonTimetable) 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, 4, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportPersonTimetable) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 1, 3, 1, 2) self.cmbSpeciality = CRBComboBox(ReportPersonTimetable) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 2, 3, 1, 2) self.lblBegDate = QtGui.QLabel(ReportPersonTimetable) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.label_3 = QtGui.QLabel(ReportPersonTimetable) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportPersonTimetable) 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, 4, 1, 1) self.lblSpeciality = QtGui.QLabel(ReportPersonTimetable) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.gridLayout.addWidget(self.lblSpeciality, 2, 0, 1, 2) self.lblLocationCardType = QtGui.QLabel(ReportPersonTimetable) self.lblLocationCardType.setTextFormat(QtCore.Qt.AutoText) self.lblLocationCardType.setObjectName( _fromUtf8("lblLocationCardType")) self.gridLayout.addWidget(self.lblLocationCardType, 3, 0, 1, 2) self.cmbLocationCardType = CRBComboBox(ReportPersonTimetable) self.cmbLocationCardType.setObjectName( _fromUtf8("cmbLocationCardType")) self.gridLayout.addWidget(self.cmbLocationCardType, 3, 3, 1, 2) self.lblBegDate.setBuddy(self.edtBegDate) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.retranslateUi(ReportPersonTimetable) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPersonTimetable.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPersonTimetable.reject) QtCore.QMetaObject.connectSlotsByName(ReportPersonTimetable)
def setupUi(self, ReportF13SetupDialog): ReportF13SetupDialog.setObjectName(_fromUtf8("ReportF13SetupDialog")) ReportF13SetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportF13SetupDialog.resize(394, 224) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(ReportF13SetupDialog.sizePolicy().hasHeightForWidth()) ReportF13SetupDialog.setSizePolicy(sizePolicy) ReportF13SetupDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(ReportF13SetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBegDate = QtGui.QLabel(ReportF13SetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = QtGui.QDateEdit(ReportF13SetupDialog) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1) self.lblEndDate = QtGui.QLabel(ReportF13SetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.edtEndDate = QtGui.QDateEdit(ReportF13SetupDialog) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1) self.lblEventType = QtGui.QLabel(ReportF13SetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 2, 0, 1, 1) self.cmbEventType = CRBComboBox(ReportF13SetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 2, 1, 1, 1) self.lblPerson = QtGui.QLabel(ReportF13SetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportF13SetupDialog) self.cmbPerson.setEnabled(True) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 3, 1, 1, 1) self.lblOrgStructure = QtGui.QLabel(ReportF13SetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 4, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportF13SetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 4, 1, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 5, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportF13SetupDialog) 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, 0, 1, 2) self.lblEventType.setBuddy(self.cmbEventType) self.lblPerson.setBuddy(self.cmbPerson) self.retranslateUi(ReportF13SetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportF13SetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportF13SetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportF13SetupDialog)
def setupUi(self, ImportSMP): ImportSMP.setObjectName(_fromUtf8("ImportSMP")) ImportSMP.resize(545, 356) self.gridLayout = QtGui.QGridLayout(ImportSMP) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnImport = QtGui.QPushButton(ImportSMP) self.btnImport.setObjectName(_fromUtf8("btnImport")) self.horizontalLayout_2.addWidget(self.btnImport) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(ImportSMP) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_2.addWidget(self.buttonBox) self.gridLayout.addLayout(self.horizontalLayout_2, 5, 0, 1, 2) self.loLoadForm = QtGui.QHBoxLayout() self.loLoadForm.setObjectName(_fromUtf8("loLoadForm")) self.lblLoadForm = QtGui.QLabel(ImportSMP) self.lblLoadForm.setObjectName(_fromUtf8("lblLoadForm")) self.loLoadForm.addWidget(self.lblLoadForm) self.edtFileName = QtGui.QLineEdit(ImportSMP) self.edtFileName.setObjectName(_fromUtf8("edtFileName")) self.loLoadForm.addWidget(self.edtFileName) self.btnSelectFile = QtGui.QToolButton(ImportSMP) self.btnSelectFile.setObjectName(_fromUtf8("btnSelectFile")) self.loLoadForm.addWidget(self.btnSelectFile) self.gridLayout.addLayout(self.loLoadForm, 0, 0, 1, 2) self.progressBar = CProgressBar(ImportSMP) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName(_fromUtf8("progressBar")) self.gridLayout.addWidget(self.progressBar, 3, 0, 1, 2) self.logBrowser = QtGui.QTextBrowser(ImportSMP) self.logBrowser.setObjectName(_fromUtf8("logBrowser")) self.gridLayout.addWidget(self.logBrowser, 4, 0, 1, 2) self.label = QtGui.QLabel(ImportSMP) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cmbMod = QtGui.QComboBox(ImportSMP) self.cmbMod.setObjectName(_fromUtf8("cmbMod")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbMod, 1, 1, 1, 1) self.cmbPerson = CPersonComboBoxEx(ImportSMP) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 2, 1, 1, 1) self.label_2 = QtGui.QLabel(ImportSMP) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.retranslateUi(ImportSMP) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), ImportSMP.close) QtCore.QMetaObject.connectSlotsByName(ImportSMP)
def setupUi(self, ReportSalary_PerformerSetupDialog): ReportSalary_PerformerSetupDialog.setObjectName(_fromUtf8("ReportSalary_PerformerSetupDialog")) ReportSalary_PerformerSetupDialog.resize(400, 125) self.gridLayout = QtGui.QGridLayout(ReportSalary_PerformerSetupDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label = QtGui.QLabel(ReportSalary_PerformerSetupDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.edtBegDate = CDateEdit(ReportSalary_PerformerSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtBegDate.sizePolicy().hasHeightForWidth()) self.edtBegDate.setSizePolicy(sizePolicy) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1) self.label_2 = QtGui.QLabel(ReportSalary_PerformerSetupDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.edtEndDate = CDateEdit(ReportSalary_PerformerSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtEndDate.sizePolicy().hasHeightForWidth()) self.edtEndDate.setSizePolicy(sizePolicy) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 1, 1, 1) self.cmbType = QtGui.QComboBox(ReportSalary_PerformerSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbType.sizePolicy().hasHeightForWidth()) self.cmbType.setSizePolicy(sizePolicy) self.cmbType.setObjectName(_fromUtf8("cmbType")) self.cmbType.addItem(_fromUtf8("")) self.cmbType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbType, 2, 0, 1, 1) self.cmbPerformer = CPersonComboBoxEx(ReportSalary_PerformerSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbPerformer.sizePolicy().hasHeightForWidth()) self.cmbPerformer.setSizePolicy(sizePolicy) self.cmbPerformer.setObjectName(_fromUtf8("cmbPerformer")) self.gridLayout.addWidget(self.cmbPerformer, 2, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportSalary_PerformerSetupDialog) 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, 3, 0, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 4, 0, 1, 1) self.retranslateUi(ReportSalary_PerformerSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSalary_PerformerSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportSalary_PerformerSetupDialog)
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, TemperatureListEditor): TemperatureListEditor.setObjectName(_fromUtf8("TemperatureListEditor")) TemperatureListEditor.resize(437, 368) self.gridLayout = QtGui.QGridLayout(TemperatureListEditor) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtDate = CDateEdit(TemperatureListEditor) self.edtDate.setCalendarPopup(True) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 0, 0, 1, 1) self.edtTime = QtGui.QTimeEdit(TemperatureListEditor) self.edtTime.setObjectName(_fromUtf8("edtTime")) self.gridLayout.addWidget(self.edtTime, 0, 3, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(TemperatureListEditor) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Save) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 7) self.tblAPProps = CActionPropertiesTableView(TemperatureListEditor) self.tblAPProps.setObjectName(_fromUtf8("tblAPProps")) self.gridLayout.addWidget(self.tblAPProps, 2, 0, 1, 7) self.cmbTimeEdit = QtGui.QComboBox(TemperatureListEditor) self.cmbTimeEdit.setObjectName(_fromUtf8("cmbTimeEdit")) self.cmbTimeEdit.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbTimeEdit, 0, 2, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 4, 1, 3) self.cmbExecPerson = CPersonComboBoxEx(TemperatureListEditor) self.cmbExecPerson.setObjectName(_fromUtf8("cmbExecPerson")) self.gridLayout.addWidget(self.cmbExecPerson, 1, 1, 1, 6) self.lblExecPerson = QtGui.QLabel(TemperatureListEditor) self.lblExecPerson.setObjectName(_fromUtf8("lblExecPerson")) self.gridLayout.addWidget(self.lblExecPerson, 1, 0, 1, 1) self.lblLastTime = QtGui.QLabel(TemperatureListEditor) self.lblLastTime.setText(_fromUtf8("")) self.lblLastTime.setObjectName(_fromUtf8("lblLastTime")) self.gridLayout.addWidget(self.lblLastTime, 0, 1, 1, 1) self.retranslateUi(TemperatureListEditor) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TemperatureListEditor.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TemperatureListEditor.reject) QtCore.QMetaObject.connectSlotsByName(TemperatureListEditor) TemperatureListEditor.setTabOrder(self.edtDate, self.cmbTimeEdit) TemperatureListEditor.setTabOrder(self.cmbTimeEdit, self.edtTime) TemperatureListEditor.setTabOrder(self.edtTime, self.cmbExecPerson) TemperatureListEditor.setTabOrder(self.cmbExecPerson, self.tblAPProps) TemperatureListEditor.setTabOrder(self.tblAPProps, self.buttonBox)
def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(307, 138) self.gridLayout = QtGui.QGridLayout(Dialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblPeriod = QtGui.QLabel(Dialog) self.lblPeriod.setObjectName(_fromUtf8("lblPeriod")) self.gridLayout.addWidget(self.lblPeriod, 0, 0, 1, 2) self.lblDateFrom = QtGui.QLabel(Dialog) self.lblDateFrom.setObjectName(_fromUtf8("lblDateFrom")) self.gridLayout.addWidget(self.lblDateFrom, 1, 0, 1, 1) self.dtFrom = QtGui.QDateEdit(Dialog) self.dtFrom.setObjectName(_fromUtf8("dtFrom")) self.gridLayout.addWidget(self.dtFrom, 1, 1, 1, 2) self.lblDateTo = QtGui.QLabel(Dialog) self.lblDateTo.setObjectName(_fromUtf8("lblDateTo")) self.gridLayout.addWidget(self.lblDateTo, 1, 3, 1, 1) self.dtTo = QtGui.QDateEdit(Dialog) self.dtTo.setObjectName(_fromUtf8("dtTo")) self.gridLayout.addWidget(self.dtTo, 1, 4, 1, 1) self.lblOrgstructure = QtGui.QLabel(Dialog) self.lblOrgstructure.setObjectName(_fromUtf8("lblOrgstructure")) self.gridLayout.addWidget(self.lblOrgstructure, 2, 0, 1, 2) self.cmbOrgStruct = COrgStructureComboBox(Dialog) self.cmbOrgStruct.setObjectName(_fromUtf8("cmbOrgStruct")) self.gridLayout.addWidget(self.cmbOrgStruct, 2, 2, 1, 3) self.lblPerson = QtGui.QLabel(Dialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(Dialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 3, 2, 1, 3) 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, 4, 0, 1, 5) 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)
class Ui_ExecTimeNextActionDialog(object): def setupUi(self, ExecTimeNextActionDialog): ExecTimeNextActionDialog.setObjectName(_fromUtf8("ExecTimeNextActionDialog")) ExecTimeNextActionDialog.resize(349, 98) self.gridLayout = QtGui.QGridLayout(ExecTimeNextActionDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtExecTimeNew = QtGui.QTimeEdit(ExecTimeNextActionDialog) self.edtExecTimeNew.setObjectName(_fromUtf8("edtExecTimeNew")) self.gridLayout.addWidget(self.edtExecTimeNew, 0, 1, 1, 2) spacerItem = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(20, 1, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 2, 2, 1, 1) self.btnExecTimeOld = QtGui.QPushButton(ExecTimeNextActionDialog) self.btnExecTimeOld.setText(_fromUtf8("")) self.btnExecTimeOld.setObjectName(_fromUtf8("btnExecTimeOld")) self.gridLayout.addWidget(self.btnExecTimeOld, 3, 0, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(ExecTimeNextActionDialog) 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, 3, 2, 1, 2) self.lblExecTimeNew = QtGui.QLabel(ExecTimeNextActionDialog) self.lblExecTimeNew.setObjectName(_fromUtf8("lblExecTimeNew")) self.gridLayout.addWidget(self.lblExecTimeNew, 0, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ExecTimeNextActionDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 1, 1, 1, 3) self.label = QtGui.QLabel(ExecTimeNextActionDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.retranslateUi(ExecTimeNextActionDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ExecTimeNextActionDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ExecTimeNextActionDialog.reject) QtCore.QMetaObject.connectSlotsByName(ExecTimeNextActionDialog) def retranslateUi(self, ExecTimeNextActionDialog): ExecTimeNextActionDialog.setWindowTitle(QtGui.QApplication.translate("ExecTimeNextActionDialog", "Время выполнения", None, QtGui.QApplication.UnicodeUTF8)) self.lblExecTimeNew.setText(QtGui.QApplication.translate("ExecTimeNextActionDialog", "Время выполнения", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("ExecTimeNextActionDialog", "Исполнитель", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, ReportF32SetupDialog): ReportF32SetupDialog.setObjectName(_fromUtf8("ReportF32SetupDialog")) ReportF32SetupDialog.resize(408, 258) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportF32SetupDialog.sizePolicy().hasHeightForWidth()) ReportF32SetupDialog.setSizePolicy(sizePolicy) self.label = QtGui.QLabel(ReportF32SetupDialog) self.label.setGeometry(QtCore.QRect(10, 20, 141, 16)) self.label.setObjectName(_fromUtf8("label")) self.edtEndDate = CDateEdit(ReportF32SetupDialog) self.edtEndDate.setGeometry(QtCore.QRect(210, 50, 110, 22)) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.edtBegDate = CDateEdit(ReportF32SetupDialog) self.edtBegDate.setGeometry(QtCore.QRect(210, 20, 110, 22)) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.label_2 = QtGui.QLabel(ReportF32SetupDialog) self.label_2.setGeometry(QtCore.QRect(10, 50, 161, 16)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_4 = QtGui.QLabel(ReportF32SetupDialog) self.label_4.setGeometry(QtCore.QRect(10, 110, 131, 16)) self.label_4.setObjectName(_fromUtf8("label_4")) self.cmbOrgStructure = COrgStructureComboBox(ReportF32SetupDialog) self.cmbOrgStructure.setGeometry(QtCore.QRect(210, 110, 191, 22)) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.cmbEventType = CRBComboBox(ReportF32SetupDialog) self.cmbEventType.setGeometry(QtCore.QRect(210, 80, 191, 22)) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.label_3 = QtGui.QLabel(ReportF32SetupDialog) self.label_3.setGeometry(QtCore.QRect(10, 80, 131, 16)) self.label_3.setObjectName(_fromUtf8("label_3")) self.buttonBox = QtGui.QDialogButtonBox(ReportF32SetupDialog) self.buttonBox.setGeometry(QtCore.QRect(180, 230, 221, 23)) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.lblSpeciality = QtGui.QLabel(ReportF32SetupDialog) self.lblSpeciality.setGeometry(QtCore.QRect(9, 140, 197, 25)) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.cmbPerson = CPersonComboBoxEx(ReportF32SetupDialog) self.cmbPerson.setGeometry(QtCore.QRect(210, 169, 191, 25)) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.lblPerson = QtGui.QLabel(ReportF32SetupDialog) self.lblPerson.setGeometry(QtCore.QRect(9, 169, 197, 25)) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.cmbSpeciality = CRBComboBox(ReportF32SetupDialog) self.cmbSpeciality.setGeometry(QtCore.QRect(210, 140, 191, 25)) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.lblAgeYears = QtGui.QLabel(ReportF32SetupDialog) self.lblAgeYears.setGeometry(QtCore.QRect(348, 200, 23, 25)) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.edtAgeTo = QtGui.QSpinBox(ReportF32SetupDialog) self.edtAgeTo.setGeometry(QtCore.QRect(289, 200, 55, 25)) 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.edtAgeFrom = QtGui.QSpinBox(ReportF32SetupDialog) self.edtAgeFrom.setGeometry(QtCore.QRect(210, 200, 55, 25)) 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.lblAge = QtGui.QLabel(ReportF32SetupDialog) self.lblAge.setGeometry(QtCore.QRect(384, 612, 197, 25)) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.lblAge_2 = QtGui.QLabel(ReportF32SetupDialog) self.lblAge_2.setGeometry(QtCore.QRect(10, 200, 197, 25)) self.lblAge_2.setObjectName(_fromUtf8("lblAge_2")) self.lblAgeTo = QtGui.QLabel(ReportF32SetupDialog) self.lblAgeTo.setGeometry(QtCore.QRect(270, 200, 16, 25)) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.lblPerson.setBuddy(self.cmbPerson) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAge.setBuddy(self.edtAgeFrom) self.lblAge_2.setBuddy(self.edtAgeFrom) self.lblAgeTo.setBuddy(self.edtAgeTo) self.retranslateUi(ReportF32SetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportF32SetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportF32SetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportF32SetupDialog)
def setupUi(self, CreateDeferredQueueDialog): CreateDeferredQueueDialog.setObjectName( _fromUtf8("CreateDeferredQueueDialog")) CreateDeferredQueueDialog.resize(579, 340) self.gridLayout = QtGui.QGridLayout(CreateDeferredQueueDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.gbAfterAddingBehaviour = QtGui.QGroupBox( CreateDeferredQueueDialog) self.gbAfterAddingBehaviour.setObjectName( _fromUtf8("gbAfterAddingBehaviour")) self.horizontalLayout = QtGui.QHBoxLayout(self.gbAfterAddingBehaviour) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.rbReturnToDeferredQueue = QtGui.QRadioButton( self.gbAfterAddingBehaviour) self.rbReturnToDeferredQueue.setObjectName( _fromUtf8("rbReturnToDeferredQueue")) self.horizontalLayout.addWidget(self.rbReturnToDeferredQueue) self.rbReturnToRegistry = QtGui.QRadioButton( self.gbAfterAddingBehaviour) self.rbReturnToRegistry.setObjectName(_fromUtf8("rbReturnToRegistry")) self.horizontalLayout.addWidget(self.rbReturnToRegistry) self.gridLayout.addWidget(self.gbAfterAddingBehaviour, 6, 1, 1, 1) self.label_12 = QtGui.QLabel(CreateDeferredQueueDialog) self.label_12.setObjectName(_fromUtf8("label_12")) self.gridLayout.addWidget(self.label_12, 0, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.edtClient = QtGui.QLineEdit(CreateDeferredQueueDialog) self.edtClient.setEnabled(True) self.edtClient.setObjectName(_fromUtf8("edtClient")) self.horizontalLayout_3.addWidget(self.edtClient) self.btnClient = QtGui.QToolButton(CreateDeferredQueueDialog) self.btnClient.setEnabled(True) self.btnClient.setObjectName(_fromUtf8("btnClient")) self.horizontalLayout_3.addWidget(self.btnClient) self.gridLayout.addLayout(self.horizontalLayout_3, 0, 1, 1, 1) self.label_17 = QtGui.QLabel(CreateDeferredQueueDialog) self.label_17.setObjectName(_fromUtf8("label_17")) self.gridLayout.addWidget(self.label_17, 1, 0, 1, 1) self.edtMaxDate = CDateEdit(CreateDeferredQueueDialog) self.edtMaxDate.setObjectName(_fromUtf8("edtMaxDate")) self.gridLayout.addWidget(self.edtMaxDate, 1, 1, 1, 1) self.label_13 = QtGui.QLabel(CreateDeferredQueueDialog) self.label_13.setObjectName(_fromUtf8("label_13")) self.gridLayout.addWidget(self.label_13, 3, 0, 1, 1) self.cmbSpeciality = CRBComboBox(CreateDeferredQueueDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSpeciality.sizePolicy().hasHeightForWidth()) self.cmbSpeciality.setSizePolicy(sizePolicy) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout.addWidget(self.cmbSpeciality, 3, 1, 1, 1) self.label_14 = QtGui.QLabel(CreateDeferredQueueDialog) self.label_14.setObjectName(_fromUtf8("label_14")) self.gridLayout.addWidget(self.label_14, 4, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(CreateDeferredQueueDialog) 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.gridLayout.addWidget(self.cmbPerson, 4, 1, 1, 1) self.label_16 = QtGui.QLabel(CreateDeferredQueueDialog) self.label_16.setObjectName(_fromUtf8("label_16")) self.gridLayout.addWidget(self.label_16, 5, 0, 1, 1) self.edtComments = QtGui.QTextEdit(CreateDeferredQueueDialog) self.edtComments.setObjectName(_fromUtf8("edtComments")) self.gridLayout.addWidget(self.edtComments, 5, 1, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(CreateDeferredQueueDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_5.addWidget(self.buttonBox) self.gridLayout.addLayout(self.horizontalLayout_5, 7, 1, 1, 1) self.lblOrgStructure = QtGui.QLabel(CreateDeferredQueueDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 2, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(CreateDeferredQueueDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 2, 1, 1, 1) self.label_12.setBuddy(self.edtClient) self.label_17.setBuddy(self.edtMaxDate) self.label_13.setBuddy(self.cmbSpeciality) self.label_14.setBuddy(self.cmbPerson) self.label_16.setBuddy(self.edtComments) self.retranslateUi(CreateDeferredQueueDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), CreateDeferredQueueDialog.reject) QtCore.QMetaObject.connectSlotsByName(CreateDeferredQueueDialog) CreateDeferredQueueDialog.setTabOrder(self.edtClient, self.btnClient) CreateDeferredQueueDialog.setTabOrder(self.btnClient, self.edtMaxDate) CreateDeferredQueueDialog.setTabOrder(self.edtMaxDate, self.cmbSpeciality) CreateDeferredQueueDialog.setTabOrder(self.cmbSpeciality, self.cmbPerson) CreateDeferredQueueDialog.setTabOrder(self.cmbPerson, self.edtComments)
class Ui_ReportF32SetupDialog(object): def setupUi(self, ReportF32SetupDialog): ReportF32SetupDialog.setObjectName(_fromUtf8("ReportF32SetupDialog")) ReportF32SetupDialog.resize(408, 258) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportF32SetupDialog.sizePolicy().hasHeightForWidth()) ReportF32SetupDialog.setSizePolicy(sizePolicy) self.label = QtGui.QLabel(ReportF32SetupDialog) self.label.setGeometry(QtCore.QRect(10, 20, 141, 16)) self.label.setObjectName(_fromUtf8("label")) self.edtEndDate = CDateEdit(ReportF32SetupDialog) self.edtEndDate.setGeometry(QtCore.QRect(210, 50, 110, 22)) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.edtBegDate = CDateEdit(ReportF32SetupDialog) self.edtBegDate.setGeometry(QtCore.QRect(210, 20, 110, 22)) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.label_2 = QtGui.QLabel(ReportF32SetupDialog) self.label_2.setGeometry(QtCore.QRect(10, 50, 161, 16)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_4 = QtGui.QLabel(ReportF32SetupDialog) self.label_4.setGeometry(QtCore.QRect(10, 110, 131, 16)) self.label_4.setObjectName(_fromUtf8("label_4")) self.cmbOrgStructure = COrgStructureComboBox(ReportF32SetupDialog) self.cmbOrgStructure.setGeometry(QtCore.QRect(210, 110, 191, 22)) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.cmbEventType = CRBComboBox(ReportF32SetupDialog) self.cmbEventType.setGeometry(QtCore.QRect(210, 80, 191, 22)) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.label_3 = QtGui.QLabel(ReportF32SetupDialog) self.label_3.setGeometry(QtCore.QRect(10, 80, 131, 16)) self.label_3.setObjectName(_fromUtf8("label_3")) self.buttonBox = QtGui.QDialogButtonBox(ReportF32SetupDialog) self.buttonBox.setGeometry(QtCore.QRect(180, 230, 221, 23)) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.lblSpeciality = QtGui.QLabel(ReportF32SetupDialog) self.lblSpeciality.setGeometry(QtCore.QRect(9, 140, 197, 25)) self.lblSpeciality.setObjectName(_fromUtf8("lblSpeciality")) self.cmbPerson = CPersonComboBoxEx(ReportF32SetupDialog) self.cmbPerson.setGeometry(QtCore.QRect(210, 169, 191, 25)) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.lblPerson = QtGui.QLabel(ReportF32SetupDialog) self.lblPerson.setGeometry(QtCore.QRect(9, 169, 197, 25)) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.cmbSpeciality = CRBComboBox(ReportF32SetupDialog) self.cmbSpeciality.setGeometry(QtCore.QRect(210, 140, 191, 25)) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.lblAgeYears = QtGui.QLabel(ReportF32SetupDialog) self.lblAgeYears.setGeometry(QtCore.QRect(348, 200, 23, 25)) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self.edtAgeTo = QtGui.QSpinBox(ReportF32SetupDialog) self.edtAgeTo.setGeometry(QtCore.QRect(289, 200, 55, 25)) 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.edtAgeFrom = QtGui.QSpinBox(ReportF32SetupDialog) self.edtAgeFrom.setGeometry(QtCore.QRect(210, 200, 55, 25)) 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.lblAge = QtGui.QLabel(ReportF32SetupDialog) self.lblAge.setGeometry(QtCore.QRect(384, 612, 197, 25)) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.lblAge_2 = QtGui.QLabel(ReportF32SetupDialog) self.lblAge_2.setGeometry(QtCore.QRect(10, 200, 197, 25)) self.lblAge_2.setObjectName(_fromUtf8("lblAge_2")) self.lblAgeTo = QtGui.QLabel(ReportF32SetupDialog) self.lblAgeTo.setGeometry(QtCore.QRect(270, 200, 16, 25)) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self.lblSpeciality.setBuddy(self.cmbSpeciality) self.lblPerson.setBuddy(self.cmbPerson) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblAge.setBuddy(self.edtAgeFrom) self.lblAge_2.setBuddy(self.edtAgeFrom) self.lblAgeTo.setBuddy(self.edtAgeTo) self.retranslateUi(ReportF32SetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportF32SetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportF32SetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportF32SetupDialog) def retranslateUi(self, ReportF32SetupDialog): ReportF32SetupDialog.setWindowTitle( QtGui.QApplication.translate("ReportF32SetupDialog", "Параметры отчета", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Дата начала периода", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Дата окончания периода", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Тип обращения", None, QtGui.QApplication.UnicodeUTF8)) self.lblSpeciality.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "&Специальность", None, QtGui.QApplication.UnicodeUTF8)) self.lblPerson.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8)) self.cmbSpeciality.setWhatsThis( QtGui.QApplication.translate( "ReportF32SetupDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeYears.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "лет", None, QtGui.QApplication.UnicodeUTF8)) self.lblAge.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Во&зраст с", None, QtGui.QApplication.UnicodeUTF8)) self.lblAge_2.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "Во&зраст с", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeTo.setText( QtGui.QApplication.translate("ReportF32SetupDialog", "по", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ReportF39ModSetupDialog(object): def setupUi(self, ReportF39ModSetupDialog): ReportF39ModSetupDialog.setObjectName( _fromUtf8("ReportF39ModSetupDialog")) ReportF39ModSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportF39ModSetupDialog.resize(342, 344) ReportF39ModSetupDialog.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(ReportF39ModSetupDialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.lblBegDate = QtGui.QLabel(ReportF39ModSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(ReportF39ModSetupDialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 0, 2, 1, 1) self.lblEndDate = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.edtEndDate = CDateEdit(ReportF39ModSetupDialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1) self.lblOrgStructure = QtGui.QLabel(ReportF39ModSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridlayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportF39ModSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridlayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 2) self.lblPerson = QtGui.QLabel(ReportF39ModSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 9, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportF39ModSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 9, 1, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(ReportF39ModSetupDialog) 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, 0, 1, 3) self.lblRowGrouping = QtGui.QLabel(ReportF39ModSetupDialog) self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping")) self.gridlayout.addWidget(self.lblRowGrouping, 12, 0, 1, 1) self.cmbRowGrouping = QtGui.QComboBox(ReportF39ModSetupDialog) self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbRowGrouping, 12, 1, 1, 2) self.cmbEventType = CRBComboBox(ReportF39ModSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridlayout.addWidget(self.cmbEventType, 7, 1, 1, 2) self.cmbEventPurpose = CRBComboBox(ReportF39ModSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridlayout.addWidget(self.cmbEventPurpose, 4, 1, 1, 2) self.lblEventPurpose = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridlayout.addWidget(self.lblEventPurpose, 4, 0, 1, 1) self.lblEventType = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridlayout.addWidget(self.lblEventType, 7, 0, 1, 1) self.lblVisitPayStatus = QtGui.QLabel(ReportF39ModSetupDialog) self.lblVisitPayStatus.setObjectName(_fromUtf8("lblVisitPayStatus")) self.gridlayout.addWidget(self.lblVisitPayStatus, 14, 0, 1, 1) self.cmbVisitPayStatus = QtGui.QComboBox(ReportF39ModSetupDialog) self.cmbVisitPayStatus.setObjectName(_fromUtf8("cmbVisitPayStatus")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbVisitPayStatus, 14, 1, 1, 2) spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem2, 15, 0, 1, 1) self.chkDetailChildren = QtGui.QCheckBox(ReportF39ModSetupDialog) self.chkDetailChildren.setObjectName(_fromUtf8("chkDetailChildren")) self.gridlayout.addWidget(self.chkDetailChildren, 2, 1, 1, 2) self.chkVisitHospital = QtGui.QCheckBox(ReportF39ModSetupDialog) self.chkVisitHospital.setObjectName(_fromUtf8("chkVisitHospital")) self.gridlayout.addWidget(self.chkVisitHospital, 3, 1, 1, 2) self.lblSex = QtGui.QLabel(ReportF39ModSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridlayout.addWidget(self.lblSex, 10, 0, 1, 1) self.cmbSex = QtGui.QComboBox(ReportF39ModSetupDialog) 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, 10, 1, 1, 1) self.lblAge = QtGui.QLabel(ReportF39ModSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridlayout.addWidget(self.lblAge, 11, 0, 1, 1) self.frmAge = QtGui.QFrame(ReportF39ModSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self._2 = QtGui.QHBoxLayout(self.frmAge) self._2.setSpacing(4) self._2.setMargin(0) self._2.setObjectName(_fromUtf8("_2")) 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._2.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self._2.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._2.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self._2.addWidget(self.lblAgeYears) spacerItem3 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self._2.addItem(spacerItem3) self.gridlayout.addWidget(self.frmAge, 11, 1, 1, 2) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblPerson.setBuddy(self.cmbPerson) self.lblRowGrouping.setBuddy(self.cmbRowGrouping) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.lblEventType.setBuddy(self.cmbEventType) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.retranslateUi(ReportF39ModSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportF39ModSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportF39ModSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportF39ModSetupDialog) ReportF39ModSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportF39ModSetupDialog.setTabOrder(self.edtEndDate, self.chkDetailChildren) ReportF39ModSetupDialog.setTabOrder(self.chkDetailChildren, self.chkVisitHospital) ReportF39ModSetupDialog.setTabOrder(self.chkVisitHospital, self.cmbEventPurpose) ReportF39ModSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType) ReportF39ModSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure) ReportF39ModSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson) ReportF39ModSetupDialog.setTabOrder(self.cmbPerson, self.cmbSex) ReportF39ModSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportF39ModSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportF39ModSetupDialog.setTabOrder(self.edtAgeTo, self.cmbRowGrouping) ReportF39ModSetupDialog.setTabOrder(self.cmbRowGrouping, self.cmbVisitPayStatus) ReportF39ModSetupDialog.setTabOrder(self.cmbVisitPayStatus, self.buttonBox) def retranslateUi(self, ReportF39ModSetupDialog): ReportF39ModSetupDialog.setWindowTitle( QtGui.QApplication.translate("ReportF39ModSetupDialog", "параметры отчёта", None, QtGui.QApplication.UnicodeUTF8)) self.lblBegDate.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Дата &начала периода", None, QtGui.QApplication.UnicodeUTF8)) self.lblEndDate.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Дата &окончания периода", None, QtGui.QApplication.UnicodeUTF8)) self.lblOrgStructure.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.lblPerson.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8)) self.cmbPerson.setItemText( 0, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Врач", None, QtGui.QApplication.UnicodeUTF8)) self.lblRowGrouping.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Строки по", None, QtGui.QApplication.UnicodeUTF8)) self.cmbRowGrouping.setItemText( 0, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Датам", None, QtGui.QApplication.UnicodeUTF8)) self.cmbRowGrouping.setItemText( 1, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Врачам", None, QtGui.QApplication.UnicodeUTF8)) self.cmbRowGrouping.setItemText( 2, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Подразделениям", None, QtGui.QApplication.UnicodeUTF8)) self.cmbRowGrouping.setItemText( 3, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Специальности", None, QtGui.QApplication.UnicodeUTF8)) self.cmbRowGrouping.setItemText( 4, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Должности", None, QtGui.QApplication.UnicodeUTF8)) self.lblEventPurpose.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Назначение обращения", None, QtGui.QApplication.UnicodeUTF8)) self.lblEventType.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "&Тип обращения", None, QtGui.QApplication.UnicodeUTF8)) self.lblVisitPayStatus.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Флаг финансирования", None, QtGui.QApplication.UnicodeUTF8)) self.cmbVisitPayStatus.setItemText( 0, QtGui.QApplication.translate("ReportF39ModSetupDialog", "не задано", None, QtGui.QApplication.UnicodeUTF8)) self.cmbVisitPayStatus.setItemText( 1, QtGui.QApplication.translate("ReportF39ModSetupDialog", "не выставлено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbVisitPayStatus.setItemText( 2, QtGui.QApplication.translate("ReportF39ModSetupDialog", "выставлено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbVisitPayStatus.setItemText( 3, QtGui.QApplication.translate("ReportF39ModSetupDialog", "отказано", None, QtGui.QApplication.UnicodeUTF8)) self.cmbVisitPayStatus.setItemText( 4, QtGui.QApplication.translate("ReportF39ModSetupDialog", "оплачено", None, QtGui.QApplication.UnicodeUTF8)) self.chkDetailChildren.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Детализация по подросткам", None, QtGui.QApplication.UnicodeUTF8)) self.chkVisitHospital.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Учитывать посещения ДС", None, QtGui.QApplication.UnicodeUTF8)) self.lblSex.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "По&л", None, QtGui.QApplication.UnicodeUTF8)) self.cmbSex.setItemText( 1, QtGui.QApplication.translate("ReportF39ModSetupDialog", "М", None, QtGui.QApplication.UnicodeUTF8)) self.cmbSex.setItemText( 2, QtGui.QApplication.translate("ReportF39ModSetupDialog", "Ж", None, QtGui.QApplication.UnicodeUTF8)) self.lblAge.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "Во&зраст с", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeTo.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "по", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeYears.setText( QtGui.QApplication.translate("ReportF39ModSetupDialog", "лет", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, ReportF39ModSetupDialog): ReportF39ModSetupDialog.setObjectName( _fromUtf8("ReportF39ModSetupDialog")) ReportF39ModSetupDialog.setWindowModality(QtCore.Qt.ApplicationModal) ReportF39ModSetupDialog.resize(342, 344) ReportF39ModSetupDialog.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(ReportF39ModSetupDialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.lblBegDate = QtGui.QLabel(ReportF39ModSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(ReportF39ModSetupDialog) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 0, 2, 1, 1) self.lblEndDate = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.edtEndDate = CDateEdit(ReportF39ModSetupDialog) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1) self.lblOrgStructure = QtGui.QLabel(ReportF39ModSetupDialog) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridlayout.addWidget(self.lblOrgStructure, 8, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportF39ModSetupDialog) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridlayout.addWidget(self.cmbOrgStructure, 8, 1, 1, 2) self.lblPerson = QtGui.QLabel(ReportF39ModSetupDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 9, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportF39ModSetupDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 9, 1, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(ReportF39ModSetupDialog) 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, 0, 1, 3) self.lblRowGrouping = QtGui.QLabel(ReportF39ModSetupDialog) self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping")) self.gridlayout.addWidget(self.lblRowGrouping, 12, 0, 1, 1) self.cmbRowGrouping = QtGui.QComboBox(ReportF39ModSetupDialog) self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbRowGrouping, 12, 1, 1, 2) self.cmbEventType = CRBComboBox(ReportF39ModSetupDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridlayout.addWidget(self.cmbEventType, 7, 1, 1, 2) self.cmbEventPurpose = CRBComboBox(ReportF39ModSetupDialog) self.cmbEventPurpose.setObjectName(_fromUtf8("cmbEventPurpose")) self.gridlayout.addWidget(self.cmbEventPurpose, 4, 1, 1, 2) self.lblEventPurpose = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEventPurpose.setObjectName(_fromUtf8("lblEventPurpose")) self.gridlayout.addWidget(self.lblEventPurpose, 4, 0, 1, 1) self.lblEventType = QtGui.QLabel(ReportF39ModSetupDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridlayout.addWidget(self.lblEventType, 7, 0, 1, 1) self.lblVisitPayStatus = QtGui.QLabel(ReportF39ModSetupDialog) self.lblVisitPayStatus.setObjectName(_fromUtf8("lblVisitPayStatus")) self.gridlayout.addWidget(self.lblVisitPayStatus, 14, 0, 1, 1) self.cmbVisitPayStatus = QtGui.QComboBox(ReportF39ModSetupDialog) self.cmbVisitPayStatus.setObjectName(_fromUtf8("cmbVisitPayStatus")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.cmbVisitPayStatus.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbVisitPayStatus, 14, 1, 1, 2) spacerItem2 = QtGui.QSpacerItem(129, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout.addItem(spacerItem2, 15, 0, 1, 1) self.chkDetailChildren = QtGui.QCheckBox(ReportF39ModSetupDialog) self.chkDetailChildren.setObjectName(_fromUtf8("chkDetailChildren")) self.gridlayout.addWidget(self.chkDetailChildren, 2, 1, 1, 2) self.chkVisitHospital = QtGui.QCheckBox(ReportF39ModSetupDialog) self.chkVisitHospital.setObjectName(_fromUtf8("chkVisitHospital")) self.gridlayout.addWidget(self.chkVisitHospital, 3, 1, 1, 2) self.lblSex = QtGui.QLabel(ReportF39ModSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridlayout.addWidget(self.lblSex, 10, 0, 1, 1) self.cmbSex = QtGui.QComboBox(ReportF39ModSetupDialog) 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, 10, 1, 1, 1) self.lblAge = QtGui.QLabel(ReportF39ModSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridlayout.addWidget(self.lblAge, 11, 0, 1, 1) self.frmAge = QtGui.QFrame(ReportF39ModSetupDialog) self.frmAge.setFrameShape(QtGui.QFrame.NoFrame) self.frmAge.setFrameShadow(QtGui.QFrame.Raised) self.frmAge.setObjectName(_fromUtf8("frmAge")) self._2 = QtGui.QHBoxLayout(self.frmAge) self._2.setSpacing(4) self._2.setMargin(0) self._2.setObjectName(_fromUtf8("_2")) 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._2.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self._2.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._2.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self._2.addWidget(self.lblAgeYears) spacerItem3 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self._2.addItem(spacerItem3) self.gridlayout.addWidget(self.frmAge, 11, 1, 1, 2) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblPerson.setBuddy(self.cmbPerson) self.lblRowGrouping.setBuddy(self.cmbRowGrouping) self.lblEventPurpose.setBuddy(self.cmbEventPurpose) self.lblEventType.setBuddy(self.cmbEventType) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.retranslateUi(ReportF39ModSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportF39ModSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportF39ModSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportF39ModSetupDialog) ReportF39ModSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) ReportF39ModSetupDialog.setTabOrder(self.edtEndDate, self.chkDetailChildren) ReportF39ModSetupDialog.setTabOrder(self.chkDetailChildren, self.chkVisitHospital) ReportF39ModSetupDialog.setTabOrder(self.chkVisitHospital, self.cmbEventPurpose) ReportF39ModSetupDialog.setTabOrder(self.cmbEventPurpose, self.cmbEventType) ReportF39ModSetupDialog.setTabOrder(self.cmbEventType, self.cmbOrgStructure) ReportF39ModSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbPerson) ReportF39ModSetupDialog.setTabOrder(self.cmbPerson, self.cmbSex) ReportF39ModSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) ReportF39ModSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) ReportF39ModSetupDialog.setTabOrder(self.edtAgeTo, self.cmbRowGrouping) ReportF39ModSetupDialog.setTabOrder(self.cmbRowGrouping, self.cmbVisitPayStatus) ReportF39ModSetupDialog.setTabOrder(self.cmbVisitPayStatus, self.buttonBox)
class Ui_FinTransferDialog(object): def setupUi(self, FinTransferDialog): FinTransferDialog.setObjectName(_fromUtf8("FinTransferDialog")) FinTransferDialog.resize(542, 452) self.gridLayout = QtGui.QGridLayout(FinTransferDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblDate = QtGui.QLabel(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDate.sizePolicy().hasHeightForWidth()) self.lblDate.setSizePolicy(sizePolicy) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1) self.edtDate = CDateEdit(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtDate.sizePolicy().hasHeightForWidth()) self.edtDate.setSizePolicy(sizePolicy) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1) self.edtTime = QtGui.QTimeEdit(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTime.sizePolicy().hasHeightForWidth()) self.edtTime.setSizePolicy(sizePolicy) self.edtTime.setObjectName(_fromUtf8("edtTime")) self.gridLayout.addWidget(self.edtTime, 0, 2, 1, 1) self.lblSupplier = QtGui.QLabel(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSupplier.sizePolicy().hasHeightForWidth()) self.lblSupplier.setSizePolicy(sizePolicy) self.lblSupplier.setObjectName(_fromUtf8("lblSupplier")) self.gridLayout.addWidget(self.lblSupplier, 1, 0, 1, 1) self.cmbSupplier = CStorageComboBox(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSupplier.sizePolicy().hasHeightForWidth()) self.cmbSupplier.setSizePolicy(sizePolicy) self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier")) self.gridLayout.addWidget(self.cmbSupplier, 1, 1, 1, 3) self.lblNote = QtGui.QLabel(FinTransferDialog) self.lblNote.setObjectName(_fromUtf8("lblNote")) self.gridLayout.addWidget(self.lblNote, 3, 0, 1, 1) self.edtNote = QtGui.QLineEdit(FinTransferDialog) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout.addWidget(self.edtNote, 3, 1, 1, 3) self.tblItems = CInDocTableView(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblItems.sizePolicy().hasHeightForWidth()) self.tblItems.setSizePolicy(sizePolicy) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 4, 0, 1, 4) self.buttonBox = QtGui.QDialogButtonBox(FinTransferDialog) 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, 4) self.cmbSupplierPerson = CPersonComboBoxEx(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSupplierPerson.sizePolicy().hasHeightForWidth()) self.cmbSupplierPerson.setSizePolicy(sizePolicy) self.cmbSupplierPerson.setObjectName(_fromUtf8("cmbSupplierPerson")) self.gridLayout.addWidget(self.cmbSupplierPerson, 2, 1, 1, 3) self.lblSupplierPerson = QtGui.QLabel(FinTransferDialog) self.lblSupplierPerson.setObjectName(_fromUtf8("lblSupplierPerson")) self.gridLayout.addWidget(self.lblSupplierPerson, 2, 0, 1, 1) self.lblDate.setBuddy(self.edtDate) self.lblSupplier.setBuddy(self.cmbSupplier) self.lblNote.setBuddy(self.edtNote) self.lblSupplierPerson.setBuddy(self.cmbSupplierPerson) self.retranslateUi(FinTransferDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FinTransferDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FinTransferDialog.reject) QtCore.QMetaObject.connectSlotsByName(FinTransferDialog) FinTransferDialog.setTabOrder(self.edtDate, self.edtTime) FinTransferDialog.setTabOrder(self.edtTime, self.cmbSupplier) FinTransferDialog.setTabOrder(self.cmbSupplier, self.cmbSupplierPerson) FinTransferDialog.setTabOrder(self.cmbSupplierPerson, self.edtNote) FinTransferDialog.setTabOrder(self.edtNote, self.tblItems) FinTransferDialog.setTabOrder(self.tblItems, self.buttonBox) def retranslateUi(self, FinTransferDialog): FinTransferDialog.setWindowTitle( QtGui.QApplication.translate( "FinTransferDialog", "Акт изменения типа финансирования ЛСиИМН", None, QtGui.QApplication.UnicodeUTF8)) self.lblDate.setText( QtGui.QApplication.translate("FinTransferDialog", "Дата", None, QtGui.QApplication.UnicodeUTF8)) self.edtTime.setDisplayFormat( QtGui.QApplication.translate("FinTransferDialog", "HH:mm", None, QtGui.QApplication.UnicodeUTF8)) self.lblSupplier.setText( QtGui.QApplication.translate("FinTransferDialog", "Подразденение", None, QtGui.QApplication.UnicodeUTF8)) self.lblNote.setText( QtGui.QApplication.translate("FinTransferDialog", "Примечания", None, QtGui.QApplication.UnicodeUTF8)) self.lblSupplierPerson.setText( QtGui.QApplication.translate("FinTransferDialog", "Ответственный", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, TempInvalidDuplicateEditDialog): TempInvalidDuplicateEditDialog.setObjectName( _fromUtf8("TempInvalidDuplicateEditDialog")) TempInvalidDuplicateEditDialog.setWindowModality( QtCore.Qt.ApplicationModal) TempInvalidDuplicateEditDialog.resize(324, 392) self.gridLayout = QtGui.QGridLayout(TempInvalidDuplicateEditDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblNote = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblNote.setObjectName(_fromUtf8("lblNote")) self.gridLayout.addWidget(self.lblNote, 8, 0, 1, 1) self.lblSerial = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblSerial.setObjectName(_fromUtf8("lblSerial")) self.gridLayout.addWidget(self.lblSerial, 0, 0, 1, 1) self.edtNote = QtGui.QPlainTextEdit(TempInvalidDuplicateEditDialog) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout.addWidget(self.edtNote, 8, 1, 2, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 9, 0, 1, 1) self.edtNumber = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self.gridLayout.addWidget(self.edtNumber, 1, 1, 1, 2) self.cmbPerson = CPersonComboBoxEx(TempInvalidDuplicateEditDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 3, 1, 1, 2) self.edtSerial = CBlankComboBox(TempInvalidDuplicateEditDialog) self.edtSerial.setEditable(True) self.edtSerial.setObjectName(_fromUtf8("edtSerial")) self.gridLayout.addWidget(self.edtSerial, 0, 1, 1, 2) self.lblNumber = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout.addWidget(self.lblNumber, 1, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 11, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(TempInvalidDuplicateEditDialog) 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, 3) self.lblDate = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 2, 0, 1, 1) self.lblPerson = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1) self.lblDestination = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblDestination.setObjectName(_fromUtf8("lblDestination")) self.gridLayout.addWidget(self.lblDestination, 5, 0, 1, 1) self.edtDestination = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtDestination.setObjectName(_fromUtf8("edtDestination")) self.gridLayout.addWidget(self.edtDestination, 5, 1, 1, 2) self.cmbReason = CRBComboBox(TempInvalidDuplicateEditDialog) self.cmbReason.setObjectName(_fromUtf8("cmbReason")) self.gridLayout.addWidget(self.cmbReason, 6, 1, 1, 2) self.lblReason = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblReason.setObjectName(_fromUtf8("lblReason")) self.gridLayout.addWidget(self.lblReason, 6, 0, 1, 1) self.chkInsuranceOfficeMark = QtGui.QCheckBox( TempInvalidDuplicateEditDialog) self.chkInsuranceOfficeMark.setObjectName( _fromUtf8("chkInsuranceOfficeMark")) self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 10, 1, 1, 2) self.edtPlaceWork = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtPlaceWork.setEnabled(False) self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork")) self.gridLayout.addWidget(self.edtPlaceWork, 7, 1, 1, 2) self.lblPlaceWork = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork")) self.gridLayout.addWidget(self.lblPlaceWork, 7, 0, 1, 1) self.edtDate = CDateEdit(TempInvalidDuplicateEditDialog) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 2, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(71, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 2, 2, 1, 1) self.label = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 4, 0, 1, 1) self.cmbExpert = CPersonComboBoxEx(TempInvalidDuplicateEditDialog) self.cmbExpert.setObjectName(_fromUtf8("cmbExpert")) self.gridLayout.addWidget(self.cmbExpert, 4, 1, 1, 2) self.lblNote.setBuddy(self.cmbPerson) self.lblNumber.setBuddy(self.edtNumber) self.lblDate.setBuddy(self.edtDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblDestination.setBuddy(self.cmbPerson) self.lblReason.setBuddy(self.cmbPerson) self.retranslateUi(TempInvalidDuplicateEditDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidDuplicateEditDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidDuplicateEditDialog.reject) QtCore.QMetaObject.connectSlotsByName(TempInvalidDuplicateEditDialog) TempInvalidDuplicateEditDialog.setTabOrder(self.edtNumber, self.edtDate) TempInvalidDuplicateEditDialog.setTabOrder(self.edtDate, self.cmbPerson) TempInvalidDuplicateEditDialog.setTabOrder(self.cmbPerson, self.edtDestination) TempInvalidDuplicateEditDialog.setTabOrder(self.edtDestination, self.cmbReason) TempInvalidDuplicateEditDialog.setTabOrder(self.cmbReason, self.edtPlaceWork) TempInvalidDuplicateEditDialog.setTabOrder(self.edtPlaceWork, self.edtNote) TempInvalidDuplicateEditDialog.setTabOrder(self.edtNote, self.chkInsuranceOfficeMark) TempInvalidDuplicateEditDialog.setTabOrder(self.chkInsuranceOfficeMark, self.buttonBox)
class Ui_ImportSMP(object): def setupUi(self, ImportSMP): ImportSMP.setObjectName(_fromUtf8("ImportSMP")) ImportSMP.resize(545, 356) self.gridLayout = QtGui.QGridLayout(ImportSMP) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnImport = QtGui.QPushButton(ImportSMP) self.btnImport.setObjectName(_fromUtf8("btnImport")) self.horizontalLayout_2.addWidget(self.btnImport) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.buttonBox = QtGui.QDialogButtonBox(ImportSMP) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_2.addWidget(self.buttonBox) self.gridLayout.addLayout(self.horizontalLayout_2, 5, 0, 1, 2) self.loLoadForm = QtGui.QHBoxLayout() self.loLoadForm.setObjectName(_fromUtf8("loLoadForm")) self.lblLoadForm = QtGui.QLabel(ImportSMP) self.lblLoadForm.setObjectName(_fromUtf8("lblLoadForm")) self.loLoadForm.addWidget(self.lblLoadForm) self.edtFileName = QtGui.QLineEdit(ImportSMP) self.edtFileName.setObjectName(_fromUtf8("edtFileName")) self.loLoadForm.addWidget(self.edtFileName) self.btnSelectFile = QtGui.QToolButton(ImportSMP) self.btnSelectFile.setObjectName(_fromUtf8("btnSelectFile")) self.loLoadForm.addWidget(self.btnSelectFile) self.gridLayout.addLayout(self.loLoadForm, 0, 0, 1, 2) self.progressBar = CProgressBar(ImportSMP) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName(_fromUtf8("progressBar")) self.gridLayout.addWidget(self.progressBar, 3, 0, 1, 2) self.logBrowser = QtGui.QTextBrowser(ImportSMP) self.logBrowser.setObjectName(_fromUtf8("logBrowser")) self.gridLayout.addWidget(self.logBrowser, 4, 0, 1, 2) self.label = QtGui.QLabel(ImportSMP) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 0, 1, 1) self.cmbMod = QtGui.QComboBox(ImportSMP) self.cmbMod.setObjectName(_fromUtf8("cmbMod")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.cmbMod.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbMod, 1, 1, 1, 1) self.cmbPerson = CPersonComboBoxEx(ImportSMP) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 2, 1, 1, 1) self.label_2 = QtGui.QLabel(ImportSMP) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.retranslateUi(ImportSMP) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), ImportSMP.close) QtCore.QMetaObject.connectSlotsByName(ImportSMP) def retranslateUi(self, ImportSMP): ImportSMP.setWindowTitle(_translate("ImportSMP", "Dialog", None)) self.btnImport.setText(_translate("ImportSMP", "Импортировать", None)) self.lblLoadForm.setText(_translate("ImportSMP", "Загрузить из", None)) self.btnSelectFile.setText(_translate("ImportSMP", "...", None)) self.label.setText(_translate("ImportSMP", "Тип поля ID_DOC", None)) self.cmbMod.setItemText(0, _translate("ImportSMP", "ID врача", None)) self.cmbMod.setItemText(1, _translate("ImportSMP", "Код врача", None)) self.cmbMod.setItemText(2, _translate("ImportSMP", "Региональный код врача", None)) self.cmbMod.setItemText(3, _translate("ImportSMP", "Федеральный код врача", None)) self.label_2.setText(_translate("ImportSMP", "Врач по умолчанию", None))
class Ui_TissueJournalTotalEditorDialog(object): def setupUi(self, TissueJournalTotalEditorDialog): TissueJournalTotalEditorDialog.setObjectName( _fromUtf8("TissueJournalTotalEditorDialog")) TissueJournalTotalEditorDialog.resize(498, 267) TissueJournalTotalEditorDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(TissueJournalTotalEditorDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbPersonInJournal = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbPersonInJournal.setEnabled(False) self.cmbPersonInJournal.setObjectName(_fromUtf8("cmbPersonInJournal")) self.gridLayout.addWidget(self.cmbPersonInJournal, 1, 1, 1, 2) self.cmbAssistantInAction = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction.setEnabled(False) self.cmbAssistantInAction.setObjectName( _fromUtf8("cmbAssistantInAction")) self.gridLayout.addWidget(self.cmbAssistantInAction, 3, 1, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(TissueJournalTotalEditorDialog) 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, 9, 0, 1, 3) self.chkPersonInJournal = QtGui.QCheckBox( TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPersonInJournal.sizePolicy().hasHeightForWidth()) self.chkPersonInJournal.setSizePolicy(sizePolicy) self.chkPersonInJournal.setObjectName(_fromUtf8("chkPersonInJournal")) self.gridLayout.addWidget(self.chkPersonInJournal, 1, 0, 1, 1) self.chkAssistantInAction = QtGui.QCheckBox( TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkAssistantInAction.sizePolicy().hasHeightForWidth()) self.chkAssistantInAction.setSizePolicy(sizePolicy) self.chkAssistantInAction.setObjectName( _fromUtf8("chkAssistantInAction")) self.gridLayout.addWidget(self.chkAssistantInAction, 3, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkStatus.sizePolicy().hasHeightForWidth()) self.chkStatus.setSizePolicy(sizePolicy) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 0, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(TissueJournalTotalEditorDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbStatus, 0, 1, 1, 2) self.chkPersonInAction = QtGui.QCheckBox( TissueJournalTotalEditorDialog) self.chkPersonInAction.setObjectName(_fromUtf8("chkPersonInAction")) self.gridLayout.addWidget(self.chkPersonInAction, 2, 0, 1, 1) self.cmbPersonInAction = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbPersonInAction.setEnabled(False) self.cmbPersonInAction.setObjectName(_fromUtf8("cmbPersonInAction")) self.gridLayout.addWidget(self.cmbPersonInAction, 2, 1, 1, 2) self.chkMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog) self.chkMKB.setObjectName(_fromUtf8("chkMKB")) self.gridLayout.addWidget(self.chkMKB, 7, 0, 1, 1) self.chkMorphologyMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog) self.chkMorphologyMKB.setObjectName(_fromUtf8("chkMorphologyMKB")) self.gridLayout.addWidget(self.chkMorphologyMKB, 8, 0, 1, 1) self.cmbMKB = CICDCodeEditEx(TissueJournalTotalEditorDialog) self.cmbMKB.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbMKB.sizePolicy().hasHeightForWidth()) self.cmbMKB.setSizePolicy(sizePolicy) self.cmbMKB.setObjectName(_fromUtf8("cmbMKB")) self.gridLayout.addWidget(self.cmbMKB, 7, 1, 1, 1) self.cmbMorphologyMKB = CICDMorphologyCodeEditEx( TissueJournalTotalEditorDialog) self.cmbMorphologyMKB.setEnabled(False) self.cmbMorphologyMKB.setObjectName(_fromUtf8("cmbMorphologyMKB")) self.gridLayout.addWidget(self.cmbMorphologyMKB, 8, 1, 1, 1) self.lblMKBText = QtGui.QLabel(TissueJournalTotalEditorDialog) self.lblMKBText.setText(_fromUtf8("")) self.lblMKBText.setObjectName(_fromUtf8("lblMKBText")) self.gridLayout.addWidget(self.lblMKBText, 7, 2, 1, 1) self.lblMorphologyMKBText = QtGui.QLabel( TissueJournalTotalEditorDialog) self.lblMorphologyMKBText.setText(_fromUtf8("")) self.lblMorphologyMKBText.setObjectName( _fromUtf8("lblMorphologyMKBText")) self.gridLayout.addWidget(self.lblMorphologyMKBText, 8, 2, 1, 1) self.cmbAssistantInAction2 = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction2.setEnabled(False) self.cmbAssistantInAction2.setObjectName( _fromUtf8("cmbAssistantInAction2")) self.gridLayout.addWidget(self.cmbAssistantInAction2, 4, 1, 1, 2) self.cmbAssistantInAction3 = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction3.setEnabled(False) self.cmbAssistantInAction3.setObjectName( _fromUtf8("cmbAssistantInAction3")) self.gridLayout.addWidget(self.cmbAssistantInAction3, 5, 1, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 6, 0, 1, 1) self.retranslateUi(TissueJournalTotalEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TissueJournalTotalEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TissueJournalTotalEditorDialog.reject) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkPersonInJournal, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPersonInJournal.setEnabled) QtCore.QObject.connect(self.chkPersonInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPersonInAction.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction.setEnabled) QtCore.QObject.connect(self.chkMKB, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMKB.setEnabled) QtCore.QObject.connect(self.chkMorphologyMKB, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMorphologyMKB.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction2.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction3.setEnabled) QtCore.QMetaObject.connectSlotsByName(TissueJournalTotalEditorDialog) TissueJournalTotalEditorDialog.setTabOrder(self.chkStatus, self.cmbStatus) TissueJournalTotalEditorDialog.setTabOrder(self.cmbStatus, self.chkPersonInJournal) TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInJournal, self.cmbPersonInJournal) TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInJournal, self.chkPersonInAction) TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInAction, self.cmbPersonInAction) TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInAction, self.chkAssistantInAction) TissueJournalTotalEditorDialog.setTabOrder(self.chkAssistantInAction, self.cmbAssistantInAction) TissueJournalTotalEditorDialog.setTabOrder(self.cmbAssistantInAction, self.chkMKB) TissueJournalTotalEditorDialog.setTabOrder(self.chkMKB, self.cmbMKB) TissueJournalTotalEditorDialog.setTabOrder(self.cmbMKB, self.chkMorphologyMKB) TissueJournalTotalEditorDialog.setTabOrder(self.chkMorphologyMKB, self.cmbMorphologyMKB) TissueJournalTotalEditorDialog.setTabOrder(self.cmbMorphologyMKB, self.buttonBox) def retranslateUi(self, TissueJournalTotalEditorDialog): TissueJournalTotalEditorDialog.setWindowTitle( _translate("TissueJournalTotalEditorDialog", "Изменить атрибуты выбранных Действий", None)) self.chkPersonInJournal.setText( _translate("TissueJournalTotalEditorDialog", "Ответственный в журнале", None)) self.chkAssistantInAction.setText( _translate("TissueJournalTotalEditorDialog", "Ассистент в действии", None)) self.chkStatus.setText( _translate("TissueJournalTotalEditorDialog", "Статус", None)) self.cmbStatus.setItemText( 0, _translate("TissueJournalTotalEditorDialog", "Начато", None)) self.cmbStatus.setItemText( 1, _translate("TissueJournalTotalEditorDialog", "Ожидание", None)) self.cmbStatus.setItemText( 2, _translate("TissueJournalTotalEditorDialog", "Закончено", None)) self.cmbStatus.setItemText( 3, _translate("TissueJournalTotalEditorDialog", "Отменено", None)) self.cmbStatus.setItemText( 4, _translate("TissueJournalTotalEditorDialog", "Без результата", None)) self.cmbStatus.setItemText( 5, _translate("TissueJournalTotalEditorDialog", "Назначено", None)) self.chkPersonInAction.setText( _translate("TissueJournalTotalEditorDialog", "Ответственный в действии", None)) self.chkMKB.setText( _translate("TissueJournalTotalEditorDialog", "МКБ", None)) self.chkMorphologyMKB.setText( _translate("TissueJournalTotalEditorDialog", "Морфология МКБ", None))
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, ActionsPageWidget): ActionsPageWidget.setObjectName(_fromUtf8("ActionsPageWidget")) ActionsPageWidget.resize(1021, 825) self.verticalLayout = QtGui.QVBoxLayout(ActionsPageWidget) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.attrsAP = QtGui.QFrame(ActionsPageWidget) self.attrsAP.setObjectName(_fromUtf8("attrsAP")) self.gridLayout_3 = QtGui.QGridLayout(self.attrsAP) self.gridLayout_3.setMargin(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.horizontalLayout_11 = QtGui.QHBoxLayout() self.horizontalLayout_11.setMargin(0) self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11")) self.edtAPBegDate = CDateEdit(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPBegDate.sizePolicy().hasHeightForWidth()) self.edtAPBegDate.setSizePolicy(sizePolicy) self.edtAPBegDate.setCalendarPopup(True) self.edtAPBegDate.setObjectName(_fromUtf8("edtAPBegDate")) self.horizontalLayout_11.addWidget(self.edtAPBegDate) self.edtAPBegTime = QtGui.QTimeEdit(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPBegTime.sizePolicy().hasHeightForWidth()) self.edtAPBegTime.setSizePolicy(sizePolicy) self.edtAPBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtAPBegTime.setObjectName(_fromUtf8("edtAPBegTime")) self.horizontalLayout_11.addWidget(self.edtAPBegTime) self.gridLayout_3.addLayout(self.horizontalLayout_11, 1, 1, 1, 1) self.lblAPEndDate = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPEndDate.sizePolicy().hasHeightForWidth()) self.lblAPEndDate.setSizePolicy(sizePolicy) self.lblAPEndDate.setObjectName(_fromUtf8("lblAPEndDate")) self.gridLayout_3.addWidget(self.lblAPEndDate, 1, 4, 1, 1) self.mkbLayout = QtGui.QWidget(self.attrsAP) self.mkbLayout.setObjectName(_fromUtf8("mkbLayout")) self.horizontalLayout_2 = QtGui.QHBoxLayout(self.mkbLayout) self.horizontalLayout_2.setMargin(0) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.cmbHMPMethod = CRBComboBox(self.mkbLayout) self.cmbHMPMethod.setObjectName(_fromUtf8("cmbHMPMethod")) self.horizontalLayout_2.addWidget(self.cmbHMPMethod) self.gridLayout_3.addWidget(self.mkbLayout, 6, 5, 1, 1) self.lblAPOffice = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPOffice.sizePolicy().hasHeightForWidth()) self.lblAPOffice.setSizePolicy(sizePolicy) self.lblAPOffice.setObjectName(_fromUtf8("lblAPOffice")) self.gridLayout_3.addWidget(self.lblAPOffice, 1, 2, 1, 1) self.lblAPDirectionDate = QtGui.QLabel(self.attrsAP) self.lblAPDirectionDate.setObjectName(_fromUtf8("lblAPDirectionDate")) self.gridLayout_3.addWidget(self.lblAPDirectionDate, 0, 4, 1, 1) self.lblAPStatus = QtGui.QLabel(self.attrsAP) self.lblAPStatus.setObjectName(_fromUtf8("lblAPStatus")) self.gridLayout_3.addWidget(self.lblAPStatus, 0, 0, 1, 1) self.lblAPOrg = QtGui.QLabel(self.attrsAP) self.lblAPOrg.setObjectName(_fromUtf8("lblAPOrg")) self.gridLayout_3.addWidget(self.lblAPOrg, 2, 0, 1, 1) self.lblAPBegDate = QtGui.QLabel(self.attrsAP) self.lblAPBegDate.setObjectName(_fromUtf8("lblAPBegDate")) self.gridLayout_3.addWidget(self.lblAPBegDate, 1, 0, 1, 1) self.cmbAPSetPerson = CPersonComboBoxEx(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPSetPerson.sizePolicy().hasHeightForWidth()) self.cmbAPSetPerson.setSizePolicy(sizePolicy) self.cmbAPSetPerson.setObjectName(_fromUtf8("cmbAPSetPerson")) self.cmbAPSetPerson.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbAPSetPerson, 0, 7, 1, 1) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setMargin(0) self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.btnPlanNextAction = QtGui.QToolButton(self.attrsAP) self.btnPlanNextAction.setEnabled(True) self.btnPlanNextAction.setObjectName(_fromUtf8("btnPlanNextAction")) self.horizontalLayout_5.addWidget(self.btnPlanNextAction) self.btnNextAction = QtGui.QPushButton(self.attrsAP) self.btnNextAction.setEnabled(True) self.btnNextAction.setObjectName(_fromUtf8("btnNextAction")) self.horizontalLayout_5.addWidget(self.btnNextAction) self.btnReanimation = QtGui.QPushButton(self.attrsAP) self.btnReanimation.setObjectName(_fromUtf8("btnReanimation")) self.horizontalLayout_5.addWidget(self.btnReanimation) self.btnMaternityWard = QtGui.QPushButton(self.attrsAP) self.btnMaternityWard.setObjectName(_fromUtf8("btnMaternityWard")) self.horizontalLayout_5.addWidget(self.btnMaternityWard) self.gridLayout_3.addLayout(self.horizontalLayout_5, 2, 4, 1, 2) self.cmbAPPerson = CPersonComboBoxEx(self.attrsAP) self.cmbAPPerson.setObjectName(_fromUtf8("cmbAPPerson")) self.cmbAPPerson.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbAPPerson, 1, 7, 1, 1) self.lblAPPerson = QtGui.QLabel(self.attrsAP) self.lblAPPerson.setObjectName(_fromUtf8("lblAPPerson")) self.gridLayout_3.addWidget(self.lblAPPerson, 1, 6, 1, 1) self.lblAPSetPerson = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPSetPerson.sizePolicy().hasHeightForWidth()) self.lblAPSetPerson.setSizePolicy(sizePolicy) self.lblAPSetPerson.setObjectName(_fromUtf8("lblAPSetPerson")) self.gridLayout_3.addWidget(self.lblAPSetPerson, 0, 6, 1, 1) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setMargin(0) self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8")) self.edtAPEndDate = CDateEdit(self.attrsAP) self.edtAPEndDate.setCalendarPopup(True) self.edtAPEndDate.setObjectName(_fromUtf8("edtAPEndDate")) self.horizontalLayout_8.addWidget(self.edtAPEndDate) self.edtAPEndTime = QtGui.QTimeEdit(self.attrsAP) self.edtAPEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtAPEndTime.setObjectName(_fromUtf8("edtAPEndTime")) self.horizontalLayout_8.addWidget(self.edtAPEndTime) self.gridLayout_3.addLayout(self.horizontalLayout_8, 1, 5, 1, 1) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setMargin(0) self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6")) self.edtAPDirectionDate = CDateEdit(self.attrsAP) self.edtAPDirectionDate.setCalendarPopup(True) self.edtAPDirectionDate.setObjectName(_fromUtf8("edtAPDirectionDate")) self.horizontalLayout_6.addWidget(self.edtAPDirectionDate) self.edtAPDirectionTime = QtGui.QTimeEdit(self.attrsAP) self.edtAPDirectionTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons) self.edtAPDirectionTime.setObjectName(_fromUtf8("edtAPDirectionTime")) self.horizontalLayout_6.addWidget(self.edtAPDirectionTime) self.gridLayout_3.addLayout(self.horizontalLayout_6, 0, 5, 1, 1) self.edtAPOffice = QtGui.QLineEdit(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPOffice.sizePolicy().hasHeightForWidth()) self.edtAPOffice.setSizePolicy(sizePolicy) self.edtAPOffice.setMaxLength(16) self.edtAPOffice.setObjectName(_fromUtf8("edtAPOffice")) self.gridLayout_3.addWidget(self.edtAPOffice, 1, 3, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setMargin(0) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.cmbAPStatus = QtGui.QComboBox(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPStatus.sizePolicy().hasHeightForWidth()) self.cmbAPStatus.setSizePolicy(sizePolicy) self.cmbAPStatus.setObjectName(_fromUtf8("cmbAPStatus")) self.horizontalLayout_3.addWidget(self.cmbAPStatus) self.chkAPIsUrgent = QtGui.QCheckBox(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkAPIsUrgent.sizePolicy().hasHeightForWidth()) self.chkAPIsUrgent.setSizePolicy(sizePolicy) self.chkAPIsUrgent.setObjectName(_fromUtf8("chkAPIsUrgent")) self.horizontalLayout_3.addWidget(self.chkAPIsUrgent) self.gridLayout_3.addLayout(self.horizontalLayout_3, 0, 1, 1, 3) self.lblAPAssistant = QtGui.QLabel(self.attrsAP) self.lblAPAssistant.setObjectName(_fromUtf8("lblAPAssistant")) self.gridLayout_3.addWidget(self.lblAPAssistant, 3, 0, 1, 1) self.cmbAPAssistant = CPersonComboBoxEx(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPAssistant.sizePolicy().hasHeightForWidth()) self.cmbAPAssistant.setSizePolicy(sizePolicy) self.cmbAPAssistant.setObjectName(_fromUtf8("cmbAPAssistant")) self.cmbAPAssistant.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbAPAssistant, 3, 1, 1, 3) self.cmbAPAssistant3 = CPersonComboBoxEx(self.attrsAP) self.cmbAPAssistant3.setObjectName(_fromUtf8("cmbAPAssistant3")) self.gridLayout_3.addWidget(self.cmbAPAssistant3, 3, 7, 1, 1) self.cmbAPAssistant2 = CPersonComboBoxEx(self.attrsAP) self.cmbAPAssistant2.setObjectName(_fromUtf8("cmbAPAssistant2")) self.gridLayout_3.addWidget(self.cmbAPAssistant2, 3, 5, 1, 1) self.lblAPAssistant2 = QtGui.QLabel(self.attrsAP) self.lblAPAssistant2.setObjectName(_fromUtf8("lblAPAssistant2")) self.gridLayout_3.addWidget(self.lblAPAssistant2, 3, 4, 1, 1) self.lblAPAssistant3 = QtGui.QLabel(self.attrsAP) self.lblAPAssistant3.setObjectName(_fromUtf8("lblAPAssistant3")) self.gridLayout_3.addWidget(self.lblAPAssistant3, 3, 6, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblAPAmount = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPAmount.sizePolicy().hasHeightForWidth()) self.lblAPAmount.setSizePolicy(sizePolicy) self.lblAPAmount.setObjectName(_fromUtf8("lblAPAmount")) self.horizontalLayout.addWidget(self.lblAPAmount) self.edtAPAmount = QtGui.QDoubleSpinBox(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPAmount.sizePolicy().hasHeightForWidth()) self.edtAPAmount.setSizePolicy(sizePolicy) self.edtAPAmount.setMaximum(999.99) self.edtAPAmount.setObjectName(_fromUtf8("edtAPAmount")) self.horizontalLayout.addWidget(self.edtAPAmount) self.lblAPUet = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPUet.sizePolicy().hasHeightForWidth()) self.lblAPUet.setSizePolicy(sizePolicy) self.lblAPUet.setObjectName(_fromUtf8("lblAPUet")) self.horizontalLayout.addWidget(self.lblAPUet) self.edtAPUet = QtGui.QDoubleSpinBox(self.attrsAP) self.edtAPUet.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPUet.sizePolicy().hasHeightForWidth()) self.edtAPUet.setSizePolicy(sizePolicy) self.edtAPUet.setSingleStep(0.5) self.edtAPUet.setObjectName(_fromUtf8("edtAPUet")) self.horizontalLayout.addWidget(self.edtAPUet) self.lblAPNote = QtGui.QLabel(self.attrsAP) self.lblAPNote.setObjectName(_fromUtf8("lblAPNote")) self.horizontalLayout.addWidget(self.lblAPNote) self.edtAPNote = QtGui.QLineEdit(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtAPNote.sizePolicy().hasHeightForWidth()) self.edtAPNote.setSizePolicy(sizePolicy) self.edtAPNote.setObjectName(_fromUtf8("edtAPNote")) self.horizontalLayout.addWidget(self.edtAPNote) self.lblAPMKB = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPMKB.sizePolicy().hasHeightForWidth()) self.lblAPMKB.setSizePolicy(sizePolicy) self.lblAPMKB.setObjectName(_fromUtf8("lblAPMKB")) self.horizontalLayout.addWidget(self.lblAPMKB) self.cmbAPMKB = CICDCodeEditEx(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPMKB.sizePolicy().hasHeightForWidth()) self.cmbAPMKB.setSizePolicy(sizePolicy) self.cmbAPMKB.setObjectName(_fromUtf8("cmbAPMKB")) self.horizontalLayout.addWidget(self.cmbAPMKB) self.lblAPMKBText = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPMKBText.sizePolicy().hasHeightForWidth()) self.lblAPMKBText.setSizePolicy(sizePolicy) self.lblAPMKBText.setText(_fromUtf8("")) self.lblAPMKBText.setWordWrap(True) self.lblAPMKBText.setObjectName(_fromUtf8("lblAPMKBText")) self.horizontalLayout.addWidget(self.lblAPMKBText) self.gridLayout_3.addLayout(self.horizontalLayout, 5, 0, 1, 8) self.grpAPOrg = QtGui.QWidget(self.attrsAP) self.grpAPOrg.setObjectName(_fromUtf8("grpAPOrg")) self._2 = QtGui.QHBoxLayout(self.grpAPOrg) self._2.setMargin(1) self._2.setObjectName(_fromUtf8("_2")) self.cmbAPOrg = CPolyclinicExtendedComboBox(self.grpAPOrg) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPOrg.sizePolicy().hasHeightForWidth()) self.cmbAPOrg.setSizePolicy(sizePolicy) self.cmbAPOrg.setObjectName(_fromUtf8("cmbAPOrg")) self.cmbAPOrg.addItem(_fromUtf8("")) self._2.addWidget(self.cmbAPOrg) self.btnAPSelectOrg = QtGui.QToolButton(self.grpAPOrg) self.btnAPSelectOrg.setObjectName(_fromUtf8("btnAPSelectOrg")) self._2.addWidget(self.btnAPSelectOrg) self.gridLayout_3.addWidget(self.grpAPOrg, 2, 1, 1, 3) self.cmbAPMorphologyMKB = CICDMorphologyCodeEditEx(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbAPMorphologyMKB.sizePolicy().hasHeightForWidth()) self.cmbAPMorphologyMKB.setSizePolicy(sizePolicy) self.cmbAPMorphologyMKB.setMinimumSize(QtCore.QSize(0, 0)) self.cmbAPMorphologyMKB.setObjectName(_fromUtf8("cmbAPMorphologyMKB")) self.gridLayout_3.addWidget(self.cmbAPMorphologyMKB, 2, 7, 1, 1) self.lblAPMorphologyMKB = QtGui.QLabel(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblAPMorphologyMKB.sizePolicy().hasHeightForWidth()) self.lblAPMorphologyMKB.setSizePolicy(sizePolicy) self.lblAPMorphologyMKB.setObjectName(_fromUtf8("lblAPMorphologyMKB")) self.gridLayout_3.addWidget(self.lblAPMorphologyMKB, 2, 6, 1, 1) self.lblHMPKind = QtGui.QLabel(self.attrsAP) self.lblHMPKind.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblHMPKind.setObjectName(_fromUtf8("lblHMPKind")) self.gridLayout_3.addWidget(self.lblHMPKind, 6, 0, 1, 1) self.cmbHMPKind = CRBComboBox(self.attrsAP) self.cmbHMPKind.setObjectName(_fromUtf8("cmbHMPKind")) self.gridLayout_3.addWidget(self.cmbHMPKind, 6, 1, 1, 3) self.lblHMPMethod = QtGui.QLabel(self.attrsAP) self.lblHMPMethod.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblHMPMethod.setObjectName(_fromUtf8("lblHMPMethod")) self.gridLayout_3.addWidget(self.lblHMPMethod, 6, 4, 1, 1) self.lblActionMes = QtGui.QLabel(self.attrsAP) self.lblActionMes.setObjectName(_fromUtf8("lblActionMes")) self.gridLayout_3.addWidget(self.lblActionMes, 6, 6, 1, 1) self.cmbActionMes = CMESComboBox(self.attrsAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbActionMes.sizePolicy().hasHeightForWidth()) self.cmbActionMes.setSizePolicy(sizePolicy) self.cmbActionMes.setObjectName(_fromUtf8("cmbActionMes")) self.gridLayout_3.addWidget(self.cmbActionMes, 6, 7, 1, 1) self.verticalLayout.addWidget(self.attrsAP) self.horizontalLayout_7 = QtGui.QHBoxLayout() self.horizontalLayout_7.setSpacing(0) self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7")) self.btnToggleAttrsAP = QtGui.QPushButton(ActionsPageWidget) self.btnToggleAttrsAP.setMinimumSize(QtCore.QSize(0, 0)) self.btnToggleAttrsAP.setMaximumSize(QtCore.QSize(40, 20)) self.btnToggleAttrsAP.setCheckable(True) self.btnToggleAttrsAP.setChecked(False) self.btnToggleAttrsAP.setObjectName(_fromUtf8("btnToggleAttrsAP")) self.horizontalLayout_7.addWidget(self.btnToggleAttrsAP) self.verticalLayout.addLayout(self.horizontalLayout_7) self.scrollArea = QtGui.QScrollArea(ActionsPageWidget) 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, 1009, 547)) 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.splitterAP = QtGui.QSplitter(self.scrollAreaWidgetContents) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitterAP.sizePolicy().hasHeightForWidth()) self.splitterAP.setSizePolicy(sizePolicy) self.splitterAP.setOrientation(QtCore.Qt.Horizontal) self.splitterAP.setChildrenCollapsible(False) self.splitterAP.setObjectName(_fromUtf8("splitterAP")) self.tblAPActions = CActionsTableView(self.splitterAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tblAPActions.sizePolicy().hasHeightForWidth()) self.tblAPActions.setSizePolicy(sizePolicy) self.tblAPActions.setMinimumSize(QtCore.QSize(150, 0)) self.tblAPActions.setObjectName(_fromUtf8("tblAPActions")) self.frameAP = QtGui.QFrame(self.splitterAP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frameAP.sizePolicy().hasHeightForWidth()) self.frameAP.setSizePolicy(sizePolicy) self.frameAP.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.frameAP.setFrameShape(QtGui.QFrame.NoFrame) self.frameAP.setFrameShadow(QtGui.QFrame.Sunken) self.frameAP.setObjectName(_fromUtf8("frameAP")) self.gridLayout = QtGui.QGridLayout(self.frameAP) self.gridLayout.setMargin(0) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblAPProps = CExActionPropertiesTableView(self.frameAP) self.tblAPProps.setEnabled(False) self.tblAPProps.setMinimumSize(QtCore.QSize(0, 250)) self.tblAPProps.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) self.tblAPProps.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel) self.tblAPProps.setObjectName(_fromUtf8("tblAPProps")) self.gridLayout.addWidget(self.tblAPProps, 18, 0, 1, 2) self.frmAPButtonsBar = QtGui.QFrame(self.frameAP) self.frmAPButtonsBar.setFrameShape(QtGui.QFrame.NoFrame) self.frmAPButtonsBar.setFrameShadow(QtGui.QFrame.Plain) self.frmAPButtonsBar.setLineWidth(0) self.frmAPButtonsBar.setObjectName(_fromUtf8("frmAPButtonsBar")) self.horizontalLayout_4 = QtGui.QHBoxLayout(self.frmAPButtonsBar) self.horizontalLayout_4.setMargin(0) self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.btnAPPrint = CPrintButton(self.frmAPButtonsBar) self.btnAPPrint.setObjectName(_fromUtf8("btnAPPrint")) self.horizontalLayout_4.addWidget(self.btnAPPrint) self.btnAPLoadTemplate = CActionTemplateChooseButton(self.frmAPButtonsBar) self.btnAPLoadTemplate.setObjectName(_fromUtf8("btnAPLoadTemplate")) self.horizontalLayout_4.addWidget(self.btnAPLoadTemplate) self.btnAPSaveAsTemplate = QtGui.QPushButton(self.frmAPButtonsBar) self.btnAPSaveAsTemplate.setObjectName(_fromUtf8("btnAPSaveAsTemplate")) self.horizontalLayout_4.addWidget(self.btnAPSaveAsTemplate) self.btnAPLoadPrevAction = QtGui.QPushButton(self.frmAPButtonsBar) self.btnAPLoadPrevAction.setEnabled(False) self.btnAPLoadPrevAction.setObjectName(_fromUtf8("btnAPLoadPrevAction")) self.horizontalLayout_4.addWidget(self.btnAPLoadPrevAction) spacerItem = QtGui.QSpacerItem(145, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem) self.gridLayout.addWidget(self.frmAPButtonsBar, 19, 0, 1, 2) self.verticalLayout_2.addWidget(self.splitterAP) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout.addWidget(self.scrollArea) self.retranslateUi(ActionsPageWidget) QtCore.QObject.connect(self.btnToggleAttrsAP, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.attrsAP.setHidden) QtCore.QMetaObject.connectSlotsByName(ActionsPageWidget) ActionsPageWidget.setTabOrder(self.cmbAPStatus, self.chkAPIsUrgent) ActionsPageWidget.setTabOrder(self.chkAPIsUrgent, self.edtAPDirectionDate) ActionsPageWidget.setTabOrder(self.edtAPDirectionDate, self.edtAPDirectionTime) ActionsPageWidget.setTabOrder(self.edtAPDirectionTime, self.cmbAPSetPerson) ActionsPageWidget.setTabOrder(self.cmbAPSetPerson, self.edtAPBegDate) ActionsPageWidget.setTabOrder(self.edtAPBegDate, self.edtAPBegTime) ActionsPageWidget.setTabOrder(self.edtAPBegTime, self.edtAPOffice) ActionsPageWidget.setTabOrder(self.edtAPOffice, self.edtAPEndDate) ActionsPageWidget.setTabOrder(self.edtAPEndDate, self.edtAPEndTime) ActionsPageWidget.setTabOrder(self.edtAPEndTime, self.cmbAPPerson) ActionsPageWidget.setTabOrder(self.cmbAPPerson, self.cmbAPOrg) ActionsPageWidget.setTabOrder(self.cmbAPOrg, self.btnAPSelectOrg) ActionsPageWidget.setTabOrder(self.btnAPSelectOrg, self.btnPlanNextAction) ActionsPageWidget.setTabOrder(self.btnPlanNextAction, self.btnNextAction) ActionsPageWidget.setTabOrder(self.btnNextAction, self.btnReanimation) ActionsPageWidget.setTabOrder(self.btnReanimation, self.btnMaternityWard) ActionsPageWidget.setTabOrder(self.btnMaternityWard, self.cmbAPMorphologyMKB) ActionsPageWidget.setTabOrder(self.cmbAPMorphologyMKB, self.cmbAPAssistant) ActionsPageWidget.setTabOrder(self.cmbAPAssistant, self.cmbAPAssistant2) ActionsPageWidget.setTabOrder(self.cmbAPAssistant2, self.cmbAPAssistant3) ActionsPageWidget.setTabOrder(self.cmbAPAssistant3, self.edtAPAmount) ActionsPageWidget.setTabOrder(self.edtAPAmount, self.edtAPUet) ActionsPageWidget.setTabOrder(self.edtAPUet, self.edtAPNote) ActionsPageWidget.setTabOrder(self.edtAPNote, self.cmbAPMKB) ActionsPageWidget.setTabOrder(self.cmbAPMKB, self.cmbHMPKind) ActionsPageWidget.setTabOrder(self.cmbHMPKind, self.cmbHMPMethod) ActionsPageWidget.setTabOrder(self.cmbHMPMethod, self.cmbActionMes) ActionsPageWidget.setTabOrder(self.cmbActionMes, self.btnToggleAttrsAP) ActionsPageWidget.setTabOrder(self.btnToggleAttrsAP, self.scrollArea) ActionsPageWidget.setTabOrder(self.scrollArea, self.tblAPActions) ActionsPageWidget.setTabOrder(self.tblAPActions, self.tblAPProps) ActionsPageWidget.setTabOrder(self.tblAPProps, self.btnAPPrint) ActionsPageWidget.setTabOrder(self.btnAPPrint, self.btnAPLoadTemplate) ActionsPageWidget.setTabOrder(self.btnAPLoadTemplate, self.btnAPSaveAsTemplate) ActionsPageWidget.setTabOrder(self.btnAPSaveAsTemplate, self.btnAPLoadPrevAction)
def setupUi(self, ReportSetupByOrgStructureDialog): ReportSetupByOrgStructureDialog.setObjectName( _fromUtf8("ReportSetupByOrgStructureDialog")) ReportSetupByOrgStructureDialog.resize(860, 866) ReportSetupByOrgStructureDialog.setContextMenuPolicy( QtCore.Qt.NoContextMenu) self.gridLayout = QtGui.QGridLayout(ReportSetupByOrgStructureDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox( ReportSetupByOrgStructureDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.buttonBox.sizePolicy().hasHeightForWidth()) self.buttonBox.setSizePolicy(sizePolicy) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 32, 1, 1, 3) self.cmbFinance = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 4, 2, 1, 2) self.chkOrgStructure = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure")) self.gridLayout.addWidget(self.chkOrgStructure, 6, 0, 1, 2) self.lblEventType = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 7, 0, 1, 2) self.cmbStatus = QtGui.QComboBox(ReportSetupByOrgStructureDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 5, 2, 1, 2) self.cmbClientAgeCategory = QtGui.QComboBox( ReportSetupByOrgStructureDialog) self.cmbClientAgeCategory.setObjectName( _fromUtf8("cmbClientAgeCategory")) self.cmbClientAgeCategory.addItem(_fromUtf8("")) self.cmbClientAgeCategory.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClientAgeCategory, 23, 2, 1, 2) self.chkGroupByPatient = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkGroupByPatient.setChecked(True) self.chkGroupByPatient.setObjectName(_fromUtf8("chkGroupByPatient")) self.gridLayout.addWidget(self.chkGroupByPatient, 20, 3, 1, 1) self.chkOnlyDiscountPayment = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyDiscountPayment.setObjectName( _fromUtf8("chkOnlyDiscountPayment")) self.gridLayout.addWidget(self.chkOnlyDiscountPayment, 26, 0, 1, 2) spacerItem = QtGui.QSpacerItem(585, 63, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 31, 0, 2, 4) self.cmbReportType = QtGui.QComboBox(ReportSetupByOrgStructureDialog) self.cmbReportType.setObjectName(_fromUtf8("cmbReportType")) self.cmbReportType.addItem(_fromUtf8("")) self.cmbReportType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbReportType, 13, 2, 1, 2) self.cmbOrgStructure = COrgStructureComboBox( ReportSetupByOrgStructureDialog) self.cmbOrgStructure.setEnabled(False) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 6, 2, 1, 1) self.chkRefused = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkRefused.setObjectName(_fromUtf8("chkRefused")) self.gridLayout.addWidget(self.chkRefused, 28, 0, 1, 1) self.chkAllOrgStructure = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkAllOrgStructure.setEnabled(False) self.chkAllOrgStructure.setObjectName(_fromUtf8("chkAllOrgStructure")) self.gridLayout.addWidget(self.chkAllOrgStructure, 15, 2, 1, 1) self.chkPerson = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPerson.setObjectName(_fromUtf8("chkPerson")) self.gridLayout.addWidget(self.chkPerson, 17, 0, 1, 1) self.chkClientAgeCategory = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkClientAgeCategory.setObjectName( _fromUtf8("chkClientAgeCategory")) self.gridLayout.addWidget(self.chkClientAgeCategory, 23, 0, 1, 2) self.chkAssistant = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkAssistant.setObjectName(_fromUtf8("chkAssistant")) self.gridLayout.addWidget(self.chkAssistant, 9, 0, 1, 1) self.chkOnlyStaffRelative = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyStaffRelative.setObjectName( _fromUtf8("chkOnlyStaffRelative")) self.gridLayout.addWidget(self.chkOnlyStaffRelative, 27, 0, 1, 1) self.chkPost = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPost.setEnabled(False) self.chkPost.setObjectName(_fromUtf8("chkPost")) self.gridLayout.addWidget(self.chkPost, 17, 2, 1, 1) self.cmbAssistantPost = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbAssistantPost.setEnabled(False) self.cmbAssistantPost.setObjectName(_fromUtf8("cmbAssistantPost")) self.gridLayout.addWidget(self.cmbAssistantPost, 10, 2, 1, 2) self.lblAssistantPost = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblAssistantPost.setObjectName(_fromUtf8("lblAssistantPost")) self.gridLayout.addWidget(self.lblAssistantPost, 10, 0, 1, 1) self.lblAssistant = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblAssistant.setObjectName(_fromUtf8("lblAssistant")) self.gridLayout.addWidget(self.lblAssistant, 11, 0, 1, 1) self.lblReportType = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblReportType.setObjectName(_fromUtf8("lblReportType")) self.gridLayout.addWidget(self.lblReportType, 13, 0, 1, 2) self.cmbAssistant = CPersonComboBoxEx(ReportSetupByOrgStructureDialog) self.cmbAssistant.setEnabled(False) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.gridLayout.addWidget(self.cmbAssistant, 11, 2, 1, 2) self.cmbPerson = CPersonComboBoxEx(ReportSetupByOrgStructureDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 2) self.cmbContract = CContractComboBox(ReportSetupByOrgStructureDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 2, 2, 1, 2) self.cmbEventType = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 7, 2, 1, 2) self.chkPresenceInTariffs = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkPresenceInTariffs.setChecked(True) self.chkPresenceInTariffs.setObjectName( _fromUtf8("chkPresenceInTariffs")) self.gridLayout.addWidget(self.chkPresenceInTariffs, 20, 2, 1, 1) self.chkPatientInfo = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPatientInfo.setObjectName(_fromUtf8("chkPatientInfo")) self.gridLayout.addWidget(self.chkPatientInfo, 20, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 5, 0, 1, 2) self.chkOnlyClientAsPersonInLPU = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyClientAsPersonInLPU.setObjectName( _fromUtf8("chkOnlyClientAsPersonInLPU")) self.gridLayout.addWidget(self.chkOnlyClientAsPersonInLPU, 25, 0, 1, 3) self.lblFinance = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 2) self.lblPerson = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 1) self.lblContract = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 2, 0, 1, 2) self.chkOutputByOrgStructure = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOutputByOrgStructure.setObjectName( _fromUtf8("chkOutputByOrgStructure")) self.gridLayout.addWidget(self.chkOutputByOrgStructure, 15, 0, 1, 1) self.chkNotContract = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkNotContract.setObjectName(_fromUtf8("chkNotContract")) self.gridLayout.addWidget(self.chkNotContract, 1, 0, 1, 1) self.chkDetailServiceTypes = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkDetailServiceTypes.setObjectName( _fromUtf8("chkDetailServiceTypes")) self.gridLayout.addWidget(self.chkDetailServiceTypes, 24, 0, 1, 1) self.gbDateInterval = QtGui.QGroupBox(ReportSetupByOrgStructureDialog) 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.setChecked(True) self.rbtnByActionEndDate.setObjectName( _fromUtf8("rbtnByActionEndDate")) self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 1, 3, 1, 1) spacerItem2 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 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(False) 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.lblBegDate.raise_() self.lblEndDate.raise_() self.rbtnByFormingAccountDate.raise_() self.rbtnByActionEndDate.raise_() self.edtBegDate.raise_() self.edtEndDate.raise_() self.gridLayout.addWidget(self.gbDateInterval, 0, 0, 1, 4) self.chkShowClient = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkShowClient.setObjectName(_fromUtf8("chkShowClient")) self.gridLayout.addWidget(self.chkShowClient, 16, 0, 1, 1) self.chkShowDates = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkShowDates.setChecked(True) self.chkShowDates.setObjectName(_fromUtf8("chkShowDates")) self.gridLayout.addWidget(self.chkShowDates, 16, 2, 1, 1) self.lstServiceTypes = QtGui.QListView(ReportSetupByOrgStructureDialog) 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, 24, 2, 1, 2) self.lblReportType.setBuddy(self.cmbReportType) self.lblFinance.setBuddy(self.cmbFinance) self.lblContract.setBuddy(self.cmbContract) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.retranslateUi(ReportSetupByOrgStructureDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportSetupByOrgStructureDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSetupByOrgStructureDialog.reject) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled) QtCore.QObject.connect(self.chkClientAgeCategory, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbClientAgeCategory.setEnabled) QtCore.QObject.connect(self.chkOnlyDiscountPayment, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkOnlyStaffRelative.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistant.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPerson.setDisabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lblPerson.setDisabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantPost.setEnabled) QtCore.QObject.connect(self.chkPerson, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkPost.setEnabled) QtCore.QMetaObject.connectSlotsByName(ReportSetupByOrgStructureDialog) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbContract, self.cmbFinance) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbFinance, self.chkStatus) ReportSetupByOrgStructureDialog.setTabOrder(self.chkStatus, self.cmbStatus) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbStatus, self.chkOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbOrgStructure, self.cmbReportType) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbReportType, self.chkAllOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.chkAllOrgStructure, self.buttonBox)
class Ui_ReportSetupByOrgStructureDialog(object): def setupUi(self, ReportSetupByOrgStructureDialog): ReportSetupByOrgStructureDialog.setObjectName( _fromUtf8("ReportSetupByOrgStructureDialog")) ReportSetupByOrgStructureDialog.resize(860, 866) ReportSetupByOrgStructureDialog.setContextMenuPolicy( QtCore.Qt.NoContextMenu) self.gridLayout = QtGui.QGridLayout(ReportSetupByOrgStructureDialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.buttonBox = QtGui.QDialogButtonBox( ReportSetupByOrgStructureDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.buttonBox.sizePolicy().hasHeightForWidth()) self.buttonBox.setSizePolicy(sizePolicy) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 32, 1, 1, 3) self.cmbFinance = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbFinance.setObjectName(_fromUtf8("cmbFinance")) self.gridLayout.addWidget(self.cmbFinance, 4, 2, 1, 2) self.chkOrgStructure = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure")) self.gridLayout.addWidget(self.chkOrgStructure, 6, 0, 1, 2) self.lblEventType = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.gridLayout.addWidget(self.lblEventType, 7, 0, 1, 2) self.cmbStatus = QtGui.QComboBox(ReportSetupByOrgStructureDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 5, 2, 1, 2) self.cmbClientAgeCategory = QtGui.QComboBox( ReportSetupByOrgStructureDialog) self.cmbClientAgeCategory.setObjectName( _fromUtf8("cmbClientAgeCategory")) self.cmbClientAgeCategory.addItem(_fromUtf8("")) self.cmbClientAgeCategory.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbClientAgeCategory, 23, 2, 1, 2) self.chkGroupByPatient = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkGroupByPatient.setChecked(True) self.chkGroupByPatient.setObjectName(_fromUtf8("chkGroupByPatient")) self.gridLayout.addWidget(self.chkGroupByPatient, 20, 3, 1, 1) self.chkOnlyDiscountPayment = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyDiscountPayment.setObjectName( _fromUtf8("chkOnlyDiscountPayment")) self.gridLayout.addWidget(self.chkOnlyDiscountPayment, 26, 0, 1, 2) spacerItem = QtGui.QSpacerItem(585, 63, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 31, 0, 2, 4) self.cmbReportType = QtGui.QComboBox(ReportSetupByOrgStructureDialog) self.cmbReportType.setObjectName(_fromUtf8("cmbReportType")) self.cmbReportType.addItem(_fromUtf8("")) self.cmbReportType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbReportType, 13, 2, 1, 2) self.cmbOrgStructure = COrgStructureComboBox( ReportSetupByOrgStructureDialog) self.cmbOrgStructure.setEnabled(False) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 6, 2, 1, 1) self.chkRefused = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkRefused.setObjectName(_fromUtf8("chkRefused")) self.gridLayout.addWidget(self.chkRefused, 28, 0, 1, 1) self.chkAllOrgStructure = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkAllOrgStructure.setEnabled(False) self.chkAllOrgStructure.setObjectName(_fromUtf8("chkAllOrgStructure")) self.gridLayout.addWidget(self.chkAllOrgStructure, 15, 2, 1, 1) self.chkPerson = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPerson.setObjectName(_fromUtf8("chkPerson")) self.gridLayout.addWidget(self.chkPerson, 17, 0, 1, 1) self.chkClientAgeCategory = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkClientAgeCategory.setObjectName( _fromUtf8("chkClientAgeCategory")) self.gridLayout.addWidget(self.chkClientAgeCategory, 23, 0, 1, 2) self.chkAssistant = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkAssistant.setObjectName(_fromUtf8("chkAssistant")) self.gridLayout.addWidget(self.chkAssistant, 9, 0, 1, 1) self.chkOnlyStaffRelative = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyStaffRelative.setObjectName( _fromUtf8("chkOnlyStaffRelative")) self.gridLayout.addWidget(self.chkOnlyStaffRelative, 27, 0, 1, 1) self.chkPost = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPost.setEnabled(False) self.chkPost.setObjectName(_fromUtf8("chkPost")) self.gridLayout.addWidget(self.chkPost, 17, 2, 1, 1) self.cmbAssistantPost = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbAssistantPost.setEnabled(False) self.cmbAssistantPost.setObjectName(_fromUtf8("cmbAssistantPost")) self.gridLayout.addWidget(self.cmbAssistantPost, 10, 2, 1, 2) self.lblAssistantPost = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblAssistantPost.setObjectName(_fromUtf8("lblAssistantPost")) self.gridLayout.addWidget(self.lblAssistantPost, 10, 0, 1, 1) self.lblAssistant = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblAssistant.setObjectName(_fromUtf8("lblAssistant")) self.gridLayout.addWidget(self.lblAssistant, 11, 0, 1, 1) self.lblReportType = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblReportType.setObjectName(_fromUtf8("lblReportType")) self.gridLayout.addWidget(self.lblReportType, 13, 0, 1, 2) self.cmbAssistant = CPersonComboBoxEx(ReportSetupByOrgStructureDialog) self.cmbAssistant.setEnabled(False) self.cmbAssistant.setObjectName(_fromUtf8("cmbAssistant")) self.gridLayout.addWidget(self.cmbAssistant, 11, 2, 1, 2) self.cmbPerson = CPersonComboBoxEx(ReportSetupByOrgStructureDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 8, 2, 1, 2) self.cmbContract = CContractComboBox(ReportSetupByOrgStructureDialog) self.cmbContract.setObjectName(_fromUtf8("cmbContract")) self.gridLayout.addWidget(self.cmbContract, 2, 2, 1, 2) self.cmbEventType = CRBComboBox(ReportSetupByOrgStructureDialog) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridLayout.addWidget(self.cmbEventType, 7, 2, 1, 2) self.chkPresenceInTariffs = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkPresenceInTariffs.setChecked(True) self.chkPresenceInTariffs.setObjectName( _fromUtf8("chkPresenceInTariffs")) self.gridLayout.addWidget(self.chkPresenceInTariffs, 20, 2, 1, 1) self.chkPatientInfo = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkPatientInfo.setObjectName(_fromUtf8("chkPatientInfo")) self.gridLayout.addWidget(self.chkPatientInfo, 20, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 5, 0, 1, 2) self.chkOnlyClientAsPersonInLPU = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOnlyClientAsPersonInLPU.setObjectName( _fromUtf8("chkOnlyClientAsPersonInLPU")) self.gridLayout.addWidget(self.chkOnlyClientAsPersonInLPU, 25, 0, 1, 3) self.lblFinance = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblFinance.setObjectName(_fromUtf8("lblFinance")) self.gridLayout.addWidget(self.lblFinance, 4, 0, 1, 2) self.lblPerson = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 8, 0, 1, 1) self.lblContract = QtGui.QLabel(ReportSetupByOrgStructureDialog) self.lblContract.setObjectName(_fromUtf8("lblContract")) self.gridLayout.addWidget(self.lblContract, 2, 0, 1, 2) self.chkOutputByOrgStructure = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkOutputByOrgStructure.setObjectName( _fromUtf8("chkOutputByOrgStructure")) self.gridLayout.addWidget(self.chkOutputByOrgStructure, 15, 0, 1, 1) self.chkNotContract = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkNotContract.setObjectName(_fromUtf8("chkNotContract")) self.gridLayout.addWidget(self.chkNotContract, 1, 0, 1, 1) self.chkDetailServiceTypes = QtGui.QCheckBox( ReportSetupByOrgStructureDialog) self.chkDetailServiceTypes.setObjectName( _fromUtf8("chkDetailServiceTypes")) self.gridLayout.addWidget(self.chkDetailServiceTypes, 24, 0, 1, 1) self.gbDateInterval = QtGui.QGroupBox(ReportSetupByOrgStructureDialog) 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.setChecked(True) self.rbtnByActionEndDate.setObjectName( _fromUtf8("rbtnByActionEndDate")) self.gridLayout_2.addWidget(self.rbtnByActionEndDate, 0, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 1, 3, 1, 1) spacerItem2 = QtGui.QSpacerItem(78, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 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(False) 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.lblBegDate.raise_() self.lblEndDate.raise_() self.rbtnByFormingAccountDate.raise_() self.rbtnByActionEndDate.raise_() self.edtBegDate.raise_() self.edtEndDate.raise_() self.gridLayout.addWidget(self.gbDateInterval, 0, 0, 1, 4) self.chkShowClient = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkShowClient.setObjectName(_fromUtf8("chkShowClient")) self.gridLayout.addWidget(self.chkShowClient, 16, 0, 1, 1) self.chkShowDates = QtGui.QCheckBox(ReportSetupByOrgStructureDialog) self.chkShowDates.setChecked(True) self.chkShowDates.setObjectName(_fromUtf8("chkShowDates")) self.gridLayout.addWidget(self.chkShowDates, 16, 2, 1, 1) self.lstServiceTypes = QtGui.QListView(ReportSetupByOrgStructureDialog) 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, 24, 2, 1, 2) self.lblReportType.setBuddy(self.cmbReportType) self.lblFinance.setBuddy(self.cmbFinance) self.lblContract.setBuddy(self.cmbContract) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.retranslateUi(ReportSetupByOrgStructureDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportSetupByOrgStructureDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportSetupByOrgStructureDialog.reject) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled) QtCore.QObject.connect(self.chkClientAgeCategory, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbClientAgeCategory.setEnabled) QtCore.QObject.connect(self.chkOnlyDiscountPayment, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkOnlyStaffRelative.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistant.setEnabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPerson.setDisabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.lblPerson.setDisabled) QtCore.QObject.connect(self.chkAssistant, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantPost.setEnabled) QtCore.QObject.connect(self.chkPerson, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.chkPost.setEnabled) QtCore.QMetaObject.connectSlotsByName(ReportSetupByOrgStructureDialog) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbContract, self.cmbFinance) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbFinance, self.chkStatus) ReportSetupByOrgStructureDialog.setTabOrder(self.chkStatus, self.cmbStatus) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbStatus, self.chkOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbOrgStructure, self.cmbReportType) ReportSetupByOrgStructureDialog.setTabOrder(self.cmbReportType, self.chkAllOrgStructure) ReportSetupByOrgStructureDialog.setTabOrder(self.chkAllOrgStructure, self.buttonBox) def retranslateUi(self, ReportSetupByOrgStructureDialog): ReportSetupByOrgStructureDialog.setWindowTitle( _translate("ReportSetupByOrgStructureDialog", "Dialog", None)) self.chkOrgStructure.setText( _translate("ReportSetupByOrgStructureDialog", "Подразделение", None)) self.lblEventType.setText( _translate("ReportSetupByOrgStructureDialog", "Тип обращения", None)) self.cmbClientAgeCategory.setItemText( 0, _translate("ReportSetupByOrgStructureDialog", "Дети от 0 до 17 лет", None)) self.cmbClientAgeCategory.setItemText( 1, _translate("ReportSetupByOrgStructureDialog", "Взрослые от 18 лет", None)) self.chkGroupByPatient.setText( _translate("ReportSetupByOrgStructureDialog", "Группировать по пациентам", None)) self.chkOnlyDiscountPayment.setText( _translate("ReportSetupByOrgStructureDialog", "Оплата со скидкой", None)) self.cmbReportType.setItemText( 0, _translate("ReportSetupByOrgStructureDialog", "отделениям выполнившего действие врача", None)) self.cmbReportType.setItemText( 1, _translate("ReportSetupByOrgStructureDialog", "отделениям за которым закреплено действие", None)) self.chkRefused.setText( _translate("ReportSetupByOrgStructureDialog", "Исключение отмененных услуг", None)) self.chkAllOrgStructure.setText( _translate("ReportSetupByOrgStructureDialog", "Учитывать все возможные подразделения", None)) self.chkPerson.setText( _translate("ReportSetupByOrgStructureDialog", "Группировать по врачу/ассистенту", None)) self.chkClientAgeCategory.setText( _translate("ReportSetupByOrgStructureDialog", "Возраст пациента", None)) self.chkAssistant.setText( _translate("ReportSetupByOrgStructureDialog", "Ассистент в услуге", None)) self.chkOnlyStaffRelative.setText( _translate("ReportSetupByOrgStructureDialog", "Родственники сотрудников", None)) self.chkPost.setText( _translate("ReportSetupByOrgStructureDialog", "Выводить должность врача/ассистента", None)) self.lblAssistantPost.setText( _translate("ReportSetupByOrgStructureDialog", "Должность ассистента", None)) self.lblAssistant.setText( _translate("ReportSetupByOrgStructureDialog", "Ассистент", None)) self.lblReportType.setText( _translate("ReportSetupByOrgStructureDialog", "Формировать отчет по", None)) self.chkPresenceInTariffs.setText( _translate("ReportSetupByOrgStructureDialog", "Проверять наличие услуги в тарифах", None)) self.chkPatientInfo.setText( _translate("ReportSetupByOrgStructureDialog", "Информация о пациенте", None)) self.chkStatus.setText( _translate("ReportSetupByOrgStructureDialog", "Статус", None)) self.chkOnlyClientAsPersonInLPU.setText( _translate("ReportSetupByOrgStructureDialog", "Только пациенты сотрудники учереждения", None)) self.lblFinance.setText( _translate("ReportSetupByOrgStructureDialog", "Тип финансирования", None)) self.lblPerson.setText( _translate("ReportSetupByOrgStructureDialog", "Врач", None)) self.lblContract.setText( _translate("ReportSetupByOrgStructureDialog", "Контракт", None)) self.chkOutputByOrgStructure.setText( _translate("ReportSetupByOrgStructureDialog", "Выводить по отделениям", None)) self.chkNotContract.setText( _translate("ReportSetupByOrgStructureDialog", "Без контракта", None)) self.chkDetailServiceTypes.setText( _translate("ReportSetupByOrgStructureDialog", "Детализировать виды услуг", None)) self.gbDateInterval.setTitle( _translate("ReportSetupByOrgStructureDialog", "Период", None)) self.rbtnByActionEndDate.setText( _translate("ReportSetupByOrgStructureDialog", "выполнения услуги", None)) self.lblBegDate.setText( _translate("ReportSetupByOrgStructureDialog", "Дата &начала периода", None)) self.lblEndDate.setText( _translate("ReportSetupByOrgStructureDialog", "Дата &окончания периода", None)) self.rbtnByFormingAccountDate.setText( _translate("ReportSetupByOrgStructureDialog", "формирования счета", None)) self.chkShowClient.setText( _translate("ReportSetupByOrgStructureDialog", "Выводить пациента", None)) self.chkShowDates.setText( _translate("ReportSetupByOrgStructureDialog", "Выводить даты", None))
def setupUi(self, FinTransferDialog): FinTransferDialog.setObjectName(_fromUtf8("FinTransferDialog")) FinTransferDialog.resize(542, 452) self.gridLayout = QtGui.QGridLayout(FinTransferDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblDate = QtGui.QLabel(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblDate.sizePolicy().hasHeightForWidth()) self.lblDate.setSizePolicy(sizePolicy) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 0, 0, 1, 1) self.edtDate = CDateEdit(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtDate.sizePolicy().hasHeightForWidth()) self.edtDate.setSizePolicy(sizePolicy) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 0, 1, 1, 1) self.edtTime = QtGui.QTimeEdit(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtTime.sizePolicy().hasHeightForWidth()) self.edtTime.setSizePolicy(sizePolicy) self.edtTime.setObjectName(_fromUtf8("edtTime")) self.gridLayout.addWidget(self.edtTime, 0, 2, 1, 1) self.lblSupplier = QtGui.QLabel(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblSupplier.sizePolicy().hasHeightForWidth()) self.lblSupplier.setSizePolicy(sizePolicy) self.lblSupplier.setObjectName(_fromUtf8("lblSupplier")) self.gridLayout.addWidget(self.lblSupplier, 1, 0, 1, 1) self.cmbSupplier = CStorageComboBox(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSupplier.sizePolicy().hasHeightForWidth()) self.cmbSupplier.setSizePolicy(sizePolicy) self.cmbSupplier.setObjectName(_fromUtf8("cmbSupplier")) self.gridLayout.addWidget(self.cmbSupplier, 1, 1, 1, 3) self.lblNote = QtGui.QLabel(FinTransferDialog) self.lblNote.setObjectName(_fromUtf8("lblNote")) self.gridLayout.addWidget(self.lblNote, 3, 0, 1, 1) self.edtNote = QtGui.QLineEdit(FinTransferDialog) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout.addWidget(self.edtNote, 3, 1, 1, 3) self.tblItems = CInDocTableView(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblItems.sizePolicy().hasHeightForWidth()) self.tblItems.setSizePolicy(sizePolicy) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 4, 0, 1, 4) self.buttonBox = QtGui.QDialogButtonBox(FinTransferDialog) 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, 4) self.cmbSupplierPerson = CPersonComboBoxEx(FinTransferDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSupplierPerson.sizePolicy().hasHeightForWidth()) self.cmbSupplierPerson.setSizePolicy(sizePolicy) self.cmbSupplierPerson.setObjectName(_fromUtf8("cmbSupplierPerson")) self.gridLayout.addWidget(self.cmbSupplierPerson, 2, 1, 1, 3) self.lblSupplierPerson = QtGui.QLabel(FinTransferDialog) self.lblSupplierPerson.setObjectName(_fromUtf8("lblSupplierPerson")) self.gridLayout.addWidget(self.lblSupplierPerson, 2, 0, 1, 1) self.lblDate.setBuddy(self.edtDate) self.lblSupplier.setBuddy(self.cmbSupplier) self.lblNote.setBuddy(self.edtNote) self.lblSupplierPerson.setBuddy(self.cmbSupplierPerson) self.retranslateUi(FinTransferDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), FinTransferDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), FinTransferDialog.reject) QtCore.QMetaObject.connectSlotsByName(FinTransferDialog) FinTransferDialog.setTabOrder(self.edtDate, self.edtTime) FinTransferDialog.setTabOrder(self.edtTime, self.cmbSupplier) FinTransferDialog.setTabOrder(self.cmbSupplier, self.cmbSupplierPerson) FinTransferDialog.setTabOrder(self.cmbSupplierPerson, self.edtNote) FinTransferDialog.setTabOrder(self.edtNote, self.tblItems) FinTransferDialog.setTabOrder(self.tblItems, self.buttonBox)
class Ui_ReportDDStudentsInfoSetupDialog(object): 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 retranslateUi(self, ReportDDStudentsInfoSetupDialog): ReportDDStudentsInfoSetupDialog.setWindowTitle( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) self.chkPodtver.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Подтверждение оп&латы", None, QtGui.QApplication.UnicodeUTF8)) self.lblEndDatePodtver.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Окончание периода подтверждени&я:", None, QtGui.QApplication.UnicodeUTF8)) self.lblBegDatePodtver.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Начало пер&иода подтверждения:", None, QtGui.QApplication.UnicodeUTF8)) self.lblAge.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Возраст с", None, QtGui.QApplication.UnicodeUTF8)) self.cmbPerson.setItemText( 0, QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Врач", None, QtGui.QApplication.UnicodeUTF8)) self.lblEndDate.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Дата окончания периода", None, QtGui.QApplication.UnicodeUTF8)) self.lblPerson.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8)) self.lblPodtver.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Тип подтве&рждения:", None, QtGui.QApplication.UnicodeUTF8)) self.lblSex.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Пол", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelectWorkOrganisation.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "...", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeTo.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "по", None, QtGui.QApplication.UnicodeUTF8)) self.lblAgeYears.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "лет", None, QtGui.QApplication.UnicodeUTF8)) self.lblRefuseType.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "При&чина отказа:", None, QtGui.QApplication.UnicodeUTF8)) self.cmbSex.setItemText( 1, QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "М", None, QtGui.QApplication.UnicodeUTF8)) self.cmbSex.setItemText( 2, QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Ж", None, QtGui.QApplication.UnicodeUTF8)) self.lblWorkOrganisation.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Учебное заведение", None, QtGui.QApplication.UnicodeUTF8)) self.lblBegDate.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "Дата начала периода", None, QtGui.QApplication.UnicodeUTF8)) self.lblOrgStructure.setText( QtGui.QApplication.translate("ReportDDStudentsInfoSetupDialog", "&Подразделение", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ReportVeteransSetupDialog(object): def setupUi(self, ReportVeteransSetupDialog): ReportVeteransSetupDialog.setObjectName( _fromUtf8("ReportVeteransSetupDialog")) ReportVeteransSetupDialog.resize(405, 211) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportVeteransSetupDialog.sizePolicy().hasHeightForWidth()) ReportVeteransSetupDialog.setSizePolicy(sizePolicy) self.label = QtGui.QLabel(ReportVeteransSetupDialog) self.label.setGeometry(QtCore.QRect(10, 20, 141, 16)) self.label.setObjectName(_fromUtf8("label")) self.edtEndDate = CDateEdit(ReportVeteransSetupDialog) self.edtEndDate.setGeometry(QtCore.QRect(210, 50, 110, 22)) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.edtBegDate = CDateEdit(ReportVeteransSetupDialog) self.edtBegDate.setGeometry(QtCore.QRect(210, 20, 110, 22)) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.label_2 = QtGui.QLabel(ReportVeteransSetupDialog) self.label_2.setGeometry(QtCore.QRect(10, 50, 161, 16)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_4 = QtGui.QLabel(ReportVeteransSetupDialog) self.label_4.setGeometry(QtCore.QRect(10, 80, 131, 16)) self.label_4.setObjectName(_fromUtf8("label_4")) self.cmbOrgStructure = COrgStructureComboBox(ReportVeteransSetupDialog) self.cmbOrgStructure.setGeometry(QtCore.QRect(210, 80, 191, 22)) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.buttonBox = QtGui.QDialogButtonBox(ReportVeteransSetupDialog) self.buttonBox.setGeometry(QtCore.QRect(180, 180, 221, 23)) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.cmbPerson = CPersonComboBoxEx(ReportVeteransSetupDialog) self.cmbPerson.setGeometry(QtCore.QRect(210, 109, 191, 25)) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.lblPerson = QtGui.QLabel(ReportVeteransSetupDialog) self.lblPerson.setGeometry(QtCore.QRect(9, 109, 197, 25)) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.lblAge = QtGui.QLabel(ReportVeteransSetupDialog) self.lblAge.setGeometry(QtCore.QRect(384, 612, 197, 25)) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.cmbEventType = CRBComboBox(ReportVeteransSetupDialog) self.cmbEventType.setGeometry(QtCore.QRect(210, 140, 191, 27)) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.lblEventType = QtGui.QLabel(ReportVeteransSetupDialog) self.lblEventType.setGeometry(QtCore.QRect(10, 140, 199, 27)) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventType.setBuddy(self.cmbEventType) self.retranslateUi(ReportVeteransSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportVeteransSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportVeteransSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportVeteransSetupDialog) def retranslateUi(self, ReportVeteransSetupDialog): ReportVeteransSetupDialog.setWindowTitle( QtGui.QApplication.translate("ReportVeteransSetupDialog", "Параметры отчета", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "Дата начала периода", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "Дата окончания периода", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.lblPerson.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "&Врач", None, QtGui.QApplication.UnicodeUTF8)) self.lblAge.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "Во&зраст с", None, QtGui.QApplication.UnicodeUTF8)) self.lblEventType.setText( QtGui.QApplication.translate("ReportVeteransSetupDialog", "&Тип обращения", None, QtGui.QApplication.UnicodeUTF8))
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, ReportVeteransSetupDialog): ReportVeteransSetupDialog.setObjectName( _fromUtf8("ReportVeteransSetupDialog")) ReportVeteransSetupDialog.resize(405, 211) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( ReportVeteransSetupDialog.sizePolicy().hasHeightForWidth()) ReportVeteransSetupDialog.setSizePolicy(sizePolicy) self.label = QtGui.QLabel(ReportVeteransSetupDialog) self.label.setGeometry(QtCore.QRect(10, 20, 141, 16)) self.label.setObjectName(_fromUtf8("label")) self.edtEndDate = CDateEdit(ReportVeteransSetupDialog) self.edtEndDate.setGeometry(QtCore.QRect(210, 50, 110, 22)) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.edtBegDate = CDateEdit(ReportVeteransSetupDialog) self.edtBegDate.setGeometry(QtCore.QRect(210, 20, 110, 22)) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.label_2 = QtGui.QLabel(ReportVeteransSetupDialog) self.label_2.setGeometry(QtCore.QRect(10, 50, 161, 16)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_4 = QtGui.QLabel(ReportVeteransSetupDialog) self.label_4.setGeometry(QtCore.QRect(10, 80, 131, 16)) self.label_4.setObjectName(_fromUtf8("label_4")) self.cmbOrgStructure = COrgStructureComboBox(ReportVeteransSetupDialog) self.cmbOrgStructure.setGeometry(QtCore.QRect(210, 80, 191, 22)) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.buttonBox = QtGui.QDialogButtonBox(ReportVeteransSetupDialog) self.buttonBox.setGeometry(QtCore.QRect(180, 180, 221, 23)) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.cmbPerson = CPersonComboBoxEx(ReportVeteransSetupDialog) self.cmbPerson.setGeometry(QtCore.QRect(210, 109, 191, 25)) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.lblPerson = QtGui.QLabel(ReportVeteransSetupDialog) self.lblPerson.setGeometry(QtCore.QRect(9, 109, 197, 25)) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.lblAge = QtGui.QLabel(ReportVeteransSetupDialog) self.lblAge.setGeometry(QtCore.QRect(384, 612, 197, 25)) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.cmbEventType = CRBComboBox(ReportVeteransSetupDialog) self.cmbEventType.setGeometry(QtCore.QRect(210, 140, 191, 27)) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.lblEventType = QtGui.QLabel(ReportVeteransSetupDialog) self.lblEventType.setGeometry(QtCore.QRect(10, 140, 199, 27)) self.lblEventType.setObjectName(_fromUtf8("lblEventType")) self.lblPerson.setBuddy(self.cmbPerson) self.lblEventType.setBuddy(self.cmbEventType) self.retranslateUi(ReportVeteransSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportVeteransSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportVeteransSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(ReportVeteransSetupDialog)
def setupUi(self, TissueJournalTotalEditorDialog): TissueJournalTotalEditorDialog.setObjectName( _fromUtf8("TissueJournalTotalEditorDialog")) TissueJournalTotalEditorDialog.resize(498, 267) TissueJournalTotalEditorDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(TissueJournalTotalEditorDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbPersonInJournal = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbPersonInJournal.setEnabled(False) self.cmbPersonInJournal.setObjectName(_fromUtf8("cmbPersonInJournal")) self.gridLayout.addWidget(self.cmbPersonInJournal, 1, 1, 1, 2) self.cmbAssistantInAction = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction.setEnabled(False) self.cmbAssistantInAction.setObjectName( _fromUtf8("cmbAssistantInAction")) self.gridLayout.addWidget(self.cmbAssistantInAction, 3, 1, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(TissueJournalTotalEditorDialog) 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, 9, 0, 1, 3) self.chkPersonInJournal = QtGui.QCheckBox( TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkPersonInJournal.sizePolicy().hasHeightForWidth()) self.chkPersonInJournal.setSizePolicy(sizePolicy) self.chkPersonInJournal.setObjectName(_fromUtf8("chkPersonInJournal")) self.gridLayout.addWidget(self.chkPersonInJournal, 1, 0, 1, 1) self.chkAssistantInAction = QtGui.QCheckBox( TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkAssistantInAction.sizePolicy().hasHeightForWidth()) self.chkAssistantInAction.setSizePolicy(sizePolicy) self.chkAssistantInAction.setObjectName( _fromUtf8("chkAssistantInAction")) self.gridLayout.addWidget(self.chkAssistantInAction, 3, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(TissueJournalTotalEditorDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkStatus.sizePolicy().hasHeightForWidth()) self.chkStatus.setSizePolicy(sizePolicy) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout.addWidget(self.chkStatus, 0, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(TissueJournalTotalEditorDialog) self.cmbStatus.setEnabled(False) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbStatus, 0, 1, 1, 2) self.chkPersonInAction = QtGui.QCheckBox( TissueJournalTotalEditorDialog) self.chkPersonInAction.setObjectName(_fromUtf8("chkPersonInAction")) self.gridLayout.addWidget(self.chkPersonInAction, 2, 0, 1, 1) self.cmbPersonInAction = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbPersonInAction.setEnabled(False) self.cmbPersonInAction.setObjectName(_fromUtf8("cmbPersonInAction")) self.gridLayout.addWidget(self.cmbPersonInAction, 2, 1, 1, 2) self.chkMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog) self.chkMKB.setObjectName(_fromUtf8("chkMKB")) self.gridLayout.addWidget(self.chkMKB, 7, 0, 1, 1) self.chkMorphologyMKB = QtGui.QCheckBox(TissueJournalTotalEditorDialog) self.chkMorphologyMKB.setObjectName(_fromUtf8("chkMorphologyMKB")) self.gridLayout.addWidget(self.chkMorphologyMKB, 8, 0, 1, 1) self.cmbMKB = CICDCodeEditEx(TissueJournalTotalEditorDialog) self.cmbMKB.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbMKB.sizePolicy().hasHeightForWidth()) self.cmbMKB.setSizePolicy(sizePolicy) self.cmbMKB.setObjectName(_fromUtf8("cmbMKB")) self.gridLayout.addWidget(self.cmbMKB, 7, 1, 1, 1) self.cmbMorphologyMKB = CICDMorphologyCodeEditEx( TissueJournalTotalEditorDialog) self.cmbMorphologyMKB.setEnabled(False) self.cmbMorphologyMKB.setObjectName(_fromUtf8("cmbMorphologyMKB")) self.gridLayout.addWidget(self.cmbMorphologyMKB, 8, 1, 1, 1) self.lblMKBText = QtGui.QLabel(TissueJournalTotalEditorDialog) self.lblMKBText.setText(_fromUtf8("")) self.lblMKBText.setObjectName(_fromUtf8("lblMKBText")) self.gridLayout.addWidget(self.lblMKBText, 7, 2, 1, 1) self.lblMorphologyMKBText = QtGui.QLabel( TissueJournalTotalEditorDialog) self.lblMorphologyMKBText.setText(_fromUtf8("")) self.lblMorphologyMKBText.setObjectName( _fromUtf8("lblMorphologyMKBText")) self.gridLayout.addWidget(self.lblMorphologyMKBText, 8, 2, 1, 1) self.cmbAssistantInAction2 = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction2.setEnabled(False) self.cmbAssistantInAction2.setObjectName( _fromUtf8("cmbAssistantInAction2")) self.gridLayout.addWidget(self.cmbAssistantInAction2, 4, 1, 1, 2) self.cmbAssistantInAction3 = CPersonComboBoxEx( TissueJournalTotalEditorDialog) self.cmbAssistantInAction3.setEnabled(False) self.cmbAssistantInAction3.setObjectName( _fromUtf8("cmbAssistantInAction3")) self.gridLayout.addWidget(self.cmbAssistantInAction3, 5, 1, 1, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 6, 0, 1, 1) self.retranslateUi(TissueJournalTotalEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TissueJournalTotalEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TissueJournalTotalEditorDialog.reject) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkPersonInJournal, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPersonInJournal.setEnabled) QtCore.QObject.connect(self.chkPersonInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbPersonInAction.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction.setEnabled) QtCore.QObject.connect(self.chkMKB, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMKB.setEnabled) QtCore.QObject.connect(self.chkMorphologyMKB, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMorphologyMKB.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction2.setEnabled) QtCore.QObject.connect(self.chkAssistantInAction, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAssistantInAction3.setEnabled) QtCore.QMetaObject.connectSlotsByName(TissueJournalTotalEditorDialog) TissueJournalTotalEditorDialog.setTabOrder(self.chkStatus, self.cmbStatus) TissueJournalTotalEditorDialog.setTabOrder(self.cmbStatus, self.chkPersonInJournal) TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInJournal, self.cmbPersonInJournal) TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInJournal, self.chkPersonInAction) TissueJournalTotalEditorDialog.setTabOrder(self.chkPersonInAction, self.cmbPersonInAction) TissueJournalTotalEditorDialog.setTabOrder(self.cmbPersonInAction, self.chkAssistantInAction) TissueJournalTotalEditorDialog.setTabOrder(self.chkAssistantInAction, self.cmbAssistantInAction) TissueJournalTotalEditorDialog.setTabOrder(self.cmbAssistantInAction, self.chkMKB) TissueJournalTotalEditorDialog.setTabOrder(self.chkMKB, self.cmbMKB) TissueJournalTotalEditorDialog.setTabOrder(self.cmbMKB, self.chkMorphologyMKB) TissueJournalTotalEditorDialog.setTabOrder(self.chkMorphologyMKB, self.cmbMorphologyMKB) TissueJournalTotalEditorDialog.setTabOrder(self.cmbMorphologyMKB, self.buttonBox)
class Ui_TempInvalidDuplicateEditDialog(object): def setupUi(self, TempInvalidDuplicateEditDialog): TempInvalidDuplicateEditDialog.setObjectName( _fromUtf8("TempInvalidDuplicateEditDialog")) TempInvalidDuplicateEditDialog.setWindowModality( QtCore.Qt.ApplicationModal) TempInvalidDuplicateEditDialog.resize(324, 392) self.gridLayout = QtGui.QGridLayout(TempInvalidDuplicateEditDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblNote = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblNote.setObjectName(_fromUtf8("lblNote")) self.gridLayout.addWidget(self.lblNote, 8, 0, 1, 1) self.lblSerial = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblSerial.setObjectName(_fromUtf8("lblSerial")) self.gridLayout.addWidget(self.lblSerial, 0, 0, 1, 1) self.edtNote = QtGui.QPlainTextEdit(TempInvalidDuplicateEditDialog) self.edtNote.setObjectName(_fromUtf8("edtNote")) self.gridLayout.addWidget(self.edtNote, 8, 1, 2, 2) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 9, 0, 1, 1) self.edtNumber = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self.gridLayout.addWidget(self.edtNumber, 1, 1, 1, 2) self.cmbPerson = CPersonComboBoxEx(TempInvalidDuplicateEditDialog) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 3, 1, 1, 2) self.edtSerial = CBlankComboBox(TempInvalidDuplicateEditDialog) self.edtSerial.setEditable(True) self.edtSerial.setObjectName(_fromUtf8("edtSerial")) self.gridLayout.addWidget(self.edtSerial, 0, 1, 1, 2) self.lblNumber = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout.addWidget(self.lblNumber, 1, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 11, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(TempInvalidDuplicateEditDialog) 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, 3) self.lblDate = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 2, 0, 1, 1) self.lblPerson = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 3, 0, 1, 1) self.lblDestination = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblDestination.setObjectName(_fromUtf8("lblDestination")) self.gridLayout.addWidget(self.lblDestination, 5, 0, 1, 1) self.edtDestination = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtDestination.setObjectName(_fromUtf8("edtDestination")) self.gridLayout.addWidget(self.edtDestination, 5, 1, 1, 2) self.cmbReason = CRBComboBox(TempInvalidDuplicateEditDialog) self.cmbReason.setObjectName(_fromUtf8("cmbReason")) self.gridLayout.addWidget(self.cmbReason, 6, 1, 1, 2) self.lblReason = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblReason.setObjectName(_fromUtf8("lblReason")) self.gridLayout.addWidget(self.lblReason, 6, 0, 1, 1) self.chkInsuranceOfficeMark = QtGui.QCheckBox( TempInvalidDuplicateEditDialog) self.chkInsuranceOfficeMark.setObjectName( _fromUtf8("chkInsuranceOfficeMark")) self.gridLayout.addWidget(self.chkInsuranceOfficeMark, 10, 1, 1, 2) self.edtPlaceWork = QtGui.QLineEdit(TempInvalidDuplicateEditDialog) self.edtPlaceWork.setEnabled(False) self.edtPlaceWork.setObjectName(_fromUtf8("edtPlaceWork")) self.gridLayout.addWidget(self.edtPlaceWork, 7, 1, 1, 2) self.lblPlaceWork = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.lblPlaceWork.setObjectName(_fromUtf8("lblPlaceWork")) self.gridLayout.addWidget(self.lblPlaceWork, 7, 0, 1, 1) self.edtDate = CDateEdit(TempInvalidDuplicateEditDialog) self.edtDate.setObjectName(_fromUtf8("edtDate")) self.gridLayout.addWidget(self.edtDate, 2, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(71, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 2, 2, 1, 1) self.label = QtGui.QLabel(TempInvalidDuplicateEditDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 4, 0, 1, 1) self.cmbExpert = CPersonComboBoxEx(TempInvalidDuplicateEditDialog) self.cmbExpert.setObjectName(_fromUtf8("cmbExpert")) self.gridLayout.addWidget(self.cmbExpert, 4, 1, 1, 2) self.lblNote.setBuddy(self.cmbPerson) self.lblNumber.setBuddy(self.edtNumber) self.lblDate.setBuddy(self.edtDate) self.lblPerson.setBuddy(self.cmbPerson) self.lblDestination.setBuddy(self.cmbPerson) self.lblReason.setBuddy(self.cmbPerson) self.retranslateUi(TempInvalidDuplicateEditDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), TempInvalidDuplicateEditDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), TempInvalidDuplicateEditDialog.reject) QtCore.QMetaObject.connectSlotsByName(TempInvalidDuplicateEditDialog) TempInvalidDuplicateEditDialog.setTabOrder(self.edtNumber, self.edtDate) TempInvalidDuplicateEditDialog.setTabOrder(self.edtDate, self.cmbPerson) TempInvalidDuplicateEditDialog.setTabOrder(self.cmbPerson, self.edtDestination) TempInvalidDuplicateEditDialog.setTabOrder(self.edtDestination, self.cmbReason) TempInvalidDuplicateEditDialog.setTabOrder(self.cmbReason, self.edtPlaceWork) TempInvalidDuplicateEditDialog.setTabOrder(self.edtPlaceWork, self.edtNote) TempInvalidDuplicateEditDialog.setTabOrder(self.edtNote, self.chkInsuranceOfficeMark) TempInvalidDuplicateEditDialog.setTabOrder(self.chkInsuranceOfficeMark, self.buttonBox) def retranslateUi(self, TempInvalidDuplicateEditDialog): TempInvalidDuplicateEditDialog.setWindowTitle( _translate("TempInvalidDuplicateEditDialog", "Дубликат документа временной нетрудоспособности", None)) self.lblNote.setText( _translate("TempInvalidDuplicateEditDialog", "П&римечание", None)) self.lblSerial.setText( _translate("TempInvalidDuplicateEditDialog", "Серия", None)) self.lblNumber.setText( _translate("TempInvalidDuplicateEditDialog", "&Номер", None)) self.lblDate.setText( _translate("TempInvalidDuplicateEditDialog", "&Дата", None)) self.lblPerson.setText( _translate("TempInvalidDuplicateEditDialog", "&Выдал", None)) self.lblDestination.setText( _translate("TempInvalidDuplicateEditDialog", "&Для представления в", None)) self.lblReason.setText( _translate("TempInvalidDuplicateEditDialog", "&Причина выдачи", None)) self.chkInsuranceOfficeMark.setText( _translate("TempInvalidDuplicateEditDialog", "Отметка страхового стола", None)) self.lblPlaceWork.setText( _translate("TempInvalidDuplicateEditDialog", "Место работы", None)) self.label.setText( _translate("TempInvalidDuplicateEditDialog", "Председатель КЭР", None))
class Ui_ReportPatientAtHome(object): def setupUi(self, ReportPatientAtHome): ReportPatientAtHome.setObjectName(_fromUtf8("ReportPatientAtHome")) ReportPatientAtHome.setWindowModality(QtCore.Qt.ApplicationModal) ReportPatientAtHome.resize(425, 392) ReportPatientAtHome.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(ReportPatientAtHome) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.cmbEventType = CRBComboBox(ReportPatientAtHome) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridlayout.addWidget(self.cmbEventType, 2, 1, 1, 2) spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 0, 2, 1, 1) self.lblOrgStructure = QtGui.QLabel(ReportPatientAtHome) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridlayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1) self.label_2 = QtGui.QLabel(ReportPatientAtHome) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridlayout.addWidget(self.label_2, 4, 0, 1, 1) self.lblBegDate = QtGui.QLabel(ReportPatientAtHome) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportPatientAtHome) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridlayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 2) self.lblEndDate = QtGui.QLabel(ReportPatientAtHome) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportPatientAtHome) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 8, 1, 1, 2) self.lblRowGrouping = QtGui.QLabel(ReportPatientAtHome) self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping")) self.gridlayout.addWidget(self.lblRowGrouping, 10, 0, 1, 1) self.edtEndDate = CDateEdit(ReportPatientAtHome) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1) self.edtBegDate = CDateEdit(ReportPatientAtHome) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportPatientAtHome) 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, 14, 0, 1, 3) self.cmbSex = QtGui.QComboBox(ReportPatientAtHome) 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.lblPerson = QtGui.QLabel(ReportPatientAtHome) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 8, 0, 1, 1) self.cmbRowGrouping = QtGui.QComboBox(ReportPatientAtHome) self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbRowGrouping, 10, 1, 1, 2) self.label = QtGui.QLabel(ReportPatientAtHome) self.label.setObjectName(_fromUtf8("label")) self.gridlayout.addWidget(self.label, 2, 0, 1, 1) self.lblSex = QtGui.QLabel(ReportPatientAtHome) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1) self.label_3 = QtGui.QLabel(ReportPatientAtHome) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridlayout.addWidget(self.label_3, 3, 0, 1, 1) self.cmbSocStatusClass = CSocStatusComboBox(ReportPatientAtHome) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridlayout.addWidget(self.cmbSocStatusClass, 3, 1, 1, 2) self.cmbSocStatusType = CRBComboBox(ReportPatientAtHome) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridlayout.addWidget(self.cmbSocStatusType, 4, 1, 1, 2) self.chkGroup = QtGui.QCheckBox(ReportPatientAtHome) self.chkGroup.setObjectName(_fromUtf8("chkGroup")) self.gridlayout.addWidget(self.chkGroup, 11, 1, 1, 1) self.chkRegAddress = QtGui.QCheckBox(ReportPatientAtHome) self.chkRegAddress.setObjectName(_fromUtf8("chkRegAddress")) self.gridlayout.addWidget(self.chkRegAddress, 12, 1, 1, 1) self.chkAddress = QtGui.QCheckBox(ReportPatientAtHome) self.chkAddress.setObjectName(_fromUtf8("chkAddress")) self.gridlayout.addWidget(self.chkAddress, 13, 1, 1, 1) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblRowGrouping.setBuddy(self.cmbRowGrouping) self.lblPerson.setBuddy(self.cmbPerson) self.lblSex.setBuddy(self.cmbSex) self.retranslateUi(ReportPatientAtHome) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPatientAtHome.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPatientAtHome.reject) QtCore.QMetaObject.connectSlotsByName(ReportPatientAtHome) ReportPatientAtHome.setTabOrder(self.edtBegDate, self.edtEndDate) ReportPatientAtHome.setTabOrder(self.edtEndDate, self.cmbOrgStructure) ReportPatientAtHome.setTabOrder(self.cmbOrgStructure, self.cmbPerson) ReportPatientAtHome.setTabOrder(self.cmbPerson, self.cmbSex) ReportPatientAtHome.setTabOrder(self.cmbSex, self.cmbRowGrouping) ReportPatientAtHome.setTabOrder(self.cmbRowGrouping, self.buttonBox) def retranslateUi(self, ReportPatientAtHome): ReportPatientAtHome.setWindowTitle( _translate("ReportPatientAtHome", "параметры отчёта", None)) self.lblOrgStructure.setText( _translate("ReportPatientAtHome", "&Подразделение", None)) self.label_2.setText( _translate("ReportPatientAtHome", "Тип соц. статуса", None)) self.lblBegDate.setText( _translate("ReportPatientAtHome", "Дата &начала периода", None)) self.lblEndDate.setText( _translate("ReportPatientAtHome", "Дата &окончания периода", None)) self.cmbPerson.setItemText( 0, _translate("ReportPatientAtHome", "Врач", None)) self.lblRowGrouping.setText( _translate("ReportPatientAtHome", "&Строки по", None)) self.cmbSex.setItemText(1, _translate("ReportPatientAtHome", "М", None)) self.cmbSex.setItemText(2, _translate("ReportPatientAtHome", "Ж", None)) self.lblPerson.setText(_translate("ReportPatientAtHome", "&Врач", None)) self.cmbRowGrouping.setItemText( 0, _translate("ReportPatientAtHome", "Датам", None)) self.cmbRowGrouping.setItemText( 1, _translate("ReportPatientAtHome", "Врачам", None)) self.cmbRowGrouping.setItemText( 2, _translate("ReportPatientAtHome", "Подразделениям", None)) self.cmbRowGrouping.setItemText( 3, _translate("ReportPatientAtHome", "Специальности", None)) self.cmbRowGrouping.setItemText( 4, _translate("ReportPatientAtHome", "Должности", None)) self.cmbRowGrouping.setItemText( 5, _translate("ReportPatientAtHome", "Пациентам", None)) self.label.setText( _translate("ReportPatientAtHome", "Тип события", None)) self.lblSex.setText(_translate("ReportPatientAtHome", "По&л", None)) self.label_3.setText( _translate("ReportPatientAtHome", "Класс соц. статуса", None)) self.chkGroup.setText( _translate("ReportPatientAtHome", "Группировать по отделениям", None)) self.chkRegAddress.setText( _translate("ReportPatientAtHome", "Выводить адрес регистрации", None)) self.chkAddress.setText( _translate("ReportPatientAtHome", "Выводить адрес проживания", None))
def setupUi(self, ReportPatientAtHome): ReportPatientAtHome.setObjectName(_fromUtf8("ReportPatientAtHome")) ReportPatientAtHome.setWindowModality(QtCore.Qt.ApplicationModal) ReportPatientAtHome.resize(425, 392) ReportPatientAtHome.setSizeGripEnabled(True) self.gridlayout = QtGui.QGridLayout(ReportPatientAtHome) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.cmbEventType = CRBComboBox(ReportPatientAtHome) self.cmbEventType.setObjectName(_fromUtf8("cmbEventType")) self.gridlayout.addWidget(self.cmbEventType, 2, 1, 1, 2) spacerItem = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem, 0, 2, 1, 1) self.lblOrgStructure = QtGui.QLabel(ReportPatientAtHome) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridlayout.addWidget(self.lblOrgStructure, 7, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(91, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout.addItem(spacerItem1, 1, 2, 1, 1) self.label_2 = QtGui.QLabel(ReportPatientAtHome) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridlayout.addWidget(self.label_2, 4, 0, 1, 1) self.lblBegDate = QtGui.QLabel(ReportPatientAtHome) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridlayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(ReportPatientAtHome) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridlayout.addWidget(self.cmbOrgStructure, 7, 1, 1, 2) self.lblEndDate = QtGui.QLabel(ReportPatientAtHome) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridlayout.addWidget(self.lblEndDate, 1, 0, 1, 1) self.cmbPerson = CPersonComboBoxEx(ReportPatientAtHome) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.cmbPerson.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbPerson, 8, 1, 1, 2) self.lblRowGrouping = QtGui.QLabel(ReportPatientAtHome) self.lblRowGrouping.setObjectName(_fromUtf8("lblRowGrouping")) self.gridlayout.addWidget(self.lblRowGrouping, 10, 0, 1, 1) self.edtEndDate = CDateEdit(ReportPatientAtHome) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridlayout.addWidget(self.edtEndDate, 1, 1, 1, 1) self.edtBegDate = CDateEdit(ReportPatientAtHome) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridlayout.addWidget(self.edtBegDate, 0, 1, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ReportPatientAtHome) 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, 14, 0, 1, 3) self.cmbSex = QtGui.QComboBox(ReportPatientAtHome) 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.lblPerson = QtGui.QLabel(ReportPatientAtHome) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridlayout.addWidget(self.lblPerson, 8, 0, 1, 1) self.cmbRowGrouping = QtGui.QComboBox(ReportPatientAtHome) self.cmbRowGrouping.setObjectName(_fromUtf8("cmbRowGrouping")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.cmbRowGrouping.addItem(_fromUtf8("")) self.gridlayout.addWidget(self.cmbRowGrouping, 10, 1, 1, 2) self.label = QtGui.QLabel(ReportPatientAtHome) self.label.setObjectName(_fromUtf8("label")) self.gridlayout.addWidget(self.label, 2, 0, 1, 1) self.lblSex = QtGui.QLabel(ReportPatientAtHome) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridlayout.addWidget(self.lblSex, 9, 0, 1, 1) self.label_3 = QtGui.QLabel(ReportPatientAtHome) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridlayout.addWidget(self.label_3, 3, 0, 1, 1) self.cmbSocStatusClass = CSocStatusComboBox(ReportPatientAtHome) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridlayout.addWidget(self.cmbSocStatusClass, 3, 1, 1, 2) self.cmbSocStatusType = CRBComboBox(ReportPatientAtHome) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridlayout.addWidget(self.cmbSocStatusType, 4, 1, 1, 2) self.chkGroup = QtGui.QCheckBox(ReportPatientAtHome) self.chkGroup.setObjectName(_fromUtf8("chkGroup")) self.gridlayout.addWidget(self.chkGroup, 11, 1, 1, 1) self.chkRegAddress = QtGui.QCheckBox(ReportPatientAtHome) self.chkRegAddress.setObjectName(_fromUtf8("chkRegAddress")) self.gridlayout.addWidget(self.chkRegAddress, 12, 1, 1, 1) self.chkAddress = QtGui.QCheckBox(ReportPatientAtHome) self.chkAddress.setObjectName(_fromUtf8("chkAddress")) self.gridlayout.addWidget(self.chkAddress, 13, 1, 1, 1) self.lblOrgStructure.setBuddy(self.cmbOrgStructure) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndDate.setBuddy(self.edtEndDate) self.lblRowGrouping.setBuddy(self.cmbRowGrouping) self.lblPerson.setBuddy(self.cmbPerson) self.lblSex.setBuddy(self.cmbSex) self.retranslateUi(ReportPatientAtHome) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ReportPatientAtHome.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ReportPatientAtHome.reject) QtCore.QMetaObject.connectSlotsByName(ReportPatientAtHome) ReportPatientAtHome.setTabOrder(self.edtBegDate, self.edtEndDate) ReportPatientAtHome.setTabOrder(self.edtEndDate, self.cmbOrgStructure) ReportPatientAtHome.setTabOrder(self.cmbOrgStructure, self.cmbPerson) ReportPatientAtHome.setTabOrder(self.cmbPerson, self.cmbSex) ReportPatientAtHome.setTabOrder(self.cmbSex, self.cmbRowGrouping) ReportPatientAtHome.setTabOrder(self.cmbRowGrouping, self.buttonBox)