def setupUi(self, ClientAttachMonitoring): ClientAttachMonitoring.setObjectName( _fromUtf8("ClientAttachMonitoring")) ClientAttachMonitoring.resize(427, 235) self.gridLayout = QtGui.QGridLayout(ClientAttachMonitoring) self.gridLayout.setMargin(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.splitter = QtGui.QSplitter(ClientAttachMonitoring) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeOrgStructure = CTreeView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.treeOrgStructure.sizePolicy().hasHeightForWidth()) self.treeOrgStructure.setSizePolicy(sizePolicy) self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure")) self.tblOrgStructure = CTableView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tblOrgStructure.sizePolicy().hasHeightForWidth()) self.tblOrgStructure.setSizePolicy(sizePolicy) self.tblOrgStructure.setObjectName(_fromUtf8("tblOrgStructure")) self.gridLayout.addWidget(self.splitter, 0, 0, 1, 1) self.retranslateUi(ClientAttachMonitoring) QtCore.QMetaObject.connectSlotsByName(ClientAttachMonitoring)
def setupUi(self, ExportActionTemplate_Wizard_1): ExportActionTemplate_Wizard_1.setObjectName(_fromUtf8("ExportActionTemplate_Wizard_1")) ExportActionTemplate_Wizard_1.setWindowModality(QtCore.Qt.NonModal) ExportActionTemplate_Wizard_1.resize(593, 398) self.gridlayout = QtGui.QGridLayout(ExportActionTemplate_Wizard_1) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.splitterTree = QtGui.QSplitter(ExportActionTemplate_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitterTree.sizePolicy().hasHeightForWidth()) self.splitterTree.setSizePolicy(sizePolicy) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.treeItems = CTreeView(self.splitterTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.tblItems = CTableView(self.splitterTree) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridlayout.addWidget(self.splitterTree, 2, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(6) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnSelectAll = QtGui.QPushButton(ExportActionTemplate_Wizard_1) self.btnSelectAll.setObjectName(_fromUtf8("btnSelectAll")) self.hboxlayout.addWidget(self.btnSelectAll) self.btnClearSelection = QtGui.QPushButton(ExportActionTemplate_Wizard_1) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout.addWidget(self.btnClearSelection) self.gridlayout.addLayout(self.hboxlayout, 3, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ExportActionTemplate_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 4, 0, 1, 1) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1")) self.checkExportAll = QtGui.QCheckBox(ExportActionTemplate_Wizard_1) self.checkExportAll.setObjectName(_fromUtf8("checkExportAll")) self.hboxlayout1.addWidget(self.checkExportAll) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem1) self.chkRecursiveSelection = QtGui.QCheckBox(ExportActionTemplate_Wizard_1) self.chkRecursiveSelection.setObjectName(_fromUtf8("chkRecursiveSelection")) self.hboxlayout1.addWidget(self.chkRecursiveSelection) self.gridlayout.addLayout(self.hboxlayout1, 0, 0, 1, 1) self.retranslateUi(ExportActionTemplate_Wizard_1) QtCore.QMetaObject.connectSlotsByName(ExportActionTemplate_Wizard_1) ExportActionTemplate_Wizard_1.setTabOrder(self.treeItems, self.tblItems)
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(400, 602) self.gridLayout = QtGui.QGridLayout(Dialog) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) 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, 1, 0, 1, 1) self.treeItems = CTreeView(Dialog) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout.addWidget(self.treeItems, 0, 0, 1, 1) 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 retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(399, 659) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.splitter = QtGui.QSplitter(Form) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeOrgStructure = CTreeView(self.splitter) self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure")) self.tblSpeciality = CRBListBox(self.splitter) self.tblSpeciality.setObjectName(_fromUtf8("tblSpeciality")) self.tblPersonnel = CRBListBox(self.splitter) self.tblPersonnel.setObjectName(_fromUtf8("tblPersonnel")) self.gridLayout.addWidget(self.splitter, 0, 1, 1, 9) self.edtEndDate = CDateEdit(Form) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 1, 9, 1, 1) self.label_3 = QtGui.QLabel(Form) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 1, 6, 1, 1) self.label_2 = QtGui.QLabel(Form) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 8, 1, 1) self.edtBegDate = CDateEdit(Form) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 1, 7, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 1, 5, 1, 1) self.tblChessboardAmbQueue = CTableView(Form) self.tblChessboardAmbQueue.setObjectName(_fromUtf8("tblChessboardAmbQueue")) self.gridLayout.addWidget(self.tblChessboardAmbQueue, 2, 1, 1, 9) self.label = QtGui.QLabel(Form) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 1, 3, 1, 1) self.btnRefresh = QtGui.QToolButton(Form) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) font.setStrikeOut(True) self.btnRefresh.setFont(font) self.btnRefresh.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnRefresh.setIcon(icon) self.btnRefresh.setObjectName(_fromUtf8("btnRefresh")) self.gridLayout.addWidget(self.btnRefresh, 1, 2, 1, 1) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.label_3.setText(_translate("Form", "с", None)) self.label_2.setText(_translate("Form", "по", None)) self.label.setText(_translate("Form", "Дата ", None)) self.btnRefresh.setToolTip(_translate("Form", "Обновить список номерков", None))
def reset(self): currentIndex = self.currentIndex() self.saveExpandedState() if currentIndex.isValid(): if currentIndex.parent().internalPointer(): self.model().emitDataChanged(currentIndex.parent().internalPointer(), currentIndex.row()) CTreeView.reset(self) self.restoreExpandedState() if currentIndex.isValid(): self.setCurrentIndex(currentIndex) self.scrollTo(currentIndex) pass
class Ui_QuotingDialog(object): def setupUi(self, QuotingDialog): QuotingDialog.setObjectName(_fromUtf8("QuotingDialog")) QuotingDialog.resize(549, 847) self.gridLayout_3 = QtGui.QGridLayout(QuotingDialog) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.splitter_3 = QtGui.QSplitter(QuotingDialog) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setOpaqueResize(True) self.splitter_3.setChildrenCollapsible(False) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_3) self.horizontalLayoutWidget.setObjectName( _fromUtf8("horizontalLayoutWidget")) self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.splitter = QtGui.QSplitter(self.horizontalLayoutWidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setOpaqueResize(True) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.calendar = CCalendarWidget(self.splitter) self.calendar.setObjectName(_fromUtf8("calendar")) self.treeQuotaType = CTreeView(self.splitter) self.treeQuotaType.setObjectName(_fromUtf8("treeQuotaType")) self.tblQuotaTypeLeaves = CTableView(self.splitter) self.tblQuotaTypeLeaves.setObjectName(_fromUtf8("tblQuotaTypeLeaves")) self.horizontalLayout.addWidget(self.splitter) self.tabWidgetContent = QtGui.QTabWidget(self.splitter_3) self.tabWidgetContent.setEnabled(True) self.tabWidgetContent.setObjectName(_fromUtf8("tabWidgetContent")) self.tabLimits = QtGui.QWidget() self.tabLimits.setObjectName(_fromUtf8("tabLimits")) self.gridLayout = QtGui.QGridLayout(self.tabLimits) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblInfo = QtGui.QLabel(self.tabLimits) self.lblInfo.setText(_fromUtf8("")) self.lblInfo.setObjectName(_fromUtf8("lblInfo")) self.gridLayout.addWidget(self.lblInfo, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(336, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) self.btnEditQuota = QtGui.QPushButton(self.tabLimits) self.btnEditQuota.setObjectName(_fromUtf8("btnEditQuota")) self.gridLayout.addWidget(self.btnEditQuota, 2, 1, 1, 1) self.btnProlongateQuota = QtGui.QPushButton(self.tabLimits) self.btnProlongateQuota.setObjectName(_fromUtf8("btnProlongateQuota")) self.gridLayout.addWidget(self.btnProlongateQuota, 2, 2, 1, 1) self.btnNewQuota = QtGui.QPushButton(self.tabLimits) self.btnNewQuota.setObjectName(_fromUtf8("btnNewQuota")) self.gridLayout.addWidget(self.btnNewQuota, 2, 3, 1, 1) self.btnClose = QtGui.QPushButton(self.tabLimits) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.gridLayout.addWidget(self.btnClose, 2, 4, 1, 1) self.splitter_2 = QtGui.QSplitter(self.tabLimits) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.tblQuoting = CTableView(self.splitter_2) self.tblQuoting.setObjectName(_fromUtf8("tblQuoting")) self.tabWidgetLimitation = QtGui.QTabWidget(self.splitter_2) self.tabWidgetLimitation.setObjectName( _fromUtf8("tabWidgetLimitation")) self.tabRegion = QtGui.QWidget() self.tabRegion.setObjectName(_fromUtf8("tabRegion")) self.gridLayout_2 = QtGui.QGridLayout(self.tabRegion) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblQuoting_Region = CInDocTableView(self.tabRegion) self.tblQuoting_Region.setObjectName(_fromUtf8("tblQuoting_Region")) self.gridLayout_2.addWidget(self.tblQuoting_Region, 0, 0, 1, 1) self.tabWidgetLimitation.addTab(self.tabRegion, _fromUtf8("")) self.tabInsurance = QtGui.QWidget() self.tabInsurance.setEnabled(True) self.tabInsurance.setObjectName(_fromUtf8("tabInsurance")) self.tabWidgetLimitation.addTab(self.tabInsurance, _fromUtf8("")) self.tabFinanceSource = QtGui.QWidget() self.tabFinanceSource.setObjectName(_fromUtf8("tabFinanceSource")) self.tabWidgetLimitation.addTab(self.tabFinanceSource, _fromUtf8("")) self.tabSocialStatus = QtGui.QWidget() self.tabSocialStatus.setObjectName(_fromUtf8("tabSocialStatus")) self.tabWidgetLimitation.addTab(self.tabSocialStatus, _fromUtf8("")) self.tabSexAndAge = QtGui.QWidget() self.tabSexAndAge.setObjectName(_fromUtf8("tabSexAndAge")) self.tabWidgetLimitation.addTab(self.tabSexAndAge, _fromUtf8("")) self.gridLayout.addWidget(self.splitter_2, 0, 0, 1, 5) self.tabWidgetContent.addTab(self.tabLimits, _fromUtf8("")) self.tabList = QtGui.QWidget() self.tabList.setEnabled(True) self.tabList.setObjectName(_fromUtf8("tabList")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabList) self.verticalLayout_5.setSpacing(4) self.verticalLayout_5.setMargin(4) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.splitter_4 = QtGui.QSplitter(self.tabList) self.splitter_4.setOrientation(QtCore.Qt.Horizontal) self.splitter_4.setChildrenCollapsible(False) self.splitter_4.setObjectName(_fromUtf8("splitter_4")) self.verticalLayoutWidget_4 = QtGui.QWidget(self.splitter_4) self.verticalLayoutWidget_4.setObjectName( _fromUtf8("verticalLayoutWidget_4")) self.gridLayout_5 = QtGui.QGridLayout(self.verticalLayoutWidget_4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setMargin(0) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblPeopleList = CTableView(self.verticalLayoutWidget_4) self.tblPeopleList.setObjectName(_fromUtf8("tblPeopleList")) self.gridLayout_5.addWidget(self.tblPeopleList, 0, 0, 1, 2) self.btnPrint = QtGui.QPushButton(self.verticalLayoutWidget_4) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) self.gridLayout_5.addWidget(self.btnPrint, 2, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 2, 0, 1, 1) self.lblPersonListCount = QtGui.QLabel(self.verticalLayoutWidget_4) self.lblPersonListCount.setObjectName(_fromUtf8("lblPersonListCount")) self.gridLayout_5.addWidget(self.lblPersonListCount, 1, 0, 1, 2) self.widget = QtGui.QWidget(self.splitter_4) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.gridLayout_4 = QtGui.QGridLayout(self.widget) self.gridLayout_4.setMargin(0) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setMargin(0) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.chkFilterLastName = QtGui.QCheckBox(self.widget) self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName")) self.gridLayout_4.addWidget(self.chkFilterLastName, 0, 0, 1, 3) self.edtFilterLastName = QtGui.QLineEdit(self.widget) self.edtFilterLastName.setEnabled(False) self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName")) self.gridLayout_4.addWidget(self.edtFilterLastName, 1, 0, 1, 3) self.chkFilterFirstName = QtGui.QCheckBox(self.widget) self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName")) self.gridLayout_4.addWidget(self.chkFilterFirstName, 2, 0, 1, 2) self.edtFilterFirstName = QtGui.QLineEdit(self.widget) self.edtFilterFirstName.setEnabled(False) self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName")) self.gridLayout_4.addWidget(self.edtFilterFirstName, 3, 0, 1, 3) self.chkFilterPatrName = QtGui.QCheckBox(self.widget) self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName")) self.gridLayout_4.addWidget(self.chkFilterPatrName, 4, 0, 1, 3) self.edtFilterPatrName = QtGui.QLineEdit(self.widget) self.edtFilterPatrName.setEnabled(False) self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName")) self.gridLayout_4.addWidget(self.edtFilterPatrName, 5, 0, 1, 3) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.chkFilterSex = QtGui.QCheckBox(self.widget) self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex")) self.horizontalLayout_2.addWidget(self.chkFilterSex) self.cmbFilterSex = QtGui.QComboBox(self.widget) self.cmbFilterSex.setEnabled(False) self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215)) self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.setItemText(0, _fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.horizontalLayout_2.addWidget(self.cmbFilterSex) self.chkFilterAge = QtGui.QCheckBox(self.widget) self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge")) self.horizontalLayout_2.addWidget(self.chkFilterAge) self.edtFilterBegAge = QtGui.QSpinBox(self.widget) self.edtFilterBegAge.setEnabled(False) self.edtFilterBegAge.setMaximum(150) self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge")) self.horizontalLayout_2.addWidget(self.edtFilterBegAge) self.edtFilterEndAge = QtGui.QSpinBox(self.widget) self.edtFilterEndAge.setEnabled(False) self.edtFilterEndAge.setMaximum(150) self.edtFilterEndAge.setProperty("value", 150) self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge")) self.horizontalLayout_2.addWidget(self.edtFilterEndAge) self.gridLayout_4.addLayout(self.horizontalLayout_2, 6, 0, 1, 3) self.chkFilterAddress = QtGui.QCheckBox(self.widget) self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress")) self.gridLayout_4.addWidget(self.chkFilterAddress, 8, 0, 1, 1) self.cmbFilterAddressType = QtGui.QComboBox(self.widget) self.cmbFilterAddressType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressType.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressType.setSizePolicy(sizePolicy) self.cmbFilterAddressType.setObjectName( _fromUtf8("cmbFilterAddressType")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbFilterAddressType, 8, 1, 1, 2) self.cmbFilterAddressCity = CKLADRComboBox(self.widget) self.cmbFilterAddressCity.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressCity.setSizePolicy(sizePolicy) self.cmbFilterAddressCity.setObjectName( _fromUtf8("cmbFilterAddressCity")) self.gridLayout_4.addWidget(self.cmbFilterAddressCity, 9, 0, 1, 3) self.cmbFilterAddressStreet = CStreetComboBox(self.widget) self.cmbFilterAddressStreet.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressStreet.setSizePolicy(sizePolicy) self.cmbFilterAddressStreet.setObjectName( _fromUtf8("cmbFilterAddressStreet")) self.gridLayout_4.addWidget(self.cmbFilterAddressStreet, 10, 0, 1, 3) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.chkFilterStatus = QtGui.QCheckBox(self.widget) self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus")) self.verticalLayout_3.addWidget(self.chkFilterStatus) self.cmbFilterStatus = QtGui.QComboBox(self.widget) self.cmbFilterStatus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterStatus.sizePolicy().hasHeightForWidth()) self.cmbFilterStatus.setSizePolicy(sizePolicy) self.cmbFilterStatus.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbFilterStatus) self.horizontalLayout_4.addLayout(self.verticalLayout_3) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setSpacing(4) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.chkFilterStage = QtGui.QCheckBox(self.widget) self.chkFilterStage.setObjectName(_fromUtf8("chkFilterStage")) self.verticalLayout_4.addWidget(self.chkFilterStage) self.edtFilterStage = QtGui.QSpinBox(self.widget) self.edtFilterStage.setEnabled(False) self.edtFilterStage.setObjectName(_fromUtf8("edtFilterStage")) self.verticalLayout_4.addWidget(self.edtFilterStage) self.horizontalLayout_4.addLayout(self.verticalLayout_4) self.gridLayout_4.addLayout(self.horizontalLayout_4, 12, 0, 1, 3) self.chkFilterOrgStructure = QtGui.QCheckBox(self.widget) self.chkFilterOrgStructure.setObjectName( _fromUtf8("chkFilterOrgStructure")) self.gridLayout_4.addWidget(self.chkFilterOrgStructure, 13, 0, 1, 3) self.cmbFilterOrgStructure = COrgStructureComboBox(self.widget) self.cmbFilterOrgStructure.setEnabled(False) self.cmbFilterOrgStructure.setObjectName( _fromUtf8("cmbFilterOrgStructure")) self.gridLayout_4.addWidget(self.cmbFilterOrgStructure, 14, 0, 1, 3) self.chkFilterContact = QtGui.QCheckBox(self.widget) self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact")) self.gridLayout_4.addWidget(self.chkFilterContact, 15, 0, 1, 3) self.edtFilterContact = QtGui.QLineEdit(self.widget) self.edtFilterContact.setEnabled(False) self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact")) self.gridLayout_4.addWidget(self.edtFilterContact, 16, 0, 1, 3) self.chkFilterIdentifier = QtGui.QCheckBox(self.widget) self.chkFilterIdentifier.setObjectName( _fromUtf8("chkFilterIdentifier")) self.gridLayout_4.addWidget(self.chkFilterIdentifier, 17, 0, 1, 3) self.edtFilterIdentifier = QtGui.QLineEdit(self.widget) self.edtFilterIdentifier.setEnabled(False) self.edtFilterIdentifier.setObjectName( _fromUtf8("edtFilterIdentifier")) self.gridLayout_4.addWidget(self.edtFilterIdentifier, 18, 0, 1, 3) self.chkFilterTicketNumber = QtGui.QCheckBox(self.widget) self.chkFilterTicketNumber.setObjectName( _fromUtf8("chkFilterTicketNumber")) self.gridLayout_4.addWidget(self.chkFilterTicketNumber, 19, 0, 1, 3) self.edtFilterTicketNumber = QtGui.QLineEdit(self.widget) self.edtFilterTicketNumber.setEnabled(False) self.edtFilterTicketNumber.setObjectName( _fromUtf8("edtFilterTicketNumber")) self.gridLayout_4.addWidget(self.edtFilterTicketNumber, 20, 0, 1, 3) self.chkFilterRequest = QtGui.QCheckBox(self.widget) self.chkFilterRequest.setObjectName(_fromUtf8("chkFilterRequest")) self.gridLayout_4.addWidget(self.chkFilterRequest, 21, 0, 1, 3) self.cmbFilterRequest = QtGui.QComboBox(self.widget) self.cmbFilterRequest.setEnabled(False) self.cmbFilterRequest.setObjectName(_fromUtf8("cmbFilterRequest")) self.cmbFilterRequest.addItem(_fromUtf8("")) self.cmbFilterRequest.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbFilterRequest, 22, 0, 1, 3) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem2, 23, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem3) self.buttonBox = CApplyResetDialogButtonBox(self.widget) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_3.addWidget(self.buttonBox) self.gridLayout_4.addLayout(self.horizontalLayout_3, 24, 0, 1, 3) self.chkFilterBirthDay = QtGui.QCheckBox(self.widget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkFilterBirthDay.sizePolicy().hasHeightForWidth()) self.chkFilterBirthDay.setSizePolicy(sizePolicy) self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay")) self.gridLayout_4.addWidget(self.chkFilterBirthDay, 7, 0, 1, 1) self.edtFilterBirthDay = CDateEdit(self.widget) self.edtFilterBirthDay.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBirthDay.sizePolicy().hasHeightForWidth()) self.edtFilterBirthDay.setSizePolicy(sizePolicy) self.edtFilterBirthDay.setCalendarPopup(True) self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay")) self.gridLayout_4.addWidget(self.edtFilterBirthDay, 7, 1, 1, 2) self.chkFilterClientQuotaKladr = QtGui.QCheckBox(self.widget) self.chkFilterClientQuotaKladr.setObjectName( _fromUtf8("chkFilterClientQuotaKladr")) self.gridLayout_4.addWidget(self.chkFilterClientQuotaKladr, 11, 0, 1, 1) self.cmbFilterClientQuotaKladr = CMainRegionsKLADRComboBox(self.widget) self.cmbFilterClientQuotaKladr.setObjectName( _fromUtf8("cmbFilterClientQuotaKladr")) self.gridLayout_4.addWidget(self.cmbFilterClientQuotaKladr, 11, 1, 1, 2) self.verticalLayout_5.addWidget(self.splitter_4) self.tabWidgetContent.addTab(self.tabList, _fromUtf8("")) self.gridLayout_3.addWidget(self.splitter_3, 0, 0, 1, 1) self.retranslateUi(QuotingDialog) self.tabWidgetContent.setCurrentIndex(0) self.tabWidgetLimitation.setCurrentIndex(0) QtCore.QObject.connect(self.btnClose, QtCore.SIGNAL(_fromUtf8("clicked()")), QuotingDialog.close) QtCore.QObject.connect(self.chkFilterLastName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterLastName.setEnabled) QtCore.QObject.connect(self.chkFilterFirstName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterFirstName.setEnabled) QtCore.QObject.connect(self.chkFilterPatrName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterPatrName.setEnabled) QtCore.QObject.connect(self.chkFilterBirthDay, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterBirthDay.setEnabled) QtCore.QObject.connect(self.chkFilterSex, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterSex.setEnabled) QtCore.QObject.connect(self.chkFilterAge, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterBegAge.setEnabled) QtCore.QObject.connect(self.chkFilterAge, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterEndAge.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressCity.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressStreet.setEnabled) QtCore.QObject.connect(self.chkFilterStage, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterStage.setEnabled) QtCore.QObject.connect(self.chkFilterStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterStatus.setEnabled) QtCore.QObject.connect(self.chkFilterOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterOrgStructure.setEnabled) QtCore.QObject.connect(self.chkFilterContact, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterContact.setEnabled) QtCore.QObject.connect(self.chkFilterIdentifier, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterIdentifier.setEnabled) QtCore.QObject.connect(self.chkFilterTicketNumber, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterTicketNumber.setEnabled) QtCore.QObject.connect(self.chkFilterRequest, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterRequest.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressType.setEnabled) QtCore.QMetaObject.connectSlotsByName(QuotingDialog) QuotingDialog.setTabOrder(self.tabWidgetContent, self.calendar) QuotingDialog.setTabOrder(self.calendar, self.treeQuotaType) QuotingDialog.setTabOrder(self.treeQuotaType, self.tblQuotaTypeLeaves) QuotingDialog.setTabOrder(self.tblQuotaTypeLeaves, self.btnEditQuota) QuotingDialog.setTabOrder(self.btnEditQuota, self.btnProlongateQuota) QuotingDialog.setTabOrder(self.btnProlongateQuota, self.btnNewQuota) QuotingDialog.setTabOrder(self.btnNewQuota, self.btnClose) QuotingDialog.setTabOrder(self.btnClose, self.tblQuoting) QuotingDialog.setTabOrder(self.tblQuoting, self.tabWidgetLimitation) QuotingDialog.setTabOrder(self.tabWidgetLimitation, self.tblQuoting_Region) QuotingDialog.setTabOrder(self.tblQuoting_Region, self.tblPeopleList) QuotingDialog.setTabOrder(self.tblPeopleList, self.btnPrint) QuotingDialog.setTabOrder(self.btnPrint, self.chkFilterLastName) QuotingDialog.setTabOrder(self.chkFilterLastName, self.edtFilterLastName) QuotingDialog.setTabOrder(self.edtFilterLastName, self.chkFilterFirstName) QuotingDialog.setTabOrder(self.chkFilterFirstName, self.edtFilterFirstName) QuotingDialog.setTabOrder(self.edtFilterFirstName, self.chkFilterPatrName) QuotingDialog.setTabOrder(self.chkFilterPatrName, self.edtFilterPatrName) QuotingDialog.setTabOrder(self.edtFilterPatrName, self.chkFilterSex) QuotingDialog.setTabOrder(self.chkFilterSex, self.cmbFilterSex) QuotingDialog.setTabOrder(self.cmbFilterSex, self.chkFilterAge) QuotingDialog.setTabOrder(self.chkFilterAge, self.edtFilterBegAge) QuotingDialog.setTabOrder(self.edtFilterBegAge, self.edtFilterEndAge) QuotingDialog.setTabOrder(self.edtFilterEndAge, self.chkFilterBirthDay) QuotingDialog.setTabOrder(self.chkFilterBirthDay, self.edtFilterBirthDay) QuotingDialog.setTabOrder(self.edtFilterBirthDay, self.chkFilterAddress) QuotingDialog.setTabOrder(self.chkFilterAddress, self.cmbFilterAddressType) QuotingDialog.setTabOrder(self.cmbFilterAddressType, self.cmbFilterAddressCity) QuotingDialog.setTabOrder(self.cmbFilterAddressCity, self.cmbFilterAddressStreet) QuotingDialog.setTabOrder(self.cmbFilterAddressStreet, self.chkFilterStatus) QuotingDialog.setTabOrder(self.chkFilterStatus, self.cmbFilterStatus) QuotingDialog.setTabOrder(self.cmbFilterStatus, self.chkFilterStage) QuotingDialog.setTabOrder(self.chkFilterStage, self.edtFilterStage) QuotingDialog.setTabOrder(self.edtFilterStage, self.chkFilterOrgStructure) QuotingDialog.setTabOrder(self.chkFilterOrgStructure, self.cmbFilterOrgStructure) QuotingDialog.setTabOrder(self.cmbFilterOrgStructure, self.chkFilterContact) QuotingDialog.setTabOrder(self.chkFilterContact, self.edtFilterContact) QuotingDialog.setTabOrder(self.edtFilterContact, self.chkFilterIdentifier) QuotingDialog.setTabOrder(self.chkFilterIdentifier, self.edtFilterIdentifier) QuotingDialog.setTabOrder(self.edtFilterIdentifier, self.chkFilterTicketNumber) QuotingDialog.setTabOrder(self.chkFilterTicketNumber, self.edtFilterTicketNumber) QuotingDialog.setTabOrder(self.edtFilterTicketNumber, self.chkFilterRequest) QuotingDialog.setTabOrder(self.chkFilterRequest, self.cmbFilterRequest) QuotingDialog.setTabOrder(self.cmbFilterRequest, self.buttonBox) def retranslateUi(self, QuotingDialog): QuotingDialog.setWindowTitle( QtGui.QApplication.translate("QuotingDialog", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) self.btnEditQuota.setText( QtGui.QApplication.translate("QuotingDialog", "Редактировать квоту", None, QtGui.QApplication.UnicodeUTF8)) self.btnProlongateQuota.setText( QtGui.QApplication.translate("QuotingDialog", "Пролонгировать квоту", None, QtGui.QApplication.UnicodeUTF8)) self.btnNewQuota.setText( QtGui.QApplication.translate("QuotingDialog", "Добавить квоту", None, QtGui.QApplication.UnicodeUTF8)) self.btnClose.setText( QtGui.QApplication.translate("QuotingDialog", "Закрыть", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetLimitation.setTabText( self.tabWidgetLimitation.indexOf(self.tabRegion), QtGui.QApplication.translate("QuotingDialog", "Регион", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetLimitation.setTabText( self.tabWidgetLimitation.indexOf(self.tabInsurance), QtGui.QApplication.translate("QuotingDialog", "Страховка", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetLimitation.setTabText( self.tabWidgetLimitation.indexOf(self.tabFinanceSource), QtGui.QApplication.translate("QuotingDialog", "Источник финансирования", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetLimitation.setTabText( self.tabWidgetLimitation.indexOf(self.tabSocialStatus), QtGui.QApplication.translate("QuotingDialog", "Социальный статус", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetLimitation.setTabText( self.tabWidgetLimitation.indexOf(self.tabSexAndAge), QtGui.QApplication.translate("QuotingDialog", "Пол/Возраст", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetContent.setTabText( self.tabWidgetContent.indexOf(self.tabLimits), QtGui.QApplication.translate("QuotingDialog", "Лимиты", None, QtGui.QApplication.UnicodeUTF8)) self.btnPrint.setText( QtGui.QApplication.translate("QuotingDialog", "Печать", None, QtGui.QApplication.UnicodeUTF8)) self.lblPersonListCount.setText( QtGui.QApplication.translate("QuotingDialog", "Количество записей:", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterLastName.setText( QtGui.QApplication.translate("QuotingDialog", "Фамилия", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterFirstName.setText( QtGui.QApplication.translate("QuotingDialog", "Имя", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterPatrName.setText( QtGui.QApplication.translate("QuotingDialog", "Отчество", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterSex.setText( QtGui.QApplication.translate("QuotingDialog", "Пол", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterSex.setItemText( 1, QtGui.QApplication.translate("QuotingDialog", "М", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterSex.setItemText( 2, QtGui.QApplication.translate("QuotingDialog", "Ж", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterAge.setText( QtGui.QApplication.translate("QuotingDialog", "Возраст", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterAddress.setText( QtGui.QApplication.translate("QuotingDialog", "Адрес", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterAddressType.setItemText( 0, QtGui.QApplication.translate("QuotingDialog", "Регистрации", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterAddressType.setItemText( 1, QtGui.QApplication.translate("QuotingDialog", "Проживания", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterStatus.setText( QtGui.QApplication.translate("QuotingDialog", "Статус", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 0, QtGui.QApplication.translate("QuotingDialog", "Отменено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 1, QtGui.QApplication.translate("QuotingDialog", "Ожидание", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 2, QtGui.QApplication.translate("QuotingDialog", "Активный талон", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 3, QtGui.QApplication.translate("QuotingDialog", "Талон для заполнения", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 4, QtGui.QApplication.translate("QuotingDialog", "Заблокированный талон", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 5, QtGui.QApplication.translate("QuotingDialog", "Отказано", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 6, QtGui.QApplication.translate("QuotingDialog", "Необходимо согл-вать дату обсл.", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 7, QtGui.QApplication.translate("QuotingDialog", "Дата обслуживания на соглас.", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 8, QtGui.QApplication.translate("QuotingDialog", "Дата обслуживания согласована", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 9, QtGui.QApplication.translate("QuotingDialog", "Пролечен", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 10, QtGui.QApplication.translate("QuotingDialog", "Обслуживание отложено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 11, QtGui.QApplication.translate("QuotingDialog", "Отказ пациента", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterStatus.setItemText( 12, QtGui.QApplication.translate("QuotingDialog", "Импортировано из ВТМП", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterStage.setText( QtGui.QApplication.translate("QuotingDialog", "Этап", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterOrgStructure.setText( QtGui.QApplication.translate("QuotingDialog", "Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterContact.setText( QtGui.QApplication.translate("QuotingDialog", "Контакт", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterIdentifier.setText( QtGui.QApplication.translate("QuotingDialog", "Идентификатор", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterTicketNumber.setText( QtGui.QApplication.translate("QuotingDialog", "Номер талона", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterRequest.setText( QtGui.QApplication.translate("QuotingDialog", "Обращение", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterRequest.setItemText( 0, QtGui.QApplication.translate("QuotingDialog", "Первичное", None, QtGui.QApplication.UnicodeUTF8)) self.cmbFilterRequest.setItemText( 1, QtGui.QApplication.translate("QuotingDialog", "Вторичное", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterBirthDay.setText( QtGui.QApplication.translate("QuotingDialog", "Дата рождения", None, QtGui.QApplication.UnicodeUTF8)) self.chkFilterClientQuotaKladr.setText( QtGui.QApplication.translate("QuotingDialog", "Прикрепление по квоте", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidgetContent.setTabText( self.tabWidgetContent.indexOf(self.tabList), QtGui.QApplication.translate("QuotingDialog", "Список", None, QtGui.QApplication.UnicodeUTF8))
def __init__(self, parent): CTreeView.__init__(self, parent) self.expandedItemsState = {}
def setupUi(self, SocStatusSetupDialog): SocStatusSetupDialog.setObjectName(_fromUtf8("SocStatusSetupDialog")) SocStatusSetupDialog.resize(607, 403) self.gridLayout_2 = QtGui.QGridLayout(SocStatusSetupDialog) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.edtBegDate = CDateEdit(SocStatusSetupDialog) 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_2.addWidget(self.edtBegDate, 0, 3, 1, 2) spacerItem = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 0, 5, 1, 2) self.lblEndDate = QtGui.QLabel(SocStatusSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 1, 2, 1, 1) self.groupBox = QtGui.QGroupBox(SocStatusSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.btnStatusInPeriod = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusInPeriod.sizePolicy().hasHeightForWidth()) self.btnStatusInPeriod.setSizePolicy(sizePolicy) self.btnStatusInPeriod.setChecked(True) self.btnStatusInPeriod.setObjectName(_fromUtf8("btnStatusInPeriod")) self.verticalLayout.addWidget(self.btnStatusInPeriod) self.btnStatusStart = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusStart.sizePolicy().hasHeightForWidth()) self.btnStatusStart.setSizePolicy(sizePolicy) self.btnStatusStart.setObjectName(_fromUtf8("btnStatusStart")) self.verticalLayout.addWidget(self.btnStatusStart) self.btnStatusFinish = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusFinish.sizePolicy().hasHeightForWidth()) self.btnStatusFinish.setSizePolicy(sizePolicy) self.btnStatusFinish.setObjectName(_fromUtf8("btnStatusFinish")) self.verticalLayout.addWidget(self.btnStatusFinish) self.gridLayout_2.addWidget(self.groupBox, 2, 2, 1, 5) self.frmAge = QtGui.QFrame(SocStatusSetupDialog) 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.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self._2.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeTo.sizePolicy().hasHeightForWidth()) self.lblAgeTo.setSizePolicy(sizePolicy) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self._2.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self._2.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeYears.sizePolicy().hasHeightForWidth()) self.lblAgeYears.setSizePolicy(sizePolicy) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self._2.addWidget(self.lblAgeYears) self.gridLayout_2.addWidget(self.frmAge, 5, 3, 1, 3) self.grbOrgStructure = QtGui.QGroupBox(SocStatusSetupDialog) self.grbOrgStructure.setCheckable(True) self.grbOrgStructure.setChecked(False) self.grbOrgStructure.setObjectName(_fromUtf8("grbOrgStructure")) self.gridLayout = QtGui.QGridLayout(self.grbOrgStructure) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblOrgStructure = QtGui.QLabel(self.grbOrgStructure) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 0, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(self.grbOrgStructure) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 0, 1, 1, 1) self.lblAreaAddressType = QtGui.QLabel(self.grbOrgStructure) self.lblAreaAddressType.setObjectName(_fromUtf8("lblAreaAddressType")) self.gridLayout.addWidget(self.lblAreaAddressType, 1, 0, 1, 1) self.cmbAreaAddressType = QtGui.QComboBox(self.grbOrgStructure) self.cmbAreaAddressType.setObjectName(_fromUtf8("cmbAreaAddressType")) self.cmbAreaAddressType.addItem(_fromUtf8("")) self.cmbAreaAddressType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbAreaAddressType, 1, 1, 1, 1) self.gridLayout_2.addWidget(self.grbOrgStructure, 6, 2, 1, 5) self.treeItems = CTreeView(SocStatusSetupDialog) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout_2.addWidget(self.treeItems, 0, 0, 13, 1) self.lblBegDate = QtGui.QLabel(SocStatusSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 0, 2, 1, 1) spacerItem1 = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 1, 5, 1, 2) self.edtEndDate = CDateEdit(SocStatusSetupDialog) 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_2.addWidget(self.edtEndDate, 1, 3, 1, 2) self.chkOnlyPermanentAttach = QtGui.QCheckBox(SocStatusSetupDialog) self.chkOnlyPermanentAttach.setObjectName( _fromUtf8("chkOnlyPermanentAttach")) self.gridLayout_2.addWidget(self.chkOnlyPermanentAttach, 3, 2, 1, 5) self.cmbSex = QtGui.QComboBox(SocStatusSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbSex, 4, 3, 1, 1) self.lblSex = QtGui.QLabel(SocStatusSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout_2.addWidget(self.lblSex, 4, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(96, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 4, 4, 1, 3) self.lblAge = QtGui.QLabel(SocStatusSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout_2.addWidget(self.lblAge, 5, 2, 1, 1) spacerItem3 = QtGui.QSpacerItem(4, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem3, 5, 6, 1, 1) self.chkAddMKB = QtGui.QCheckBox(SocStatusSetupDialog) self.chkAddMKB.setObjectName(_fromUtf8("chkAddMKB")) self.gridLayout_2.addWidget(self.chkAddMKB, 8, 2, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(SocStatusSetupDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_2.addWidget(self.buttonBox, 13, 0, 1, 7) self.chkGroupBySocStatus = QtGui.QCheckBox(SocStatusSetupDialog) self.chkGroupBySocStatus.setObjectName( _fromUtf8("chkGroupBySocStatus")) self.gridLayout_2.addWidget(self.chkGroupBySocStatus, 10, 2, 1, 2) spacerItem4 = QtGui.QSpacerItem(20, 87, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem4, 12, 2, 1, 5) self.chkAddDeathDate = QtGui.QCheckBox(SocStatusSetupDialog) self.chkAddDeathDate.setObjectName(_fromUtf8("chkAddDeathDate")) self.gridLayout_2.addWidget(self.chkAddDeathDate, 9, 2, 1, 2) self.lstItems = CRBListBox(SocStatusSetupDialog) self.lstItems.setObjectName(_fromUtf8("lstItems")) self.gridLayout_2.addWidget(self.lstItems, 0, 1, 13, 1) self.chkOutcome = QtGui.QCheckBox(SocStatusSetupDialog) self.chkOutcome.setObjectName(_fromUtf8("chkOutcome")) self.gridLayout_2.addWidget(self.chkOutcome, 11, 2, 1, 1) self.lblEndDate.setBuddy(self.edtEndDate) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblBegDate.setBuddy(self.edtBegDate) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.retranslateUi(SocStatusSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SocStatusSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SocStatusSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(SocStatusSetupDialog) SocStatusSetupDialog.setTabOrder(self.treeItems, self.edtBegDate) SocStatusSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) SocStatusSetupDialog.setTabOrder(self.edtEndDate, self.btnStatusInPeriod) SocStatusSetupDialog.setTabOrder(self.btnStatusInPeriod, self.btnStatusStart) SocStatusSetupDialog.setTabOrder(self.btnStatusStart, self.btnStatusFinish) SocStatusSetupDialog.setTabOrder(self.btnStatusFinish, self.chkOnlyPermanentAttach) SocStatusSetupDialog.setTabOrder(self.chkOnlyPermanentAttach, self.cmbSex) SocStatusSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) SocStatusSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) SocStatusSetupDialog.setTabOrder(self.edtAgeTo, self.grbOrgStructure) SocStatusSetupDialog.setTabOrder(self.grbOrgStructure, self.cmbOrgStructure) SocStatusSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbAreaAddressType) SocStatusSetupDialog.setTabOrder(self.cmbAreaAddressType, self.chkAddMKB) SocStatusSetupDialog.setTabOrder(self.chkAddMKB, self.chkGroupBySocStatus) SocStatusSetupDialog.setTabOrder(self.chkGroupBySocStatus, self.buttonBox)
class Ui_ActionTypeListDialog(object): def setupUi(self, ActionTypeListDialog): ActionTypeListDialog.setObjectName(_fromUtf8("ActionTypeListDialog")) ActionTypeListDialog.resize(739, 340) ActionTypeListDialog.setSizeGripEnabled(True) self.verticalLayout_3 = QtGui.QVBoxLayout(ActionTypeListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.gridLayout_2 = QtGui.QGridLayout(self.pnlTree) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout_2.addWidget(self.treeItems, 0, 0, 1, 2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblService = QtGui.QLabel(self.pnlTree) self.lblService.setObjectName(_fromUtf8("lblService")) self.gridLayout.addWidget(self.lblService, 0, 0, 1, 1) self.cmbService = CRBComboBox(self.pnlTree) self.cmbService.setObjectName(_fromUtf8("cmbService")) self.gridLayout.addWidget(self.cmbService, 0, 1, 1, 1) self.lblQuotaType = QtGui.QLabel(self.pnlTree) self.lblQuotaType.setObjectName(_fromUtf8("lblQuotaType")) self.gridLayout.addWidget(self.lblQuotaType, 1, 0, 1, 1) self.cmbQuotaType = CRBComboBox(self.pnlTree) self.cmbQuotaType.setObjectName(_fromUtf8("cmbQuotaType")) self.gridLayout.addWidget(self.cmbQuotaType, 1, 1, 1, 1) self.lblTissueType = QtGui.QLabel(self.pnlTree) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueType.sizePolicy().hasHeightForWidth()) self.lblTissueType.setSizePolicy(sizePolicy) self.lblTissueType.setObjectName(_fromUtf8("lblTissueType")) self.gridLayout.addWidget(self.lblTissueType, 2, 0, 1, 1) self.cmbTissueType = CRBComboBox(self.pnlTree) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 2, 1, 1, 1) self.lblServiceType = QtGui.QLabel(self.pnlTree) self.lblServiceType.setObjectName(_fromUtf8("lblServiceType")) self.gridLayout.addWidget(self.lblServiceType, 3, 0, 1, 1) self.cmbServiceType = QtGui.QComboBox(self.pnlTree) self.cmbServiceType.setObjectName(_fromUtf8("cmbServiceType")) self.gridLayout.addWidget(self.cmbServiceType, 3, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 2) self.chkActiveActionType = QtGui.QCheckBox(self.pnlTree) self.chkActiveActionType.setObjectName( _fromUtf8("chkActiveActionType")) self.gridLayout_2.addWidget(self.chkActiveActionType, 2, 0, 1, 1) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.gridLayout_2.addWidget(self.lblPadding, 2, 1, 1, 1) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(ActionTypeListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(ActionTypeListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(ActionTypeListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(ActionTypeListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(ActionTypeListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.lblService.setBuddy(self.cmbService) self.lblQuotaType.setBuddy(self.cmbQuotaType) self.lblTissueType.setBuddy(self.cmbTissueType) self.retranslateUi(ActionTypeListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), ActionTypeListDialog.reject) QtCore.QMetaObject.connectSlotsByName(ActionTypeListDialog) ActionTypeListDialog.setTabOrder(self.treeItems, self.cmbService) ActionTypeListDialog.setTabOrder(self.cmbService, self.cmbQuotaType) ActionTypeListDialog.setTabOrder(self.cmbQuotaType, self.cmbTissueType) ActionTypeListDialog.setTabOrder(self.cmbTissueType, self.tblItems) ActionTypeListDialog.setTabOrder(self.tblItems, self.btnFind) ActionTypeListDialog.setTabOrder(self.btnFind, self.btnSelect) ActionTypeListDialog.setTabOrder(self.btnSelect, self.btnFilter) ActionTypeListDialog.setTabOrder(self.btnFilter, self.btnEdit) ActionTypeListDialog.setTabOrder(self.btnEdit, self.btnNew) ActionTypeListDialog.setTabOrder(self.btnNew, self.btnCancel) def retranslateUi(self, ActionTypeListDialog): ActionTypeListDialog.setWindowTitle( _translate("ActionTypeListDialog", "Dialog", None)) self.lblService.setText( _translate("ActionTypeListDialog", "Профиль оплаты", None)) self.lblQuotaType.setText( _translate("ActionTypeListDialog", "Вид квоты", None)) self.lblTissueType.setText( _translate("ActionTypeListDialog", "Тип биоматериала", None)) self.lblServiceType.setText( _translate("ActionTypeListDialog", "Вид услуги", None)) self.chkActiveActionType.setText( _translate("ActionTypeListDialog", "Отображать только действующие", None)) self.tblItems.setWhatsThis( _translate("ActionTypeListDialog", "список записей", "ура!")) self.btnFind.setText(_translate("ActionTypeListDialog", "Поиск", None)) self.btnSelect.setWhatsThis( _translate("ActionTypeListDialog", "выбрать текущую запись", None)) self.btnSelect.setText( _translate("ActionTypeListDialog", "Выбор", None)) self.btnFilter.setWhatsThis( _translate("ActionTypeListDialog", "изменить условие отбора записей для показа в списке", None)) self.btnFilter.setText( _translate("ActionTypeListDialog", "Фильтр", None)) self.btnEdit.setWhatsThis( _translate("ActionTypeListDialog", "изменить текущую запись", None)) self.btnEdit.setText( _translate("ActionTypeListDialog", "Правка F4", None)) self.btnEdit.setShortcut(_translate("ActionTypeListDialog", "F4", None)) self.btnNew.setWhatsThis( _translate("ActionTypeListDialog", "добавить новую запись", None)) self.btnNew.setText( _translate("ActionTypeListDialog", "Вставка F9", None)) self.btnNew.setShortcut(_translate("ActionTypeListDialog", "F9", None)) self.btnCancel.setWhatsThis( _translate("ActionTypeListDialog", "выйти из списка без выбора", None)) self.btnCancel.setText( _translate("ActionTypeListDialog", "Закрыть", None)) self.statusBar.setToolTip( _translate("ActionTypeListDialog", "A status bar", None)) self.statusBar.setWhatsThis( _translate("ActionTypeListDialog", "A status bar.", None))
def setupUi(self, BlanksDialog): BlanksDialog.setObjectName(_fromUtf8("BlanksDialog")) BlanksDialog.resize(611, 503) self.gridLayout_3 = QtGui.QGridLayout(BlanksDialog) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.tabWidget = QtGui.QTabWidget(BlanksDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabTypeTempInvalid = QtGui.QWidget() self.tabTypeTempInvalid.setObjectName(_fromUtf8("tabTypeTempInvalid")) self.gridLayout_4 = QtGui.QGridLayout(self.tabTypeTempInvalid) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.splitter_3 = QtGui.QSplitter(self.tabTypeTempInvalid) self.splitter_3.setOrientation(QtCore.Qt.Horizontal) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.splitter_2 = QtGui.QSplitter(self.splitter_3) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.treeBlankTypeTempInvalid = CTreeView(self.splitter_2) self.treeBlankTypeTempInvalid.setObjectName( _fromUtf8("treeBlankTypeTempInvalid")) self.grbTempInvalidFilter = QtGui.QGroupBox(self.splitter_2) self.grbTempInvalidFilter.setObjectName( _fromUtf8("grbTempInvalidFilter")) self.gridLayout = QtGui.QGridLayout(self.grbTempInvalidFilter) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.grbParty = QtGui.QGroupBox(self.grbTempInvalidFilter) self.grbParty.setObjectName(_fromUtf8("grbParty")) self.gridLayout_10 = QtGui.QGridLayout(self.grbParty) self.gridLayout_10.setMargin(4) self.gridLayout_10.setSpacing(4) self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.lblPersonParty = QtGui.QLabel(self.grbParty) self.lblPersonParty.setObjectName(_fromUtf8("lblPersonParty")) self.gridLayout_10.addWidget(self.lblPersonParty, 0, 0, 1, 1) self.lblDateParty = QtGui.QLabel(self.grbParty) self.lblDateParty.setObjectName(_fromUtf8("lblDateParty")) self.gridLayout_10.addWidget(self.lblDateParty, 1, 0, 1, 1) self.lblSerialParty = QtGui.QLabel(self.grbParty) self.lblSerialParty.setObjectName(_fromUtf8("lblSerialParty")) self.gridLayout_10.addWidget(self.lblSerialParty, 2, 0, 1, 1) self.lblNumber = QtGui.QLabel(self.grbParty) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout_10.addWidget(self.lblNumber, 3, 0, 1, 1) spacerItem = QtGui.QSpacerItem(118, 13, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem, 1, 5, 1, 1) self.edtSerialParty = QtGui.QLineEdit(self.grbParty) self.edtSerialParty.setObjectName(_fromUtf8("edtSerialParty")) self.gridLayout_10.addWidget(self.edtSerialParty, 2, 1, 1, 9) self.cmbPersonParty = CPersonComboBoxEx(self.grbParty) self.cmbPersonParty.setObjectName(_fromUtf8("cmbPersonParty")) self.gridLayout_10.addWidget(self.cmbPersonParty, 0, 1, 1, 9) self.labelActions_3 = QtGui.QLabel(self.grbParty) self.labelActions_3.setObjectName(_fromUtf8("labelActions_3")) self.gridLayout_10.addWidget(self.labelActions_3, 3, 1, 1, 1) self.label_5 = QtGui.QLabel(self.grbParty) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout_10.addWidget(self.label_5, 1, 1, 1, 1) self.edtBegDateParty = CDateEdit(self.grbParty) self.edtBegDateParty.setCalendarPopup(True) self.edtBegDateParty.setObjectName(_fromUtf8("edtBegDateParty")) self.gridLayout_10.addWidget(self.edtBegDateParty, 1, 2, 1, 1) self.label = QtGui.QLabel(self.grbParty) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_10.addWidget(self.label, 1, 3, 1, 1) self.edtNumberFrom = QtGui.QSpinBox(self.grbParty) self.edtNumberFrom.setMaximum(99999999) self.edtNumberFrom.setObjectName(_fromUtf8("edtNumberFrom")) self.gridLayout_10.addWidget(self.edtNumberFrom, 3, 2, 1, 1) self.edtNumberTo = QtGui.QSpinBox(self.grbParty) self.edtNumberTo.setMaximum(99999999) self.edtNumberTo.setObjectName(_fromUtf8("edtNumberTo")) self.gridLayout_10.addWidget(self.edtNumberTo, 3, 4, 1, 1) self.edtEndDateParty = CDateEdit(self.grbParty) self.edtEndDateParty.setObjectName(_fromUtf8("edtEndDateParty")) self.gridLayout_10.addWidget(self.edtEndDateParty, 1, 4, 1, 1) self.labelActions_2 = QtGui.QLabel(self.grbParty) self.labelActions_2.setObjectName(_fromUtf8("labelActions_2")) self.gridLayout_10.addWidget(self.labelActions_2, 3, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(89, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_10.addItem(spacerItem1, 3, 5, 1, 4) self.gridLayout.addWidget(self.grbParty, 0, 0, 1, 1) self.grbSubParty = QtGui.QGroupBox(self.grbTempInvalidFilter) self.grbSubParty.setObjectName(_fromUtf8("grbSubParty")) self.gridLayout_6 = QtGui.QGridLayout(self.grbSubParty) self.gridLayout_6.setMargin(4) self.gridLayout_6.setSpacing(4) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.lblOrgStructureSubParty = QtGui.QLabel(self.grbSubParty) self.lblOrgStructureSubParty.setObjectName( _fromUtf8("lblOrgStructureSubParty")) self.gridLayout_6.addWidget(self.lblOrgStructureSubParty, 0, 0, 1, 1) self.lblPersonSubParty = QtGui.QLabel(self.grbSubParty) self.lblPersonSubParty.setObjectName(_fromUtf8("lblPersonSubParty")) self.gridLayout_6.addWidget(self.lblPersonSubParty, 1, 0, 1, 1) self.lblDateSubParty = QtGui.QLabel(self.grbSubParty) self.lblDateSubParty.setObjectName(_fromUtf8("lblDateSubParty")) self.gridLayout_6.addWidget(self.lblDateSubParty, 2, 0, 1, 1) self.edtBegDateSubParty = CDateEdit(self.grbSubParty) self.edtBegDateSubParty.setCalendarPopup(True) self.edtBegDateSubParty.setObjectName(_fromUtf8("edtBegDateSubParty")) self.gridLayout_6.addWidget(self.edtBegDateSubParty, 2, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_6.addItem(spacerItem2, 2, 5, 1, 1) self.label_2 = QtGui.QLabel(self.grbSubParty) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_6.addWidget(self.label_2, 2, 3, 1, 1) self.edtEndDateSubParty = CDateEdit(self.grbSubParty) self.edtEndDateSubParty.setObjectName(_fromUtf8("edtEndDateSubParty")) self.gridLayout_6.addWidget(self.edtEndDateSubParty, 2, 4, 1, 1) self.label_6 = QtGui.QLabel(self.grbSubParty) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout_6.addWidget(self.label_6, 2, 1, 1, 1) self.cmbPersonSubParty = CPersonComboBoxEx(self.grbSubParty) self.cmbPersonSubParty.setObjectName(_fromUtf8("cmbPersonSubParty")) self.gridLayout_6.addWidget(self.cmbPersonSubParty, 1, 1, 1, 5) self.cmbOrgStructureSubParty = COrgStructureComboBox(self.grbSubParty) self.cmbOrgStructureSubParty.setObjectName( _fromUtf8("cmbOrgStructureSubParty")) self.gridLayout_6.addWidget(self.cmbOrgStructureSubParty, 0, 1, 1, 5) self.gridLayout.addWidget(self.grbSubParty, 1, 0, 1, 1) self.buttonBoxFilter = QtGui.QDialogButtonBox( self.grbTempInvalidFilter) self.buttonBoxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBoxFilter.setObjectName(_fromUtf8("buttonBoxFilter")) self.gridLayout.addWidget(self.buttonBoxFilter, 3, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem3, 2, 0, 1, 1) self.splitter = QtGui.QSplitter(self.splitter_3) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblBlankTempInvalidParty = CInDocTableView(self.splitter) self.tblBlankTempInvalidParty.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tblBlankTempInvalidParty.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.tblBlankTempInvalidParty.setObjectName( _fromUtf8("tblBlankTempInvalidParty")) self.tblBlankTempInvalidMoving = CInDocTableView(self.splitter) self.tblBlankTempInvalidMoving.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tblBlankTempInvalidMoving.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.tblBlankTempInvalidMoving.setObjectName( _fromUtf8("tblBlankTempInvalidMoving")) self.gridLayout_4.addWidget(self.splitter_3, 0, 0, 1, 1) self.tabWidget.addTab(self.tabTypeTempInvalid, _fromUtf8("")) self.tabTypeActions = QtGui.QWidget() self.tabTypeActions.setObjectName(_fromUtf8("tabTypeActions")) self.gridLayout_2 = QtGui.QGridLayout(self.tabTypeActions) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.splitter_6 = QtGui.QSplitter(self.tabTypeActions) self.splitter_6.setOrientation(QtCore.Qt.Horizontal) self.splitter_6.setObjectName(_fromUtf8("splitter_6")) self.splitter_5 = QtGui.QSplitter(self.splitter_6) self.splitter_5.setOrientation(QtCore.Qt.Vertical) self.splitter_5.setObjectName(_fromUtf8("splitter_5")) self.treeBlankTypeActions = CTreeView(self.splitter_5) self.treeBlankTypeActions.setObjectName( _fromUtf8("treeBlankTypeActions")) self.grbActionsFilter = QtGui.QGroupBox(self.splitter_5) self.grbActionsFilter.setObjectName(_fromUtf8("grbActionsFilter")) self.gridLayout_8 = QtGui.QGridLayout(self.grbActionsFilter) self.gridLayout_8.setMargin(4) self.gridLayout_8.setSpacing(4) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.grbPartyActions = QtGui.QGroupBox(self.grbActionsFilter) self.grbPartyActions.setObjectName(_fromUtf8("grbPartyActions")) self.gridLayout_7 = QtGui.QGridLayout(self.grbPartyActions) self.gridLayout_7.setMargin(4) self.gridLayout_7.setSpacing(4) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.lblSerialPartyActions = QtGui.QLabel(self.grbPartyActions) self.lblSerialPartyActions.setObjectName( _fromUtf8("lblSerialPartyActions")) self.gridLayout_7.addWidget(self.lblSerialPartyActions, 2, 0, 1, 1) self.lblPersonPartyActions = QtGui.QLabel(self.grbPartyActions) self.lblPersonPartyActions.setObjectName( _fromUtf8("lblPersonPartyActions")) self.gridLayout_7.addWidget(self.lblPersonPartyActions, 0, 0, 1, 1) self.lblDatePartyActions = QtGui.QLabel(self.grbPartyActions) self.lblDatePartyActions.setObjectName( _fromUtf8("lblDatePartyActions")) self.gridLayout_7.addWidget(self.lblDatePartyActions, 1, 0, 1, 1) self.lblNumberActions = QtGui.QLabel(self.grbPartyActions) self.lblNumberActions.setObjectName(_fromUtf8("lblNumberActions")) self.gridLayout_7.addWidget(self.lblNumberActions, 3, 0, 1, 1) self.edtNumberFromActions = QtGui.QSpinBox(self.grbPartyActions) self.edtNumberFromActions.setMaximum(99999999) self.edtNumberFromActions.setObjectName( _fromUtf8("edtNumberFromActions")) self.gridLayout_7.addWidget(self.edtNumberFromActions, 3, 2, 1, 1) self.labelActions = QtGui.QLabel(self.grbPartyActions) self.labelActions.setObjectName(_fromUtf8("labelActions")) self.gridLayout_7.addWidget(self.labelActions, 3, 3, 1, 1) self.label_3 = QtGui.QLabel(self.grbPartyActions) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_7.addWidget(self.label_3, 1, 1, 1, 1) self.edtBegDatePartyActions = CDateEdit(self.grbPartyActions) self.edtBegDatePartyActions.setCalendarPopup(True) self.edtBegDatePartyActions.setObjectName( _fromUtf8("edtBegDatePartyActions")) self.gridLayout_7.addWidget(self.edtBegDatePartyActions, 1, 2, 1, 1) self.labelActions_4 = QtGui.QLabel(self.grbPartyActions) self.labelActions_4.setObjectName(_fromUtf8("labelActions_4")) self.gridLayout_7.addWidget(self.labelActions_4, 1, 3, 1, 1) self.label_7 = QtGui.QLabel(self.grbPartyActions) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout_7.addWidget(self.label_7, 3, 1, 1, 1) self.edtNumberToActions = QtGui.QSpinBox(self.grbPartyActions) self.edtNumberToActions.setMaximum(99999999) self.edtNumberToActions.setObjectName(_fromUtf8("edtNumberToActions")) self.gridLayout_7.addWidget(self.edtNumberToActions, 3, 4, 1, 2) spacerItem4 = QtGui.QSpacerItem(118, 13, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem4, 1, 6, 1, 2) self.edtSerialPartyActions = QtGui.QLineEdit(self.grbPartyActions) self.edtSerialPartyActions.setObjectName( _fromUtf8("edtSerialPartyActions")) self.gridLayout_7.addWidget(self.edtSerialPartyActions, 2, 1, 1, 7) self.cmbPersonPartyActions = CPersonComboBoxEx(self.grbPartyActions) self.cmbPersonPartyActions.setObjectName( _fromUtf8("cmbPersonPartyActions")) self.gridLayout_7.addWidget(self.cmbPersonPartyActions, 0, 1, 1, 7) spacerItem5 = QtGui.QSpacerItem(89, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_7.addItem(spacerItem5, 3, 6, 1, 1) self.edtEndDatePartyActions = CDateEdit(self.grbPartyActions) self.edtEndDatePartyActions.setObjectName( _fromUtf8("edtEndDatePartyActions")) self.gridLayout_7.addWidget(self.edtEndDatePartyActions, 1, 4, 1, 2) self.gridLayout_8.addWidget(self.grbPartyActions, 0, 0, 1, 1) self.grbSubPartyActions = QtGui.QGroupBox(self.grbActionsFilter) self.grbSubPartyActions.setObjectName(_fromUtf8("grbSubPartyActions")) self.gridLayout_5 = QtGui.QGridLayout(self.grbSubPartyActions) self.gridLayout_5.setMargin(4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.lblOrgStructureSubPartyActions = QtGui.QLabel( self.grbSubPartyActions) self.lblOrgStructureSubPartyActions.setObjectName( _fromUtf8("lblOrgStructureSubPartyActions")) self.gridLayout_5.addWidget(self.lblOrgStructureSubPartyActions, 0, 0, 1, 1) self.lblPersonSubPartyActions = QtGui.QLabel(self.grbSubPartyActions) self.lblPersonSubPartyActions.setObjectName( _fromUtf8("lblPersonSubPartyActions")) self.gridLayout_5.addWidget(self.lblPersonSubPartyActions, 1, 0, 1, 1) self.lblDateSubPartyActions = QtGui.QLabel(self.grbSubPartyActions) self.lblDateSubPartyActions.setObjectName( _fromUtf8("lblDateSubPartyActions")) self.gridLayout_5.addWidget(self.lblDateSubPartyActions, 2, 0, 1, 1) self.edtBegDateSubPartyActions = CDateEdit(self.grbSubPartyActions) self.edtBegDateSubPartyActions.setCalendarPopup(True) self.edtBegDateSubPartyActions.setObjectName( _fromUtf8("edtBegDateSubPartyActions")) self.gridLayout_5.addWidget(self.edtBegDateSubPartyActions, 2, 2, 1, 1) spacerItem6 = QtGui.QSpacerItem(108, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem6, 2, 5, 1, 1) self.label_4 = QtGui.QLabel(self.grbSubPartyActions) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout_5.addWidget(self.label_4, 2, 3, 1, 1) self.edtEndDateSubPartyActions = CDateEdit(self.grbSubPartyActions) self.edtEndDateSubPartyActions.setObjectName( _fromUtf8("edtEndDateSubPartyActions")) self.gridLayout_5.addWidget(self.edtEndDateSubPartyActions, 2, 4, 1, 1) self.label_8 = QtGui.QLabel(self.grbSubPartyActions) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_5.addWidget(self.label_8, 2, 1, 1, 1) self.cmbOrgStructureSubPartyActions = COrgStructureComboBox( self.grbSubPartyActions) self.cmbOrgStructureSubPartyActions.setObjectName( _fromUtf8("cmbOrgStructureSubPartyActions")) self.gridLayout_5.addWidget(self.cmbOrgStructureSubPartyActions, 0, 1, 1, 5) self.cmbPersonSubPartyActions = CPersonComboBoxEx( self.grbSubPartyActions) self.cmbPersonSubPartyActions.setObjectName( _fromUtf8("cmbPersonSubPartyActions")) self.gridLayout_5.addWidget(self.cmbPersonSubPartyActions, 1, 1, 1, 5) self.gridLayout_8.addWidget(self.grbSubPartyActions, 1, 0, 1, 1) self.buttonBoxFilterActions = QtGui.QDialogButtonBox( self.grbActionsFilter) self.buttonBoxFilterActions.setStandardButtons( QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBoxFilterActions.setObjectName( _fromUtf8("buttonBoxFilterActions")) self.gridLayout_8.addWidget(self.buttonBoxFilterActions, 3, 0, 1, 1) spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_8.addItem(spacerItem7, 2, 0, 1, 1) self.splitter_4 = QtGui.QSplitter(self.splitter_6) self.splitter_4.setOrientation(QtCore.Qt.Vertical) self.splitter_4.setObjectName(_fromUtf8("splitter_4")) self.tblBlankActionsParty = CInDocTableView(self.splitter_4) self.tblBlankActionsParty.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tblBlankActionsParty.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.tblBlankActionsParty.setObjectName( _fromUtf8("tblBlankActionsParty")) self.tblBlankActionsMoving = CInDocTableView(self.splitter_4) self.tblBlankActionsMoving.setSelectionMode( QtGui.QAbstractItemView.SingleSelection) self.tblBlankActionsMoving.setSelectionBehavior( QtGui.QAbstractItemView.SelectRows) self.tblBlankActionsMoving.setObjectName( _fromUtf8("tblBlankActionsMoving")) self.gridLayout_2.addWidget(self.splitter_6, 0, 0, 1, 1) self.tabWidget.addTab(self.tabTypeActions, _fromUtf8("")) self.gridLayout_3.addWidget(self.tabWidget, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(BlanksDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_3.addWidget(self.buttonBox, 1, 0, 1, 1) self.retranslateUi(BlanksDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), BlanksDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), BlanksDialog.reject) QtCore.QMetaObject.connectSlotsByName(BlanksDialog)
def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(452, 790) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.splitterMain = QtGui.QSplitter(Form) self.splitterMain.setOrientation(QtCore.Qt.Vertical) self.splitterMain.setChildrenCollapsible(False) self.splitterMain.setObjectName(_fromUtf8("splitterMain")) self.splitterOrgs = QtGui.QSplitter(self.splitterMain) self.splitterOrgs.setOrientation(QtCore.Qt.Horizontal) self.splitterOrgs.setHandleWidth(2) self.splitterOrgs.setChildrenCollapsible(False) self.splitterOrgs.setObjectName(_fromUtf8("splitterOrgs")) self.treeOrgStructure = CTreeView(self.splitterOrgs) self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure")) self.treeOrgPersonnel = CTreeView(self.splitterOrgs) self.treeOrgPersonnel.setObjectName(_fromUtf8("treeOrgPersonnel")) self.calendarWidget = CCalendarWidget(self.splitterMain) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.calendarWidget.sizePolicy().hasHeightForWidth()) self.calendarWidget.setSizePolicy(sizePolicy) self.calendarWidget.setFirstDayOfWeek(QtCore.Qt.Monday) self.calendarWidget.setObjectName(_fromUtf8("calendarWidget")) self.tabPlace = QtGui.QTabWidget(self.splitterMain) self.tabPlace.setTabShape(QtGui.QTabWidget.Rounded) self.tabPlace.setObjectName(_fromUtf8("tabPlace")) self.tabAmbulatory = QtGui.QWidget() self.tabAmbulatory.setObjectName(_fromUtf8("tabAmbulatory")) self.gridlayout = QtGui.QGridLayout(self.tabAmbulatory) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(0) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.splitterAmb = QtGui.QSplitter(self.tabAmbulatory) self.splitterAmb.setOrientation(QtCore.Qt.Vertical) self.splitterAmb.setObjectName(_fromUtf8("splitterAmb")) self.frmAmbTimeTable = QtGui.QFrame(self.splitterAmb) self.frmAmbTimeTable.setFrameShape(QtGui.QFrame.NoFrame) self.frmAmbTimeTable.setFrameShadow(QtGui.QFrame.Plain) self.frmAmbTimeTable.setObjectName(_fromUtf8("frmAmbTimeTable")) self.gridLayout_2 = QtGui.QGridLayout(self.frmAmbTimeTable) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.eqPanelWidget = CEQPanelWidget(self.frmAmbTimeTable) self.eqPanelWidget.setObjectName(_fromUtf8("eqPanelWidget")) self.gridLayout = QtGui.QGridLayout(self.eqPanelWidget) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.gridLayout_2.addWidget(self.eqPanelWidget, 1, 0, 1, 1) self.btnRefreshAmb = QtGui.QToolButton(self.frmAmbTimeTable) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) font.setStrikeOut(True) self.btnRefreshAmb.setFont(font) self.btnRefreshAmb.setText(_fromUtf8("")) icon = QtGui.QIcon() icon.addPixmap( QtGui.QPixmap(_fromUtf8(":/new/prefix1/icons/refresh.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.btnRefreshAmb.setIcon(icon) self.btnRefreshAmb.setObjectName(_fromUtf8("btnRefreshAmb")) self.gridLayout_2.addWidget(self.btnRefreshAmb, 1, 1, 1, 1) self.tblAmbTimeTable = CTableView(self.frmAmbTimeTable) self.tblAmbTimeTable.setObjectName(_fromUtf8("tblAmbTimeTable")) self.gridLayout_2.addWidget(self.tblAmbTimeTable, 0, 0, 1, 2) self.frmAmbQueue = QtGui.QFrame(self.splitterAmb) self.frmAmbQueue.setFrameShape(QtGui.QFrame.NoFrame) self.frmAmbQueue.setFrameShadow(QtGui.QFrame.Raised) self.frmAmbQueue.setObjectName(_fromUtf8("frmAmbQueue")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.frmAmbQueue) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblAmbQueue = CTableView(self.frmAmbQueue) self.tblAmbQueue.setObjectName(_fromUtf8("tblAmbQueue")) self.verticalLayout_2.addWidget(self.tblAmbQueue) self.gridlayout.addWidget(self.splitterAmb, 1, 0, 1, 1) self.tabPlace.addTab(self.tabAmbulatory, _fromUtf8("")) self.tabHome = QtGui.QWidget() self.tabHome.setObjectName(_fromUtf8("tabHome")) self.gridlayout1 = QtGui.QGridLayout(self.tabHome) self.gridlayout1.setMargin(4) self.gridlayout1.setSpacing(0) self.gridlayout1.setObjectName(_fromUtf8("gridlayout1")) self.splitterHome = QtGui.QSplitter(self.tabHome) self.splitterHome.setOrientation(QtCore.Qt.Vertical) self.splitterHome.setObjectName(_fromUtf8("splitterHome")) self.frmHomeTimeTable = QtGui.QFrame(self.splitterHome) self.frmHomeTimeTable.setFrameShape(QtGui.QFrame.NoFrame) self.frmHomeTimeTable.setFrameShadow(QtGui.QFrame.Plain) self.frmHomeTimeTable.setObjectName(_fromUtf8("frmHomeTimeTable")) self.gridLayout_3 = QtGui.QGridLayout(self.frmHomeTimeTable) self.gridLayout_3.setMargin(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.btnRefreshHome = QtGui.QToolButton(self.frmHomeTimeTable) font = QtGui.QFont() font.setPointSize(8) font.setBold(False) font.setWeight(50) font.setStrikeOut(True) self.btnRefreshHome.setFont(font) self.btnRefreshHome.setText(_fromUtf8("")) self.btnRefreshHome.setIcon(icon) self.btnRefreshHome.setObjectName(_fromUtf8("btnRefreshHome")) self.gridLayout_3.addWidget(self.btnRefreshHome, 1, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem, 1, 0, 1, 1) self.tblHomeTimeTable = CTableView(self.frmHomeTimeTable) self.tblHomeTimeTable.setObjectName(_fromUtf8("tblHomeTimeTable")) self.gridLayout_3.addWidget(self.tblHomeTimeTable, 0, 0, 1, 2) self.frmHomeQueue = QtGui.QFrame(self.splitterHome) self.frmHomeQueue.setFrameShape(QtGui.QFrame.NoFrame) self.frmHomeQueue.setFrameShadow(QtGui.QFrame.Raised) self.frmHomeQueue.setObjectName(_fromUtf8("frmHomeQueue")) self.vboxlayout = QtGui.QVBoxLayout(self.frmHomeQueue) self.vboxlayout.setMargin(0) self.vboxlayout.setSpacing(0) self.vboxlayout.setObjectName(_fromUtf8("vboxlayout")) self.tblHomeQueue = CTableView(self.frmHomeQueue) self.tblHomeQueue.setObjectName(_fromUtf8("tblHomeQueue")) self.vboxlayout.addWidget(self.tblHomeQueue) self.gridlayout1.addWidget(self.splitterHome, 0, 0, 1, 1) self.tabPlace.addTab(self.tabHome, _fromUtf8("")) self.tabExpert = QtGui.QWidget() self.tabExpert.setObjectName(_fromUtf8("tabExpert")) self.tabPlace.addTab(self.tabExpert, _fromUtf8("")) self.hboxlayout.addWidget(self.splitterMain) self.retranslateUi(Form) self.tabPlace.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Form) Form.setTabOrder(self.treeOrgStructure, self.treeOrgPersonnel) Form.setTabOrder(self.treeOrgPersonnel, self.calendarWidget) Form.setTabOrder(self.calendarWidget, self.tabPlace) Form.setTabOrder(self.tabPlace, self.tblAmbTimeTable) Form.setTabOrder(self.tblAmbTimeTable, self.tblAmbQueue) Form.setTabOrder(self.tblAmbQueue, self.tblHomeTimeTable) Form.setTabOrder(self.tblHomeTimeTable, self.tblHomeQueue)
class Ui_ExportRbThesaurus_Wizard_1(object): def setupUi(self, ExportRbThesaurus_Wizard_1): ExportRbThesaurus_Wizard_1.setObjectName( _fromUtf8("ExportRbThesaurus_Wizard_1")) ExportRbThesaurus_Wizard_1.setWindowModality(QtCore.Qt.NonModal) ExportRbThesaurus_Wizard_1.resize(593, 450) self.gridlayout = QtGui.QGridLayout(ExportRbThesaurus_Wizard_1) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.splitterTree = QtGui.QSplitter(ExportRbThesaurus_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitterTree.sizePolicy().hasHeightForWidth()) self.splitterTree.setSizePolicy(sizePolicy) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.treeItems = CTreeView(self.splitterTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.tblItems = CTableView(self.splitterTree) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridlayout.addWidget(self.splitterTree, 2, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(6) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnSelectAll = QtGui.QPushButton(ExportRbThesaurus_Wizard_1) self.btnSelectAll.setObjectName(_fromUtf8("btnSelectAll")) self.hboxlayout.addWidget(self.btnSelectAll) self.btnClearSelection = QtGui.QPushButton(ExportRbThesaurus_Wizard_1) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout.addWidget(self.btnClearSelection) self.gridlayout.addLayout(self.hboxlayout, 3, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ExportRbThesaurus_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 4, 0, 1, 1) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1")) self.checkExportAll = QtGui.QCheckBox(ExportRbThesaurus_Wizard_1) self.checkExportAll.setObjectName(_fromUtf8("checkExportAll")) self.hboxlayout1.addWidget(self.checkExportAll) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem1) self.chkRecursiveSelection = QtGui.QCheckBox( ExportRbThesaurus_Wizard_1) self.chkRecursiveSelection.setObjectName( _fromUtf8("chkRecursiveSelection")) self.hboxlayout1.addWidget(self.chkRecursiveSelection) self.gridlayout.addLayout(self.hboxlayout1, 0, 0, 1, 1) self.retranslateUi(ExportRbThesaurus_Wizard_1) QtCore.QMetaObject.connectSlotsByName(ExportRbThesaurus_Wizard_1) ExportRbThesaurus_Wizard_1.setTabOrder(self.treeItems, self.tblItems) def retranslateUi(self, ExportRbThesaurus_Wizard_1): ExportRbThesaurus_Wizard_1.setWindowTitle( _translate("ExportRbThesaurus_Wizard_1", "Список записей", None)) self.tblItems.setWhatsThis( _translate("ExportRbThesaurus_Wizard_1", "список записей", "ура!")) self.btnSelectAll.setText( _translate("ExportRbThesaurus_Wizard_1", "Выбрать все", None)) self.btnClearSelection.setText( _translate("ExportRbThesaurus_Wizard_1", "Очистить", None)) self.statusBar.setToolTip( _translate("ExportRbThesaurus_Wizard_1", "A status bar", None)) self.statusBar.setWhatsThis( _translate("ExportRbThesaurus_Wizard_1", "A status bar.", None)) self.checkExportAll.setText( _translate("ExportRbThesaurus_Wizard_1", "Выгружать всё", None)) self.chkRecursiveSelection.setText( _translate("ExportRbThesaurus_Wizard_1", "Выделять все дочерние элементы", None))
def setupUi(self, HierarchicalItemsListDialog): HierarchicalItemsListDialog.setObjectName( _fromUtf8("HierarchicalItemsListDialog")) HierarchicalItemsListDialog.setWindowModality( QtCore.Qt.ApplicationModal) HierarchicalItemsListDialog.resize(603, 476) HierarchicalItemsListDialog.setSizeGripEnabled(True) HierarchicalItemsListDialog.setModal(True) self.verticalLayout_3 = QtGui.QVBoxLayout(HierarchicalItemsListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.verticalLayout = QtGui.QVBoxLayout(self.pnlTree) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.verticalLayout.addWidget(self.treeItems) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.verticalLayout.addWidget(self.lblPadding) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.retranslateUi(HierarchicalItemsListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), HierarchicalItemsListDialog.reject) QtCore.QMetaObject.connectSlotsByName(HierarchicalItemsListDialog) HierarchicalItemsListDialog.setTabOrder(self.treeItems, self.tblItems) HierarchicalItemsListDialog.setTabOrder(self.tblItems, self.btnSelect) HierarchicalItemsListDialog.setTabOrder(self.btnSelect, self.btnFilter) HierarchicalItemsListDialog.setTabOrder(self.btnFilter, self.btnEdit) HierarchicalItemsListDialog.setTabOrder(self.btnEdit, self.btnNew) HierarchicalItemsListDialog.setTabOrder(self.btnNew, self.btnCancel)
class Ui_HierarchicalItemsListDialog(object): def setupUi(self, HierarchicalItemsListDialog): HierarchicalItemsListDialog.setObjectName( _fromUtf8("HierarchicalItemsListDialog")) HierarchicalItemsListDialog.setWindowModality( QtCore.Qt.ApplicationModal) HierarchicalItemsListDialog.resize(603, 476) HierarchicalItemsListDialog.setSizeGripEnabled(True) HierarchicalItemsListDialog.setModal(True) self.verticalLayout_3 = QtGui.QVBoxLayout(HierarchicalItemsListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.verticalLayout = QtGui.QVBoxLayout(self.pnlTree) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.verticalLayout.addWidget(self.treeItems) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.verticalLayout.addWidget(self.lblPadding) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.retranslateUi(HierarchicalItemsListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), HierarchicalItemsListDialog.reject) QtCore.QMetaObject.connectSlotsByName(HierarchicalItemsListDialog) HierarchicalItemsListDialog.setTabOrder(self.treeItems, self.tblItems) HierarchicalItemsListDialog.setTabOrder(self.tblItems, self.btnSelect) HierarchicalItemsListDialog.setTabOrder(self.btnSelect, self.btnFilter) HierarchicalItemsListDialog.setTabOrder(self.btnFilter, self.btnEdit) HierarchicalItemsListDialog.setTabOrder(self.btnEdit, self.btnNew) HierarchicalItemsListDialog.setTabOrder(self.btnNew, self.btnCancel) def retranslateUi(self, HierarchicalItemsListDialog): HierarchicalItemsListDialog.setWindowTitle( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.btnFind.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Поиск", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "выбрать текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Выбор", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setWhatsThis( QtGui.QApplication.translate( "HierarchicalItemsListDialog", "изменить условие отбора записей для показа в списке", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "изменить текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Правка F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setShortcut( QtGui.QApplication.translate("HierarchicalItemsListDialog", "F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "добавить новую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Вставка F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setShortcut( QtGui.QApplication.translate("HierarchicalItemsListDialog", "F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "выйти из списка без выбора", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Закрыть", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip( QtGui.QApplication.translate("HierarchicalItemsListDialog", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "A status bar.", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, QuotingDialog): QuotingDialog.setObjectName(_fromUtf8("QuotingDialog")) QuotingDialog.resize(549, 847) self.gridLayout_3 = QtGui.QGridLayout(QuotingDialog) self.gridLayout_3.setMargin(4) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.splitter_3 = QtGui.QSplitter(QuotingDialog) self.splitter_3.setOrientation(QtCore.Qt.Vertical) self.splitter_3.setOpaqueResize(True) self.splitter_3.setChildrenCollapsible(False) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.horizontalLayoutWidget = QtGui.QWidget(self.splitter_3) self.horizontalLayoutWidget.setObjectName( _fromUtf8("horizontalLayoutWidget")) self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget) self.horizontalLayout.setSpacing(4) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.splitter = QtGui.QSplitter(self.horizontalLayoutWidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setOpaqueResize(True) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.calendar = CCalendarWidget(self.splitter) self.calendar.setObjectName(_fromUtf8("calendar")) self.treeQuotaType = CTreeView(self.splitter) self.treeQuotaType.setObjectName(_fromUtf8("treeQuotaType")) self.tblQuotaTypeLeaves = CTableView(self.splitter) self.tblQuotaTypeLeaves.setObjectName(_fromUtf8("tblQuotaTypeLeaves")) self.horizontalLayout.addWidget(self.splitter) self.tabWidgetContent = QtGui.QTabWidget(self.splitter_3) self.tabWidgetContent.setEnabled(True) self.tabWidgetContent.setObjectName(_fromUtf8("tabWidgetContent")) self.tabLimits = QtGui.QWidget() self.tabLimits.setObjectName(_fromUtf8("tabLimits")) self.gridLayout = QtGui.QGridLayout(self.tabLimits) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblInfo = QtGui.QLabel(self.tabLimits) self.lblInfo.setText(_fromUtf8("")) self.lblInfo.setObjectName(_fromUtf8("lblInfo")) self.gridLayout.addWidget(self.lblInfo, 1, 0, 1, 1) spacerItem = QtGui.QSpacerItem(336, 22, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) self.btnEditQuota = QtGui.QPushButton(self.tabLimits) self.btnEditQuota.setObjectName(_fromUtf8("btnEditQuota")) self.gridLayout.addWidget(self.btnEditQuota, 2, 1, 1, 1) self.btnProlongateQuota = QtGui.QPushButton(self.tabLimits) self.btnProlongateQuota.setObjectName(_fromUtf8("btnProlongateQuota")) self.gridLayout.addWidget(self.btnProlongateQuota, 2, 2, 1, 1) self.btnNewQuota = QtGui.QPushButton(self.tabLimits) self.btnNewQuota.setObjectName(_fromUtf8("btnNewQuota")) self.gridLayout.addWidget(self.btnNewQuota, 2, 3, 1, 1) self.btnClose = QtGui.QPushButton(self.tabLimits) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.gridLayout.addWidget(self.btnClose, 2, 4, 1, 1) self.splitter_2 = QtGui.QSplitter(self.tabLimits) self.splitter_2.setOrientation(QtCore.Qt.Vertical) self.splitter_2.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.tblQuoting = CTableView(self.splitter_2) self.tblQuoting.setObjectName(_fromUtf8("tblQuoting")) self.tabWidgetLimitation = QtGui.QTabWidget(self.splitter_2) self.tabWidgetLimitation.setObjectName( _fromUtf8("tabWidgetLimitation")) self.tabRegion = QtGui.QWidget() self.tabRegion.setObjectName(_fromUtf8("tabRegion")) self.gridLayout_2 = QtGui.QGridLayout(self.tabRegion) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblQuoting_Region = CInDocTableView(self.tabRegion) self.tblQuoting_Region.setObjectName(_fromUtf8("tblQuoting_Region")) self.gridLayout_2.addWidget(self.tblQuoting_Region, 0, 0, 1, 1) self.tabWidgetLimitation.addTab(self.tabRegion, _fromUtf8("")) self.tabInsurance = QtGui.QWidget() self.tabInsurance.setEnabled(True) self.tabInsurance.setObjectName(_fromUtf8("tabInsurance")) self.tabWidgetLimitation.addTab(self.tabInsurance, _fromUtf8("")) self.tabFinanceSource = QtGui.QWidget() self.tabFinanceSource.setObjectName(_fromUtf8("tabFinanceSource")) self.tabWidgetLimitation.addTab(self.tabFinanceSource, _fromUtf8("")) self.tabSocialStatus = QtGui.QWidget() self.tabSocialStatus.setObjectName(_fromUtf8("tabSocialStatus")) self.tabWidgetLimitation.addTab(self.tabSocialStatus, _fromUtf8("")) self.tabSexAndAge = QtGui.QWidget() self.tabSexAndAge.setObjectName(_fromUtf8("tabSexAndAge")) self.tabWidgetLimitation.addTab(self.tabSexAndAge, _fromUtf8("")) self.gridLayout.addWidget(self.splitter_2, 0, 0, 1, 5) self.tabWidgetContent.addTab(self.tabLimits, _fromUtf8("")) self.tabList = QtGui.QWidget() self.tabList.setEnabled(True) self.tabList.setObjectName(_fromUtf8("tabList")) self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabList) self.verticalLayout_5.setSpacing(4) self.verticalLayout_5.setMargin(4) self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5")) self.splitter_4 = QtGui.QSplitter(self.tabList) self.splitter_4.setOrientation(QtCore.Qt.Horizontal) self.splitter_4.setChildrenCollapsible(False) self.splitter_4.setObjectName(_fromUtf8("splitter_4")) self.verticalLayoutWidget_4 = QtGui.QWidget(self.splitter_4) self.verticalLayoutWidget_4.setObjectName( _fromUtf8("verticalLayoutWidget_4")) self.gridLayout_5 = QtGui.QGridLayout(self.verticalLayoutWidget_4) self.gridLayout_5.setSpacing(4) self.gridLayout_5.setMargin(0) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblPeopleList = CTableView(self.verticalLayoutWidget_4) self.tblPeopleList.setObjectName(_fromUtf8("tblPeopleList")) self.gridLayout_5.addWidget(self.tblPeopleList, 0, 0, 1, 2) self.btnPrint = QtGui.QPushButton(self.verticalLayoutWidget_4) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) self.gridLayout_5.addWidget(self.btnPrint, 2, 1, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem1, 2, 0, 1, 1) self.lblPersonListCount = QtGui.QLabel(self.verticalLayoutWidget_4) self.lblPersonListCount.setObjectName(_fromUtf8("lblPersonListCount")) self.gridLayout_5.addWidget(self.lblPersonListCount, 1, 0, 1, 2) self.widget = QtGui.QWidget(self.splitter_4) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.gridLayout_4 = QtGui.QGridLayout(self.widget) self.gridLayout_4.setMargin(0) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setMargin(0) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.chkFilterLastName = QtGui.QCheckBox(self.widget) self.chkFilterLastName.setObjectName(_fromUtf8("chkFilterLastName")) self.gridLayout_4.addWidget(self.chkFilterLastName, 0, 0, 1, 3) self.edtFilterLastName = QtGui.QLineEdit(self.widget) self.edtFilterLastName.setEnabled(False) self.edtFilterLastName.setObjectName(_fromUtf8("edtFilterLastName")) self.gridLayout_4.addWidget(self.edtFilterLastName, 1, 0, 1, 3) self.chkFilterFirstName = QtGui.QCheckBox(self.widget) self.chkFilterFirstName.setObjectName(_fromUtf8("chkFilterFirstName")) self.gridLayout_4.addWidget(self.chkFilterFirstName, 2, 0, 1, 2) self.edtFilterFirstName = QtGui.QLineEdit(self.widget) self.edtFilterFirstName.setEnabled(False) self.edtFilterFirstName.setObjectName(_fromUtf8("edtFilterFirstName")) self.gridLayout_4.addWidget(self.edtFilterFirstName, 3, 0, 1, 3) self.chkFilterPatrName = QtGui.QCheckBox(self.widget) self.chkFilterPatrName.setObjectName(_fromUtf8("chkFilterPatrName")) self.gridLayout_4.addWidget(self.chkFilterPatrName, 4, 0, 1, 3) self.edtFilterPatrName = QtGui.QLineEdit(self.widget) self.edtFilterPatrName.setEnabled(False) self.edtFilterPatrName.setObjectName(_fromUtf8("edtFilterPatrName")) self.gridLayout_4.addWidget(self.edtFilterPatrName, 5, 0, 1, 3) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setSpacing(4) self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.chkFilterSex = QtGui.QCheckBox(self.widget) self.chkFilterSex.setObjectName(_fromUtf8("chkFilterSex")) self.horizontalLayout_2.addWidget(self.chkFilterSex) self.cmbFilterSex = QtGui.QComboBox(self.widget) self.cmbFilterSex.setEnabled(False) self.cmbFilterSex.setMaximumSize(QtCore.QSize(40, 16777215)) self.cmbFilterSex.setObjectName(_fromUtf8("cmbFilterSex")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.setItemText(0, _fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.cmbFilterSex.addItem(_fromUtf8("")) self.horizontalLayout_2.addWidget(self.cmbFilterSex) self.chkFilterAge = QtGui.QCheckBox(self.widget) self.chkFilterAge.setObjectName(_fromUtf8("chkFilterAge")) self.horizontalLayout_2.addWidget(self.chkFilterAge) self.edtFilterBegAge = QtGui.QSpinBox(self.widget) self.edtFilterBegAge.setEnabled(False) self.edtFilterBegAge.setMaximum(150) self.edtFilterBegAge.setObjectName(_fromUtf8("edtFilterBegAge")) self.horizontalLayout_2.addWidget(self.edtFilterBegAge) self.edtFilterEndAge = QtGui.QSpinBox(self.widget) self.edtFilterEndAge.setEnabled(False) self.edtFilterEndAge.setMaximum(150) self.edtFilterEndAge.setProperty("value", 150) self.edtFilterEndAge.setObjectName(_fromUtf8("edtFilterEndAge")) self.horizontalLayout_2.addWidget(self.edtFilterEndAge) self.gridLayout_4.addLayout(self.horizontalLayout_2, 6, 0, 1, 3) self.chkFilterAddress = QtGui.QCheckBox(self.widget) self.chkFilterAddress.setObjectName(_fromUtf8("chkFilterAddress")) self.gridLayout_4.addWidget(self.chkFilterAddress, 8, 0, 1, 1) self.cmbFilterAddressType = QtGui.QComboBox(self.widget) self.cmbFilterAddressType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressType.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressType.setSizePolicy(sizePolicy) self.cmbFilterAddressType.setObjectName( _fromUtf8("cmbFilterAddressType")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.cmbFilterAddressType.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbFilterAddressType, 8, 1, 1, 2) self.cmbFilterAddressCity = CKLADRComboBox(self.widget) self.cmbFilterAddressCity.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressCity.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressCity.setSizePolicy(sizePolicy) self.cmbFilterAddressCity.setObjectName( _fromUtf8("cmbFilterAddressCity")) self.gridLayout_4.addWidget(self.cmbFilterAddressCity, 9, 0, 1, 3) self.cmbFilterAddressStreet = CStreetComboBox(self.widget) self.cmbFilterAddressStreet.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterAddressStreet.sizePolicy().hasHeightForWidth()) self.cmbFilterAddressStreet.setSizePolicy(sizePolicy) self.cmbFilterAddressStreet.setObjectName( _fromUtf8("cmbFilterAddressStreet")) self.gridLayout_4.addWidget(self.cmbFilterAddressStreet, 10, 0, 1, 3) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setSpacing(4) self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.chkFilterStatus = QtGui.QCheckBox(self.widget) self.chkFilterStatus.setObjectName(_fromUtf8("chkFilterStatus")) self.verticalLayout_3.addWidget(self.chkFilterStatus) self.cmbFilterStatus = QtGui.QComboBox(self.widget) self.cmbFilterStatus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbFilterStatus.sizePolicy().hasHeightForWidth()) self.cmbFilterStatus.setSizePolicy(sizePolicy) self.cmbFilterStatus.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.cmbFilterStatus.setObjectName(_fromUtf8("cmbFilterStatus")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.cmbFilterStatus.addItem(_fromUtf8("")) self.verticalLayout_3.addWidget(self.cmbFilterStatus) self.horizontalLayout_4.addLayout(self.verticalLayout_3) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setSpacing(4) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.chkFilterStage = QtGui.QCheckBox(self.widget) self.chkFilterStage.setObjectName(_fromUtf8("chkFilterStage")) self.verticalLayout_4.addWidget(self.chkFilterStage) self.edtFilterStage = QtGui.QSpinBox(self.widget) self.edtFilterStage.setEnabled(False) self.edtFilterStage.setObjectName(_fromUtf8("edtFilterStage")) self.verticalLayout_4.addWidget(self.edtFilterStage) self.horizontalLayout_4.addLayout(self.verticalLayout_4) self.gridLayout_4.addLayout(self.horizontalLayout_4, 12, 0, 1, 3) self.chkFilterOrgStructure = QtGui.QCheckBox(self.widget) self.chkFilterOrgStructure.setObjectName( _fromUtf8("chkFilterOrgStructure")) self.gridLayout_4.addWidget(self.chkFilterOrgStructure, 13, 0, 1, 3) self.cmbFilterOrgStructure = COrgStructureComboBox(self.widget) self.cmbFilterOrgStructure.setEnabled(False) self.cmbFilterOrgStructure.setObjectName( _fromUtf8("cmbFilterOrgStructure")) self.gridLayout_4.addWidget(self.cmbFilterOrgStructure, 14, 0, 1, 3) self.chkFilterContact = QtGui.QCheckBox(self.widget) self.chkFilterContact.setObjectName(_fromUtf8("chkFilterContact")) self.gridLayout_4.addWidget(self.chkFilterContact, 15, 0, 1, 3) self.edtFilterContact = QtGui.QLineEdit(self.widget) self.edtFilterContact.setEnabled(False) self.edtFilterContact.setObjectName(_fromUtf8("edtFilterContact")) self.gridLayout_4.addWidget(self.edtFilterContact, 16, 0, 1, 3) self.chkFilterIdentifier = QtGui.QCheckBox(self.widget) self.chkFilterIdentifier.setObjectName( _fromUtf8("chkFilterIdentifier")) self.gridLayout_4.addWidget(self.chkFilterIdentifier, 17, 0, 1, 3) self.edtFilterIdentifier = QtGui.QLineEdit(self.widget) self.edtFilterIdentifier.setEnabled(False) self.edtFilterIdentifier.setObjectName( _fromUtf8("edtFilterIdentifier")) self.gridLayout_4.addWidget(self.edtFilterIdentifier, 18, 0, 1, 3) self.chkFilterTicketNumber = QtGui.QCheckBox(self.widget) self.chkFilterTicketNumber.setObjectName( _fromUtf8("chkFilterTicketNumber")) self.gridLayout_4.addWidget(self.chkFilterTicketNumber, 19, 0, 1, 3) self.edtFilterTicketNumber = QtGui.QLineEdit(self.widget) self.edtFilterTicketNumber.setEnabled(False) self.edtFilterTicketNumber.setObjectName( _fromUtf8("edtFilterTicketNumber")) self.gridLayout_4.addWidget(self.edtFilterTicketNumber, 20, 0, 1, 3) self.chkFilterRequest = QtGui.QCheckBox(self.widget) self.chkFilterRequest.setObjectName(_fromUtf8("chkFilterRequest")) self.gridLayout_4.addWidget(self.chkFilterRequest, 21, 0, 1, 3) self.cmbFilterRequest = QtGui.QComboBox(self.widget) self.cmbFilterRequest.setEnabled(False) self.cmbFilterRequest.setObjectName(_fromUtf8("cmbFilterRequest")) self.cmbFilterRequest.addItem(_fromUtf8("")) self.cmbFilterRequest.addItem(_fromUtf8("")) self.gridLayout_4.addWidget(self.cmbFilterRequest, 22, 0, 1, 3) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem2, 23, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setSpacing(4) self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem3) self.buttonBox = CApplyResetDialogButtonBox(self.widget) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.horizontalLayout_3.addWidget(self.buttonBox) self.gridLayout_4.addLayout(self.horizontalLayout_3, 24, 0, 1, 3) self.chkFilterBirthDay = QtGui.QCheckBox(self.widget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkFilterBirthDay.sizePolicy().hasHeightForWidth()) self.chkFilterBirthDay.setSizePolicy(sizePolicy) self.chkFilterBirthDay.setObjectName(_fromUtf8("chkFilterBirthDay")) self.gridLayout_4.addWidget(self.chkFilterBirthDay, 7, 0, 1, 1) self.edtFilterBirthDay = CDateEdit(self.widget) self.edtFilterBirthDay.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtFilterBirthDay.sizePolicy().hasHeightForWidth()) self.edtFilterBirthDay.setSizePolicy(sizePolicy) self.edtFilterBirthDay.setCalendarPopup(True) self.edtFilterBirthDay.setObjectName(_fromUtf8("edtFilterBirthDay")) self.gridLayout_4.addWidget(self.edtFilterBirthDay, 7, 1, 1, 2) self.chkFilterClientQuotaKladr = QtGui.QCheckBox(self.widget) self.chkFilterClientQuotaKladr.setObjectName( _fromUtf8("chkFilterClientQuotaKladr")) self.gridLayout_4.addWidget(self.chkFilterClientQuotaKladr, 11, 0, 1, 1) self.cmbFilterClientQuotaKladr = CMainRegionsKLADRComboBox(self.widget) self.cmbFilterClientQuotaKladr.setObjectName( _fromUtf8("cmbFilterClientQuotaKladr")) self.gridLayout_4.addWidget(self.cmbFilterClientQuotaKladr, 11, 1, 1, 2) self.verticalLayout_5.addWidget(self.splitter_4) self.tabWidgetContent.addTab(self.tabList, _fromUtf8("")) self.gridLayout_3.addWidget(self.splitter_3, 0, 0, 1, 1) self.retranslateUi(QuotingDialog) self.tabWidgetContent.setCurrentIndex(0) self.tabWidgetLimitation.setCurrentIndex(0) QtCore.QObject.connect(self.btnClose, QtCore.SIGNAL(_fromUtf8("clicked()")), QuotingDialog.close) QtCore.QObject.connect(self.chkFilterLastName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterLastName.setEnabled) QtCore.QObject.connect(self.chkFilterFirstName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterFirstName.setEnabled) QtCore.QObject.connect(self.chkFilterPatrName, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterPatrName.setEnabled) QtCore.QObject.connect(self.chkFilterBirthDay, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterBirthDay.setEnabled) QtCore.QObject.connect(self.chkFilterSex, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterSex.setEnabled) QtCore.QObject.connect(self.chkFilterAge, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterBegAge.setEnabled) QtCore.QObject.connect(self.chkFilterAge, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterEndAge.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressCity.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressStreet.setEnabled) QtCore.QObject.connect(self.chkFilterStage, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterStage.setEnabled) QtCore.QObject.connect(self.chkFilterStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterStatus.setEnabled) QtCore.QObject.connect(self.chkFilterOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterOrgStructure.setEnabled) QtCore.QObject.connect(self.chkFilterContact, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterContact.setEnabled) QtCore.QObject.connect(self.chkFilterIdentifier, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterIdentifier.setEnabled) QtCore.QObject.connect(self.chkFilterTicketNumber, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtFilterTicketNumber.setEnabled) QtCore.QObject.connect(self.chkFilterRequest, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterRequest.setEnabled) QtCore.QObject.connect(self.chkFilterAddress, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbFilterAddressType.setEnabled) QtCore.QMetaObject.connectSlotsByName(QuotingDialog) QuotingDialog.setTabOrder(self.tabWidgetContent, self.calendar) QuotingDialog.setTabOrder(self.calendar, self.treeQuotaType) QuotingDialog.setTabOrder(self.treeQuotaType, self.tblQuotaTypeLeaves) QuotingDialog.setTabOrder(self.tblQuotaTypeLeaves, self.btnEditQuota) QuotingDialog.setTabOrder(self.btnEditQuota, self.btnProlongateQuota) QuotingDialog.setTabOrder(self.btnProlongateQuota, self.btnNewQuota) QuotingDialog.setTabOrder(self.btnNewQuota, self.btnClose) QuotingDialog.setTabOrder(self.btnClose, self.tblQuoting) QuotingDialog.setTabOrder(self.tblQuoting, self.tabWidgetLimitation) QuotingDialog.setTabOrder(self.tabWidgetLimitation, self.tblQuoting_Region) QuotingDialog.setTabOrder(self.tblQuoting_Region, self.tblPeopleList) QuotingDialog.setTabOrder(self.tblPeopleList, self.btnPrint) QuotingDialog.setTabOrder(self.btnPrint, self.chkFilterLastName) QuotingDialog.setTabOrder(self.chkFilterLastName, self.edtFilterLastName) QuotingDialog.setTabOrder(self.edtFilterLastName, self.chkFilterFirstName) QuotingDialog.setTabOrder(self.chkFilterFirstName, self.edtFilterFirstName) QuotingDialog.setTabOrder(self.edtFilterFirstName, self.chkFilterPatrName) QuotingDialog.setTabOrder(self.chkFilterPatrName, self.edtFilterPatrName) QuotingDialog.setTabOrder(self.edtFilterPatrName, self.chkFilterSex) QuotingDialog.setTabOrder(self.chkFilterSex, self.cmbFilterSex) QuotingDialog.setTabOrder(self.cmbFilterSex, self.chkFilterAge) QuotingDialog.setTabOrder(self.chkFilterAge, self.edtFilterBegAge) QuotingDialog.setTabOrder(self.edtFilterBegAge, self.edtFilterEndAge) QuotingDialog.setTabOrder(self.edtFilterEndAge, self.chkFilterBirthDay) QuotingDialog.setTabOrder(self.chkFilterBirthDay, self.edtFilterBirthDay) QuotingDialog.setTabOrder(self.edtFilterBirthDay, self.chkFilterAddress) QuotingDialog.setTabOrder(self.chkFilterAddress, self.cmbFilterAddressType) QuotingDialog.setTabOrder(self.cmbFilterAddressType, self.cmbFilterAddressCity) QuotingDialog.setTabOrder(self.cmbFilterAddressCity, self.cmbFilterAddressStreet) QuotingDialog.setTabOrder(self.cmbFilterAddressStreet, self.chkFilterStatus) QuotingDialog.setTabOrder(self.chkFilterStatus, self.cmbFilterStatus) QuotingDialog.setTabOrder(self.cmbFilterStatus, self.chkFilterStage) QuotingDialog.setTabOrder(self.chkFilterStage, self.edtFilterStage) QuotingDialog.setTabOrder(self.edtFilterStage, self.chkFilterOrgStructure) QuotingDialog.setTabOrder(self.chkFilterOrgStructure, self.cmbFilterOrgStructure) QuotingDialog.setTabOrder(self.cmbFilterOrgStructure, self.chkFilterContact) QuotingDialog.setTabOrder(self.chkFilterContact, self.edtFilterContact) QuotingDialog.setTabOrder(self.edtFilterContact, self.chkFilterIdentifier) QuotingDialog.setTabOrder(self.chkFilterIdentifier, self.edtFilterIdentifier) QuotingDialog.setTabOrder(self.edtFilterIdentifier, self.chkFilterTicketNumber) QuotingDialog.setTabOrder(self.chkFilterTicketNumber, self.edtFilterTicketNumber) QuotingDialog.setTabOrder(self.edtFilterTicketNumber, self.chkFilterRequest) QuotingDialog.setTabOrder(self.chkFilterRequest, self.cmbFilterRequest) QuotingDialog.setTabOrder(self.cmbFilterRequest, self.buttonBox)
def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(284, 741) self.gridLayout = QtGui.QGridLayout(Form) self.gridLayout.setMargin(2) self.gridLayout.setSpacing(2) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblBegDate = QtGui.QLabel(Form) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout.addWidget(self.lblBegDate, 0, 0, 1, 1) self.edtBegDate = CDateEdit(Form) 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) spacerItem = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 6, 1, 1) self.chkEnableTime = QtGui.QCheckBox(Form) self.chkEnableTime.setObjectName(_fromUtf8("chkEnableTime")) self.gridLayout.addWidget(self.chkEnableTime, 1, 0, 1, 1) self.edtBegTime = QtGui.QTimeEdit(Form) self.edtBegTime.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtBegTime.sizePolicy().hasHeightForWidth()) self.edtBegTime.setSizePolicy(sizePolicy) self.edtBegTime.setCalendarPopup(False) self.edtBegTime.setTime(QtCore.QTime(0, 0, 0)) self.edtBegTime.setObjectName(_fromUtf8("edtBegTime")) self.gridLayout.addWidget(self.edtBegTime, 1, 1, 1, 1) self.lblEndTime = QtGui.QLabel(Form) self.lblEndTime.setObjectName(_fromUtf8("lblEndTime")) self.gridLayout.addWidget(self.lblEndTime, 1, 2, 1, 1) self.edtEndTime = QtGui.QTimeEdit(Form) self.edtEndTime.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtEndTime.sizePolicy().hasHeightForWidth()) self.edtEndTime.setSizePolicy(sizePolicy) self.edtEndTime.setTime(QtCore.QTime(23, 59, 0)) self.edtEndTime.setObjectName(_fromUtf8("edtEndTime")) self.gridLayout.addWidget(self.edtEndTime, 1, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(74, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 1, 5, 1, 2) self.grpBox = QtGui.QWidget(Form) self.grpBox.setObjectName(_fromUtf8("grpBox")) self.verticalLayout = QtGui.QVBoxLayout(self.grpBox) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter = QtGui.QSplitter(self.grpBox) self.splitter.setLineWidth(1) self.splitter.setMidLineWidth(0) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setOpaqueResize(True) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeOrgStructure = CTreeView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.treeOrgStructure.sizePolicy().hasHeightForWidth()) self.treeOrgStructure.setSizePolicy(sizePolicy) self.treeOrgStructure.setObjectName(_fromUtf8("treeOrgStructure")) self.treeOrgPersonnel = CTreeView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(2) sizePolicy.setHeightForWidth(self.treeOrgPersonnel.sizePolicy().hasHeightForWidth()) self.treeOrgPersonnel.setSizePolicy(sizePolicy) self.treeOrgPersonnel.setObjectName(_fromUtf8("treeOrgPersonnel")) self.tblAmbQueue = CFreeQueueTableView(self.splitter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(4) sizePolicy.setHeightForWidth(self.tblAmbQueue.sizePolicy().hasHeightForWidth()) self.tblAmbQueue.setSizePolicy(sizePolicy) self.tblAmbQueue.setObjectName(_fromUtf8("tblAmbQueue")) self.verticalLayout.addWidget(self.splitter) self.gridLayout.addWidget(self.grpBox, 2, 0, 1, 7) self.lblQueueItemsCount = QtGui.QLabel(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblQueueItemsCount.sizePolicy().hasHeightForWidth()) self.lblQueueItemsCount.setSizePolicy(sizePolicy) self.lblQueueItemsCount.setScaledContents(False) self.lblQueueItemsCount.setObjectName(_fromUtf8("lblQueueItemsCount")) self.gridLayout.addWidget(self.lblQueueItemsCount, 3, 0, 1, 3) self.btnSetToday = QtGui.QPushButton(Form) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Ignored) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSetToday.sizePolicy().hasHeightForWidth()) self.btnSetToday.setSizePolicy(sizePolicy) self.btnSetToday.setFlat(False) self.btnSetToday.setObjectName(_fromUtf8("btnSetToday")) self.gridLayout.addWidget(self.btnSetToday, 0, 3, 1, 1) self.lblReservedOrder = QtGui.QLabel(Form) font = QtGui.QFont() font.setBold(True) font.setWeight(75) self.lblReservedOrder.setFont(font) self.lblReservedOrder.setStyleSheet(_fromUtf8("color: rgb(255, 0, 0);")) self.lblReservedOrder.setText(_fromUtf8("")) self.lblReservedOrder.setObjectName(_fromUtf8("lblReservedOrder")) self.gridLayout.addWidget(self.lblReservedOrder, 3, 3, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 3, 6, 1, 1) self.edtCountTickets = QtGui.QSpinBox(Form) self.edtCountTickets.setMinimum(1) self.edtCountTickets.setMaximum(9) self.edtCountTickets.setObjectName(_fromUtf8("edtCountTickets")) self.gridLayout.addWidget(self.edtCountTickets, 1, 4, 1, 1) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem3, 0, 4, 1, 1) self.lblBegDate.setBuddy(self.edtBegDate) self.lblEndTime.setBuddy(self.edtEndTime) self.retranslateUi(Form) QtCore.QObject.connect(self.chkEnableTime, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtBegTime.setEnabled) QtCore.QObject.connect(self.chkEnableTime, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtEndTime.setEnabled) QtCore.QMetaObject.connectSlotsByName(Form) Form.setTabOrder(self.edtBegDate, self.chkEnableTime) Form.setTabOrder(self.chkEnableTime, self.edtBegTime) Form.setTabOrder(self.edtBegTime, self.edtEndTime) Form.setTabOrder(self.edtEndTime, self.treeOrgStructure) Form.setTabOrder(self.treeOrgStructure, self.treeOrgPersonnel) Form.setTabOrder(self.treeOrgPersonnel, self.tblAmbQueue)
def setupUi(self, ActionTypeListDialog): ActionTypeListDialog.setObjectName(_fromUtf8("ActionTypeListDialog")) ActionTypeListDialog.resize(739, 340) ActionTypeListDialog.setSizeGripEnabled(True) self.verticalLayout_3 = QtGui.QVBoxLayout(ActionTypeListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.gridLayout_2 = QtGui.QGridLayout(self.pnlTree) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout_2.addWidget(self.treeItems, 0, 0, 1, 2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblService = QtGui.QLabel(self.pnlTree) self.lblService.setObjectName(_fromUtf8("lblService")) self.gridLayout.addWidget(self.lblService, 0, 0, 1, 1) self.cmbService = CRBComboBox(self.pnlTree) self.cmbService.setObjectName(_fromUtf8("cmbService")) self.gridLayout.addWidget(self.cmbService, 0, 1, 1, 1) self.lblQuotaType = QtGui.QLabel(self.pnlTree) self.lblQuotaType.setObjectName(_fromUtf8("lblQuotaType")) self.gridLayout.addWidget(self.lblQuotaType, 1, 0, 1, 1) self.cmbQuotaType = CRBComboBox(self.pnlTree) self.cmbQuotaType.setObjectName(_fromUtf8("cmbQuotaType")) self.gridLayout.addWidget(self.cmbQuotaType, 1, 1, 1, 1) self.lblTissueType = QtGui.QLabel(self.pnlTree) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueType.sizePolicy().hasHeightForWidth()) self.lblTissueType.setSizePolicy(sizePolicy) self.lblTissueType.setObjectName(_fromUtf8("lblTissueType")) self.gridLayout.addWidget(self.lblTissueType, 2, 0, 1, 1) self.cmbTissueType = CRBComboBox(self.pnlTree) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 2, 1, 1, 1) self.lblServiceType = QtGui.QLabel(self.pnlTree) self.lblServiceType.setObjectName(_fromUtf8("lblServiceType")) self.gridLayout.addWidget(self.lblServiceType, 3, 0, 1, 1) self.cmbServiceType = QtGui.QComboBox(self.pnlTree) self.cmbServiceType.setObjectName(_fromUtf8("cmbServiceType")) self.gridLayout.addWidget(self.cmbServiceType, 3, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 2) self.chkActiveActionType = QtGui.QCheckBox(self.pnlTree) self.chkActiveActionType.setObjectName( _fromUtf8("chkActiveActionType")) self.gridLayout_2.addWidget(self.chkActiveActionType, 2, 0, 1, 1) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.gridLayout_2.addWidget(self.lblPadding, 2, 1, 1, 1) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(ActionTypeListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(ActionTypeListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(ActionTypeListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(ActionTypeListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(ActionTypeListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.lblService.setBuddy(self.cmbService) self.lblQuotaType.setBuddy(self.cmbQuotaType) self.lblTissueType.setBuddy(self.cmbTissueType) self.retranslateUi(ActionTypeListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), ActionTypeListDialog.reject) QtCore.QMetaObject.connectSlotsByName(ActionTypeListDialog) ActionTypeListDialog.setTabOrder(self.treeItems, self.cmbService) ActionTypeListDialog.setTabOrder(self.cmbService, self.cmbQuotaType) ActionTypeListDialog.setTabOrder(self.cmbQuotaType, self.cmbTissueType) ActionTypeListDialog.setTabOrder(self.cmbTissueType, self.tblItems) ActionTypeListDialog.setTabOrder(self.tblItems, self.btnFind) ActionTypeListDialog.setTabOrder(self.btnFind, self.btnSelect) ActionTypeListDialog.setTabOrder(self.btnSelect, self.btnFilter) ActionTypeListDialog.setTabOrder(self.btnFilter, self.btnEdit) ActionTypeListDialog.setTabOrder(self.btnEdit, self.btnNew) ActionTypeListDialog.setTabOrder(self.btnNew, self.btnCancel)
class Ui_SocStatusSetupDialog(object): def setupUi(self, SocStatusSetupDialog): SocStatusSetupDialog.setObjectName(_fromUtf8("SocStatusSetupDialog")) SocStatusSetupDialog.resize(607, 403) self.gridLayout_2 = QtGui.QGridLayout(SocStatusSetupDialog) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.edtBegDate = CDateEdit(SocStatusSetupDialog) 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_2.addWidget(self.edtBegDate, 0, 3, 1, 2) spacerItem = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 0, 5, 1, 2) self.lblEndDate = QtGui.QLabel(SocStatusSetupDialog) self.lblEndDate.setObjectName(_fromUtf8("lblEndDate")) self.gridLayout_2.addWidget(self.lblEndDate, 1, 2, 1, 1) self.groupBox = QtGui.QGroupBox(SocStatusSetupDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.btnStatusInPeriod = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusInPeriod.sizePolicy().hasHeightForWidth()) self.btnStatusInPeriod.setSizePolicy(sizePolicy) self.btnStatusInPeriod.setChecked(True) self.btnStatusInPeriod.setObjectName(_fromUtf8("btnStatusInPeriod")) self.verticalLayout.addWidget(self.btnStatusInPeriod) self.btnStatusStart = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusStart.sizePolicy().hasHeightForWidth()) self.btnStatusStart.setSizePolicy(sizePolicy) self.btnStatusStart.setObjectName(_fromUtf8("btnStatusStart")) self.verticalLayout.addWidget(self.btnStatusStart) self.btnStatusFinish = QtGui.QRadioButton(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnStatusFinish.sizePolicy().hasHeightForWidth()) self.btnStatusFinish.setSizePolicy(sizePolicy) self.btnStatusFinish.setObjectName(_fromUtf8("btnStatusFinish")) self.verticalLayout.addWidget(self.btnStatusFinish) self.gridLayout_2.addWidget(self.groupBox, 2, 2, 1, 5) self.frmAge = QtGui.QFrame(SocStatusSetupDialog) 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.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeFrom.sizePolicy().hasHeightForWidth()) self.edtAgeFrom.setSizePolicy(sizePolicy) self.edtAgeFrom.setMaximum(150) self.edtAgeFrom.setObjectName(_fromUtf8("edtAgeFrom")) self._2.addWidget(self.edtAgeFrom) self.lblAgeTo = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeTo.sizePolicy().hasHeightForWidth()) self.lblAgeTo.setSizePolicy(sizePolicy) self.lblAgeTo.setObjectName(_fromUtf8("lblAgeTo")) self._2.addWidget(self.lblAgeTo) self.edtAgeTo = QtGui.QSpinBox(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtAgeTo.sizePolicy().hasHeightForWidth()) self.edtAgeTo.setSizePolicy(sizePolicy) self.edtAgeTo.setMaximum(150) self.edtAgeTo.setObjectName(_fromUtf8("edtAgeTo")) self._2.addWidget(self.edtAgeTo) self.lblAgeYears = QtGui.QLabel(self.frmAge) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblAgeYears.sizePolicy().hasHeightForWidth()) self.lblAgeYears.setSizePolicy(sizePolicy) self.lblAgeYears.setObjectName(_fromUtf8("lblAgeYears")) self._2.addWidget(self.lblAgeYears) self.gridLayout_2.addWidget(self.frmAge, 5, 3, 1, 3) self.grbOrgStructure = QtGui.QGroupBox(SocStatusSetupDialog) self.grbOrgStructure.setCheckable(True) self.grbOrgStructure.setChecked(False) self.grbOrgStructure.setObjectName(_fromUtf8("grbOrgStructure")) self.gridLayout = QtGui.QGridLayout(self.grbOrgStructure) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblOrgStructure = QtGui.QLabel(self.grbOrgStructure) self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure")) self.gridLayout.addWidget(self.lblOrgStructure, 0, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(self.grbOrgStructure) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 0, 1, 1, 1) self.lblAreaAddressType = QtGui.QLabel(self.grbOrgStructure) self.lblAreaAddressType.setObjectName(_fromUtf8("lblAreaAddressType")) self.gridLayout.addWidget(self.lblAreaAddressType, 1, 0, 1, 1) self.cmbAreaAddressType = QtGui.QComboBox(self.grbOrgStructure) self.cmbAreaAddressType.setObjectName(_fromUtf8("cmbAreaAddressType")) self.cmbAreaAddressType.addItem(_fromUtf8("")) self.cmbAreaAddressType.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbAreaAddressType, 1, 1, 1, 1) self.gridLayout_2.addWidget(self.grbOrgStructure, 6, 2, 1, 5) self.treeItems = CTreeView(SocStatusSetupDialog) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout_2.addWidget(self.treeItems, 0, 0, 13, 1) self.lblBegDate = QtGui.QLabel(SocStatusSetupDialog) self.lblBegDate.setObjectName(_fromUtf8("lblBegDate")) self.gridLayout_2.addWidget(self.lblBegDate, 0, 2, 1, 1) spacerItem1 = QtGui.QSpacerItem(58, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem1, 1, 5, 1, 2) self.edtEndDate = CDateEdit(SocStatusSetupDialog) 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_2.addWidget(self.edtEndDate, 1, 3, 1, 2) self.chkOnlyPermanentAttach = QtGui.QCheckBox(SocStatusSetupDialog) self.chkOnlyPermanentAttach.setObjectName( _fromUtf8("chkOnlyPermanentAttach")) self.gridLayout_2.addWidget(self.chkOnlyPermanentAttach, 3, 2, 1, 5) self.cmbSex = QtGui.QComboBox(SocStatusSetupDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout_2.addWidget(self.cmbSex, 4, 3, 1, 1) self.lblSex = QtGui.QLabel(SocStatusSetupDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout_2.addWidget(self.lblSex, 4, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(96, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem2, 4, 4, 1, 3) self.lblAge = QtGui.QLabel(SocStatusSetupDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout_2.addWidget(self.lblAge, 5, 2, 1, 1) spacerItem3 = QtGui.QSpacerItem(4, 17, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem3, 5, 6, 1, 1) self.chkAddMKB = QtGui.QCheckBox(SocStatusSetupDialog) self.chkAddMKB.setObjectName(_fromUtf8("chkAddMKB")) self.gridLayout_2.addWidget(self.chkAddMKB, 8, 2, 1, 2) self.buttonBox = QtGui.QDialogButtonBox(SocStatusSetupDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_2.addWidget(self.buttonBox, 13, 0, 1, 7) self.chkGroupBySocStatus = QtGui.QCheckBox(SocStatusSetupDialog) self.chkGroupBySocStatus.setObjectName( _fromUtf8("chkGroupBySocStatus")) self.gridLayout_2.addWidget(self.chkGroupBySocStatus, 10, 2, 1, 2) spacerItem4 = QtGui.QSpacerItem(20, 87, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem4, 12, 2, 1, 5) self.chkAddDeathDate = QtGui.QCheckBox(SocStatusSetupDialog) self.chkAddDeathDate.setObjectName(_fromUtf8("chkAddDeathDate")) self.gridLayout_2.addWidget(self.chkAddDeathDate, 9, 2, 1, 2) self.lstItems = CRBListBox(SocStatusSetupDialog) self.lstItems.setObjectName(_fromUtf8("lstItems")) self.gridLayout_2.addWidget(self.lstItems, 0, 1, 13, 1) self.chkOutcome = QtGui.QCheckBox(SocStatusSetupDialog) self.chkOutcome.setObjectName(_fromUtf8("chkOutcome")) self.gridLayout_2.addWidget(self.chkOutcome, 11, 2, 1, 1) self.lblEndDate.setBuddy(self.edtEndDate) self.lblAgeTo.setBuddy(self.edtAgeTo) self.lblAgeYears.setBuddy(self.edtAgeTo) self.lblBegDate.setBuddy(self.edtBegDate) self.lblSex.setBuddy(self.cmbSex) self.lblAge.setBuddy(self.edtAgeFrom) self.retranslateUi(SocStatusSetupDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), SocStatusSetupDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), SocStatusSetupDialog.reject) QtCore.QMetaObject.connectSlotsByName(SocStatusSetupDialog) SocStatusSetupDialog.setTabOrder(self.treeItems, self.edtBegDate) SocStatusSetupDialog.setTabOrder(self.edtBegDate, self.edtEndDate) SocStatusSetupDialog.setTabOrder(self.edtEndDate, self.btnStatusInPeriod) SocStatusSetupDialog.setTabOrder(self.btnStatusInPeriod, self.btnStatusStart) SocStatusSetupDialog.setTabOrder(self.btnStatusStart, self.btnStatusFinish) SocStatusSetupDialog.setTabOrder(self.btnStatusFinish, self.chkOnlyPermanentAttach) SocStatusSetupDialog.setTabOrder(self.chkOnlyPermanentAttach, self.cmbSex) SocStatusSetupDialog.setTabOrder(self.cmbSex, self.edtAgeFrom) SocStatusSetupDialog.setTabOrder(self.edtAgeFrom, self.edtAgeTo) SocStatusSetupDialog.setTabOrder(self.edtAgeTo, self.grbOrgStructure) SocStatusSetupDialog.setTabOrder(self.grbOrgStructure, self.cmbOrgStructure) SocStatusSetupDialog.setTabOrder(self.cmbOrgStructure, self.cmbAreaAddressType) SocStatusSetupDialog.setTabOrder(self.cmbAreaAddressType, self.chkAddMKB) SocStatusSetupDialog.setTabOrder(self.chkAddMKB, self.chkGroupBySocStatus) SocStatusSetupDialog.setTabOrder(self.chkGroupBySocStatus, self.buttonBox) def retranslateUi(self, SocStatusSetupDialog): SocStatusSetupDialog.setWindowTitle( _translate("SocStatusSetupDialog", "Dialog", None)) self.lblEndDate.setText( _translate("SocStatusSetupDialog", "Дата &окончания периода", None)) self.groupBox.setTitle( _translate("SocStatusSetupDialog", "способ фильтрации", None)) self.btnStatusInPeriod.setText( _translate("SocStatusSetupDialog", "статус присутствует в периоде", None)) self.btnStatusStart.setText( _translate("SocStatusSetupDialog", "статус начал действовать в периоде", None)) self.btnStatusFinish.setText( _translate("SocStatusSetupDialog", "статус прекратил действовать в периоде", None)) self.lblAgeTo.setText(_translate("SocStatusSetupDialog", "по", None)) self.lblAgeYears.setText( _translate("SocStatusSetupDialog", "лет", None)) self.grbOrgStructure.setTitle( _translate("SocStatusSetupDialog", "зона обслуживания", None)) self.lblOrgStructure.setText( _translate("SocStatusSetupDialog", "Подразделение", None)) self.lblAreaAddressType.setText( _translate("SocStatusSetupDialog", "Участок по адресу", None)) self.cmbAreaAddressType.setItemText( 0, _translate("SocStatusSetupDialog", "проживания", None)) self.cmbAreaAddressType.setItemText( 1, _translate("SocStatusSetupDialog", "регистрации", None)) self.lblBegDate.setText( _translate("SocStatusSetupDialog", "Дата &начала периода", None)) self.chkOnlyPermanentAttach.setText( _translate("SocStatusSetupDialog", "&Прикреплённые к базовому ЛПУ", None)) self.cmbSex.setItemText(1, _translate("SocStatusSetupDialog", "М", None)) self.cmbSex.setItemText(2, _translate("SocStatusSetupDialog", "Ж", None)) self.lblSex.setText(_translate("SocStatusSetupDialog", "По&л", None)) self.lblAge.setText( _translate("SocStatusSetupDialog", "Возраст с", None)) self.chkAddMKB.setText( _translate("SocStatusSetupDialog", "Добавить графу \"Заболевание\"", None)) self.chkGroupBySocStatus.setText( _translate("SocStatusSetupDialog", "Группировать по соц. статусу", None)) self.chkAddDeathDate.setText( _translate("SocStatusSetupDialog", "Добавить графу \"Дата смерти\"", None)) self.chkOutcome.setText( _translate("SocStatusSetupDialog", "Исключить выбывших", None))
def __init__(self, parent): CTreeView.__init__(self, parent) self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketColumn, CEventJobTicketsDelegate(self)) self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketNameColumn, CEventJobTicketsDelimiterPainterDelegate(self)) self.setItemDelegateForColumn(CEventJobTicketsView.jobTicketLIDColumn, CEventJobTicketsLIDDelegate(self))