def setupUi(self, RLSExtendedVectorEditor): RLSExtendedVectorEditor.setObjectName( _fromUtf8("RLSExtendedVectorEditor")) RLSExtendedVectorEditor.setWindowModality(QtCore.Qt.ApplicationModal) RLSExtendedVectorEditor.resize(400, 240) RLSExtendedVectorEditor.setMinimumSize(QtCore.QSize(400, 240)) self.gridLayout = QtGui.QGridLayout(RLSExtendedVectorEditor) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblItems = CItemListView(RLSExtendedVectorEditor) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(RLSExtendedVectorEditor) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1) self.retranslateUi(RLSExtendedVectorEditor) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), RLSExtendedVectorEditor.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), RLSExtendedVectorEditor.reject) QtCore.QMetaObject.connectSlotsByName(RLSExtendedVectorEditor)
class Ui_StoreItemDialog(object): def setupUi(self, StoreItemDialog): StoreItemDialog.setObjectName(_fromUtf8("StoreItemDialog")) StoreItemDialog.resize(640, 489) self.gridLayout_2 = QtGui.QGridLayout(StoreItemDialog) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblTradeName = QtGui.QLabel(StoreItemDialog) self.lblTradeName.setObjectName(_fromUtf8("lblTradeName")) self.gridLayout.addWidget(self.lblTradeName, 0, 0, 1, 1) self.edtTradeName = QtGui.QLineEdit(StoreItemDialog) self.edtTradeName.setObjectName(_fromUtf8("edtTradeName")) self.gridLayout.addWidget(self.edtTradeName, 0, 1, 1, 1) self.lblINN = QtGui.QLabel(StoreItemDialog) self.lblINN.setObjectName(_fromUtf8("lblINN")) self.gridLayout.addWidget(self.lblINN, 1, 0, 1, 1) self.edtINN = QtGui.QLineEdit(StoreItemDialog) self.edtINN.setObjectName(_fromUtf8("edtINN")) self.gridLayout.addWidget(self.edtINN, 1, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(StoreItemDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Save) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_2.addWidget(self.buttonBox, 2, 0, 1, 1) self.tblShippingInfo = CItemListView(StoreItemDialog) self.tblShippingInfo.setObjectName(_fromUtf8("tblShippingInfo")) self.gridLayout_2.addWidget(self.tblShippingInfo, 1, 0, 1, 1) self.lblTradeName.setBuddy(self.edtTradeName) self.lblINN.setBuddy(self.edtINN) self.retranslateUi(StoreItemDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), StoreItemDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), StoreItemDialog.reject) QtCore.QMetaObject.connectSlotsByName(StoreItemDialog) StoreItemDialog.setTabOrder(self.edtTradeName, self.edtINN) StoreItemDialog.setTabOrder(self.edtINN, self.tblShippingInfo) StoreItemDialog.setTabOrder(self.tblShippingInfo, self.buttonBox) def retranslateUi(self, StoreItemDialog): StoreItemDialog.setWindowTitle( _translate("StoreItemDialog", "Dialog", None)) self.lblTradeName.setText( _translate("StoreItemDialog", "Торговое наименование", None)) self.lblINN.setText(_translate("StoreItemDialog", "МНН", None))
def __init__(self, parent): super(CItemListComboBox, self).__init__(parent) self._itemType = None self._addNone = None self._filter = None self._order = None self._colWidths = None self._lineEdit = None view = CItemListView(self) view.setAlternatingRowColors(False) self.setView(view) self.setModel(CItemListModel(self))
def setupUi(self, StoreItemSelectionDialog): StoreItemSelectionDialog.setObjectName( _fromUtf8("StoreItemSelectionDialog")) StoreItemSelectionDialog.resize(400, 291) StoreItemSelectionDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(StoreItemSelectionDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblItems = CItemListView(StoreItemSelectionDialog) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 0, 0, 1, 1) self.retranslateUi(StoreItemSelectionDialog) QtCore.QMetaObject.connectSlotsByName(StoreItemSelectionDialog)
def setupUi(self, ItemListSearchComboBoxPopup): ItemListSearchComboBoxPopup.setObjectName( _fromUtf8("ItemListSearchComboBoxPopup")) ItemListSearchComboBoxPopup.resize(400, 240) self.gridLayout = QtGui.QGridLayout(ItemListSearchComboBoxPopup) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtName = CLineEdit(ItemListSearchComboBoxPopup) self.edtName.setPlaceholderText(_fromUtf8("")) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 0, 0, 1, 1) self.tableView = CItemListView(ItemListSearchComboBoxPopup) self.tableView.setObjectName(_fromUtf8("tableView")) self.gridLayout.addWidget(self.tableView, 1, 0, 1, 1) self.retranslateUi(ItemListSearchComboBoxPopup) QtCore.QMetaObject.connectSlotsByName(ItemListSearchComboBoxPopup)
def setupUi(self, ExchangeDialog): ExchangeDialog.setObjectName(_fromUtf8("ExchangeDialog")) ExchangeDialog.resize(1244, 770) self.gridLayout = QtGui.QGridLayout(ExchangeDialog) self.gridLayout.setMargin(6) self.gridLayout.setSpacing(6) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(8) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.btnClose = QtGui.QPushButton(ExchangeDialog) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.horizontalLayout.addWidget(self.btnClose) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1) self.tabWidget = QtGui.QTabWidget(ExchangeDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabPlanning = QtGui.QWidget() self.tabPlanning.setObjectName(_fromUtf8("tabPlanning")) self.gridLayout_8 = QtGui.QGridLayout(self.tabPlanning) self.gridLayout_8.setMargin(6) self.gridLayout_8.setSpacing(6) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.gridLayout_7 = QtGui.QGridLayout() self.gridLayout_7.setSpacing(4) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.line = QtGui.QFrame(self.tabPlanning) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.gridLayout_7.addWidget(self.line, 2, 0, 1, 2) self.tblPlanQuantities = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(40) sizePolicy.setHeightForWidth(self.tblPlanQuantities.sizePolicy().hasHeightForWidth()) self.tblPlanQuantities.setSizePolicy(sizePolicy) self.tblPlanQuantities.setObjectName(_fromUtf8("tblPlanQuantities")) self.gridLayout_7.addWidget(self.tblPlanQuantities, 1, 1, 1, 1) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setSpacing(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.lblPLanQuantities = QtGui.QLabel(self.tabPlanning) self.lblPLanQuantities.setWordWrap(True) self.lblPLanQuantities.setObjectName(_fromUtf8("lblPLanQuantities")) self.verticalLayout.addWidget(self.lblPLanQuantities) self.gridLayout_10 = QtGui.QGridLayout() self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.edtPlanningYear = QtGui.QSpinBox(self.tabPlanning) self.edtPlanningYear.setMinimum(2016) self.edtPlanningYear.setMaximum(2018) self.edtPlanningYear.setProperty("value", 2017) self.edtPlanningYear.setObjectName(_fromUtf8("edtPlanningYear")) self.gridLayout_10.addWidget(self.edtPlanningYear, 0, 1, 1, 1) self.lblPlanningYear = QtGui.QLabel(self.tabPlanning) self.lblPlanningYear.setObjectName(_fromUtf8("lblPlanningYear")) self.gridLayout_10.addWidget(self.lblPlanningYear, 0, 0, 1, 1) self.lblPlanningMonth = QtGui.QLabel(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblPlanningMonth.sizePolicy().hasHeightForWidth()) self.lblPlanningMonth.setSizePolicy(sizePolicy) self.lblPlanningMonth.setObjectName(_fromUtf8("lblPlanningMonth")) self.gridLayout_10.addWidget(self.lblPlanningMonth, 1, 0, 1, 1) self.cmbPlanningMonth = CEnumComboBox(self.tabPlanning) self.cmbPlanningMonth.setObjectName(_fromUtf8("cmbPlanningMonth")) self.gridLayout_10.addWidget(self.cmbPlanningMonth, 1, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout_10) self.btnGetPlanQuantities = QtGui.QPushButton(self.tabPlanning) self.btnGetPlanQuantities.setObjectName(_fromUtf8("btnGetPlanQuantities")) self.verticalLayout.addWidget(self.btnGetPlanQuantities) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.gridLayout_7.addLayout(self.verticalLayout, 1, 0, 1, 1) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.lblPlanDates = QtGui.QLabel(self.tabPlanning) self.lblPlanDates.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.lblPlanDates.setWordWrap(True) self.lblPlanDates.setObjectName(_fromUtf8("lblPlanDates")) self.verticalLayout_2.addWidget(self.lblPlanDates) self.btnGetPlanDates = QtGui.QPushButton(self.tabPlanning) self.btnGetPlanDates.setObjectName(_fromUtf8("btnGetPlanDates")) self.verticalLayout_2.addWidget(self.btnGetPlanDates) self.btnSendPlanDates = QtGui.QPushButton(self.tabPlanning) self.btnSendPlanDates.setObjectName(_fromUtf8("btnSendPlanDates")) self.verticalLayout_2.addWidget(self.btnSendPlanDates) spacerItem2 = QtGui.QSpacerItem(20, 80, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem2) self.gridLayout_7.addLayout(self.verticalLayout_2, 3, 0, 1, 1) self.tblPlanDates = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(80) sizePolicy.setHeightForWidth(self.tblPlanDates.sizePolicy().hasHeightForWidth()) self.tblPlanDates.setSizePolicy(sizePolicy) self.tblPlanDates.setObjectName(_fromUtf8("tblPlanDates")) self.gridLayout_7.addWidget(self.tblPlanDates, 3, 1, 1, 1) self.tblContacts = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(40) sizePolicy.setHeightForWidth(self.tblContacts.sizePolicy().hasHeightForWidth()) self.tblContacts.setSizePolicy(sizePolicy) self.tblContacts.setObjectName(_fromUtf8("tblContacts")) self.gridLayout_7.addWidget(self.tblContacts, 5, 1, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.lblContacts = QtGui.QLabel(self.tabPlanning) self.lblContacts.setWordWrap(True) self.lblContacts.setObjectName(_fromUtf8("lblContacts")) self.verticalLayout_3.addWidget(self.lblContacts) self.btnGetContacts = QtGui.QPushButton(self.tabPlanning) self.btnGetContacts.setObjectName(_fromUtf8("btnGetContacts")) self.verticalLayout_3.addWidget(self.btnGetContacts) self.btnSendContacts = QtGui.QPushButton(self.tabPlanning) self.btnSendContacts.setObjectName(_fromUtf8("btnSendContacts")) self.verticalLayout_3.addWidget(self.btnSendContacts) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem3) self.gridLayout_7.addLayout(self.verticalLayout_3, 5, 0, 1, 1) self.line_2 = QtGui.QFrame(self.tabPlanning) self.line_2.setFrameShape(QtGui.QFrame.HLine) self.line_2.setFrameShadow(QtGui.QFrame.Sunken) self.line_2.setObjectName(_fromUtf8("line_2")) self.gridLayout_7.addWidget(self.line_2, 4, 0, 1, 2) self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1) self.tabWidget.addTab(self.tabPlanning, _fromUtf8("")) self.tabCreate = QtGui.QWidget() self.tabCreate.setObjectName(_fromUtf8("tabCreate")) self.gridLayout_4 = QtGui.QGridLayout(self.tabCreate) self.gridLayout_4.setMargin(6) self.gridLayout_4.setSpacing(6) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnCreate = QtGui.QPushButton(self.tabCreate) self.btnCreate.setEnabled(False) self.btnCreate.setObjectName(_fromUtf8("btnCreate")) self.horizontalLayout_2.addWidget(self.btnCreate) self.btnShow = QtGui.QPushButton(self.tabCreate) self.btnShow.setObjectName(_fromUtf8("btnShow")) self.horizontalLayout_2.addWidget(self.btnShow) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem4) self.gridLayout_4.addLayout(self.horizontalLayout_2, 4, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem5, 5, 0, 1, 1) self.grpPreventiveExam = QtGui.QGroupBox(self.tabCreate) self.grpPreventiveExam.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpPreventiveExam.sizePolicy().hasHeightForWidth()) self.grpPreventiveExam.setSizePolicy(sizePolicy) self.grpPreventiveExam.setFlat(True) self.grpPreventiveExam.setCheckable(True) self.grpPreventiveExam.setChecked(False) self.grpPreventiveExam.setObjectName(_fromUtf8("grpPreventiveExam")) self.gridLayout_6 = QtGui.QGridLayout(self.grpPreventiveExam) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.lblPreventiveExamBirthYear = QtGui.QLabel(self.grpPreventiveExam) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblPreventiveExamBirthYear.sizePolicy().hasHeightForWidth()) self.lblPreventiveExamBirthYear.setSizePolicy(sizePolicy) self.lblPreventiveExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblPreventiveExamBirthYear.setObjectName(_fromUtf8("lblPreventiveExamBirthYear")) self.gridLayout_6.addWidget(self.lblPreventiveExamBirthYear, 0, 0, 1, 1) self.cmbPreventiveExamBirthYear = CMultiComboBox(self.grpPreventiveExam) self.cmbPreventiveExamBirthYear.setObjectName(_fromUtf8("cmbPreventiveExamBirthYear")) self.gridLayout_6.addWidget(self.cmbPreventiveExamBirthYear, 0, 1, 1, 1) self.gridLayout_4.addWidget(self.grpPreventiveExam, 3, 0, 1, 1) self.grpExtExam = QtGui.QGroupBox(self.tabCreate) self.grpExtExam.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpExtExam.sizePolicy().hasHeightForWidth()) self.grpExtExam.setSizePolicy(sizePolicy) self.grpExtExam.setFlat(True) self.grpExtExam.setCheckable(True) self.grpExtExam.setChecked(False) self.grpExtExam.setObjectName(_fromUtf8("grpExtExam")) self.gridLayout_3 = QtGui.QGridLayout(self.grpExtExam) self.gridLayout_3.setSizeConstraint(QtGui.QLayout.SetMaximumSize) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblExtExamBirthYear = QtGui.QLabel(self.grpExtExam) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblExtExamBirthYear.sizePolicy().hasHeightForWidth()) self.lblExtExamBirthYear.setSizePolicy(sizePolicy) self.lblExtExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblExtExamBirthYear.setObjectName(_fromUtf8("lblExtExamBirthYear")) self.gridLayout_3.addWidget(self.lblExtExamBirthYear, 0, 0, 1, 1) self.cmbExtExamBirthYear = CMultiComboBox(self.grpExtExam) self.cmbExtExamBirthYear.setObjectName(_fromUtf8("cmbExtExamBirthYear")) self.gridLayout_3.addWidget(self.cmbExtExamBirthYear, 0, 1, 1, 2) self.gridLayout_4.addWidget(self.grpExtExam, 2, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lblYear = QtGui.QLabel(self.tabCreate) self.lblYear.setObjectName(_fromUtf8("lblYear")) self.horizontalLayout_3.addWidget(self.lblYear) self.cmbYear = CListComboBox(self.tabCreate) self.cmbYear.setObjectName(_fromUtf8("cmbYear")) self.horizontalLayout_3.addWidget(self.cmbYear) self.rbtnQuarter = QtGui.QRadioButton(self.tabCreate) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbtnQuarter.sizePolicy().hasHeightForWidth()) self.rbtnQuarter.setSizePolicy(sizePolicy) self.rbtnQuarter.setChecked(True) self.rbtnQuarter.setObjectName(_fromUtf8("rbtnQuarter")) self.buttonGroup_2 = QtGui.QButtonGroup(ExchangeDialog) self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2")) self.buttonGroup_2.addButton(self.rbtnQuarter) self.horizontalLayout_3.addWidget(self.rbtnQuarter) self.cmbQuarter = CEnumComboBox(self.tabCreate) self.cmbQuarter.setObjectName(_fromUtf8("cmbQuarter")) self.horizontalLayout_3.addWidget(self.cmbQuarter) self.lblQuarter_2 = QtGui.QLabel(self.tabCreate) self.lblQuarter_2.setText(_fromUtf8("")) self.lblQuarter_2.setObjectName(_fromUtf8("lblQuarter_2")) self.horizontalLayout_3.addWidget(self.lblQuarter_2) self.rbtnMonth = QtGui.QRadioButton(self.tabCreate) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbtnMonth.sizePolicy().hasHeightForWidth()) self.rbtnMonth.setSizePolicy(sizePolicy) self.rbtnMonth.setObjectName(_fromUtf8("rbtnMonth")) self.buttonGroup_2.addButton(self.rbtnMonth) self.horizontalLayout_3.addWidget(self.rbtnMonth) self.cmbMonth = CEnumComboBox(self.tabCreate) self.cmbMonth.setEnabled(False) self.cmbMonth.setObjectName(_fromUtf8("cmbMonth")) self.horizontalLayout_3.addWidget(self.cmbMonth) self.chkClientAttachSynced = QtGui.QCheckBox(self.tabCreate) self.chkClientAttachSynced.setChecked(True) self.chkClientAttachSynced.setObjectName(_fromUtf8("chkClientAttachSynced")) self.horizontalLayout_3.addWidget(self.chkClientAttachSynced) spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem6) self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 0, 1, 1) self.grpExtExamDisabled = QtGui.QGroupBox(self.tabCreate) self.grpExtExamDisabled.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpExtExamDisabled.sizePolicy().hasHeightForWidth()) self.grpExtExamDisabled.setSizePolicy(sizePolicy) self.grpExtExamDisabled.setFlat(True) self.grpExtExamDisabled.setCheckable(True) self.grpExtExamDisabled.setChecked(False) self.grpExtExamDisabled.setObjectName(_fromUtf8("grpExtExamDisabled")) self.gridLayout_2 = QtGui.QGridLayout(self.grpExtExamDisabled) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblSocStatusClass = QtGui.QLabel(self.grpExtExamDisabled) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblSocStatusClass.sizePolicy().hasHeightForWidth()) self.lblSocStatusClass.setSizePolicy(sizePolicy) self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass")) self.gridLayout_2.addWidget(self.lblSocStatusClass, 0, 0, 1, 1) self.cmbSocStatusClass = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridLayout_2.addWidget(self.cmbSocStatusClass, 0, 1, 1, 1) self.lblSocStatusType = QtGui.QLabel(self.grpExtExamDisabled) self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType")) self.gridLayout_2.addWidget(self.lblSocStatusType, 1, 0, 1, 1) self.cmbSocStatusType = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridLayout_2.addWidget(self.cmbSocStatusType, 1, 1, 1, 1) self.lblBenefitType = QtGui.QLabel(self.grpExtExamDisabled) self.lblBenefitType.setObjectName(_fromUtf8("lblBenefitType")) self.gridLayout_2.addWidget(self.lblBenefitType, 2, 0, 1, 1) self.cmbBenefitType = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbBenefitType.setObjectName(_fromUtf8("cmbBenefitType")) self.gridLayout_2.addWidget(self.cmbBenefitType, 2, 1, 1, 1) self.gridLayout_4.addWidget(self.grpExtExamDisabled, 1, 0, 1, 1) self.grpExtExamDisabled.raise_() self.grpExtExam.raise_() self.grpPreventiveExam.raise_() self.tabWidget.addTab(self.tabCreate, _fromUtf8("")) self.tabShow = QtGui.QWidget() self.tabShow.setObjectName(_fromUtf8("tabShow")) self.gridLayout_5 = QtGui.QGridLayout(self.tabShow) self.gridLayout_5.setMargin(6) self.gridLayout_5.setSpacing(6) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblClientExaminationPlan = CTableView(self.tabShow) self.tblClientExaminationPlan.setObjectName(_fromUtf8("tblClientExaminationPlan")) self.gridLayout_5.addWidget(self.tblClientExaminationPlan, 0, 0, 1, 1) self.gridTools = QtGui.QHBoxLayout() self.gridTools.setObjectName(_fromUtf8("gridTools")) self.btnReload = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnReload.sizePolicy().hasHeightForWidth()) self.btnReload.setSizePolicy(sizePolicy) self.btnReload.setObjectName(_fromUtf8("btnReload")) self.gridTools.addWidget(self.btnReload) spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridTools.addItem(spacerItem7) self.btnUpdateLists = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnUpdateLists.sizePolicy().hasHeightForWidth()) self.btnUpdateLists.setSizePolicy(sizePolicy) self.btnUpdateLists.setObjectName(_fromUtf8("btnUpdateLists")) self.gridTools.addWidget(self.btnUpdateLists) self.btnGetFactInvoices = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnGetFactInvoices.sizePolicy().hasHeightForWidth()) self.btnGetFactInvoices.setSizePolicy(sizePolicy) self.btnGetFactInvoices.setObjectName(_fromUtf8("btnGetFactInvoices")) self.gridTools.addWidget(self.btnGetFactInvoices) self.line_3 = QtGui.QFrame(self.tabShow) self.line_3.setFrameShape(QtGui.QFrame.VLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.gridTools.addWidget(self.line_3) self.btnSendPlanList = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSendPlanList.sizePolicy().hasHeightForWidth()) self.btnSendPlanList.setSizePolicy(sizePolicy) self.btnSendPlanList.setObjectName(_fromUtf8("btnSendPlanList")) self.gridTools.addWidget(self.btnSendPlanList) self.btnSendPlanExecs = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSendPlanExecs.sizePolicy().hasHeightForWidth()) self.btnSendPlanExecs.setSizePolicy(sizePolicy) self.btnSendPlanExecs.setFlat(False) self.btnSendPlanExecs.setObjectName(_fromUtf8("btnSendPlanExecs")) self.gridTools.addWidget(self.btnSendPlanExecs) self.btnGetFactInfos = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnGetFactInfos.sizePolicy().hasHeightForWidth()) self.btnGetFactInfos.setSizePolicy(sizePolicy) self.btnGetFactInfos.setObjectName(_fromUtf8("btnGetFactInfos")) self.gridTools.addWidget(self.btnGetFactInfos) self.line_4 = QtGui.QFrame(self.tabShow) self.line_4.setFrameShape(QtGui.QFrame.VLine) self.line_4.setFrameShadow(QtGui.QFrame.Sunken) self.line_4.setObjectName(_fromUtf8("line_4")) self.gridTools.addWidget(self.line_4) self.btnExportToFile = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnExportToFile.sizePolicy().hasHeightForWidth()) self.btnExportToFile.setSizePolicy(sizePolicy) self.btnExportToFile.setObjectName(_fromUtf8("btnExportToFile")) self.gridTools.addWidget(self.btnExportToFile) self.gridLayout_5.addLayout(self.gridTools, 7, 0, 1, 1) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setSpacing(4) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblCount = QtGui.QLabel(self.tabShow) self.lblCount.setObjectName(_fromUtf8("lblCount")) self.horizontalLayout_4.addWidget(self.lblCount) spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem8) self.verticalLayout_4.addLayout(self.horizontalLayout_4) self.gridLayout_9 = QtGui.QGridLayout() self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9")) self.cmbMonthFilter = CEnumComboBox(self.tabShow) self.cmbMonthFilter.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbMonthFilter.sizePolicy().hasHeightForWidth()) self.cmbMonthFilter.setSizePolicy(sizePolicy) self.cmbMonthFilter.setObjectName(_fromUtf8("cmbMonthFilter")) self.gridLayout_9.addWidget(self.cmbMonthFilter, 0, 7, 1, 1) self.cmbExamKind = CEnumComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbExamKind.sizePolicy().hasHeightForWidth()) self.cmbExamKind.setSizePolicy(sizePolicy) self.cmbExamKind.setObjectName(_fromUtf8("cmbExamKind")) self.gridLayout_9.addWidget(self.cmbExamKind, 0, 1, 1, 1) self.lblExamKind = QtGui.QLabel(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblExamKind.sizePolicy().hasHeightForWidth()) self.lblExamKind.setSizePolicy(sizePolicy) self.lblExamKind.setObjectName(_fromUtf8("lblExamKind")) self.gridLayout_9.addWidget(self.lblExamKind, 0, 0, 1, 1) self.label = QtGui.QLabel(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_9.addWidget(self.label, 0, 2, 1, 1) self.radioButton_2 = QtGui.QRadioButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth()) self.radioButton_2.setSizePolicy(sizePolicy) self.radioButton_2.setObjectName(_fromUtf8("radioButton_2")) self.buttonGroup = QtGui.QButtonGroup(ExchangeDialog) self.buttonGroup.setObjectName(_fromUtf8("buttonGroup")) self.buttonGroup.addButton(self.radioButton_2) self.gridLayout_9.addWidget(self.radioButton_2, 0, 6, 1, 1) self.radioButton = QtGui.QRadioButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.radioButton.sizePolicy().hasHeightForWidth()) self.radioButton.setSizePolicy(sizePolicy) self.radioButton.setChecked(True) self.radioButton.setObjectName(_fromUtf8("radioButton")) self.buttonGroup.addButton(self.radioButton) self.gridLayout_9.addWidget(self.radioButton, 0, 4, 1, 1) self.cmbYearFilter = CListComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbYearFilter.sizePolicy().hasHeightForWidth()) self.cmbYearFilter.setSizePolicy(sizePolicy) self.cmbYearFilter.setObjectName(_fromUtf8("cmbYearFilter")) self.gridLayout_9.addWidget(self.cmbYearFilter, 0, 3, 1, 1) self.cmbQuarterFilter = CEnumComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbQuarterFilter.sizePolicy().hasHeightForWidth()) self.cmbQuarterFilter.setSizePolicy(sizePolicy) self.cmbQuarterFilter.setObjectName(_fromUtf8("cmbQuarterFilter")) self.gridLayout_9.addWidget(self.cmbQuarterFilter, 0, 5, 1, 1) spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_9.addItem(spacerItem9, 0, 11, 1, 1) self.chkNotFinished = QtGui.QCheckBox(self.tabShow) self.chkNotFinished.setObjectName(_fromUtf8("chkNotFinished")) self.gridLayout_9.addWidget(self.chkNotFinished, 0, 8, 1, 1) self.chkHasErrors = QtGui.QCheckBox(self.tabShow) self.chkHasErrors.setObjectName(_fromUtf8("chkHasErrors")) self.gridLayout_9.addWidget(self.chkHasErrors, 0, 9, 1, 1) self.chkSendSelected = QtGui.QCheckBox(self.tabShow) self.chkSendSelected.setObjectName(_fromUtf8("chkSendSelected")) self.gridLayout_9.addWidget(self.chkSendSelected, 0, 10, 1, 1) self.verticalLayout_4.addLayout(self.gridLayout_9) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.lblOrgStructureFilter = QtGui.QLabel(self.tabShow) self.lblOrgStructureFilter.setObjectName(_fromUtf8("lblOrgStructureFilter")) self.horizontalLayout_5.addWidget(self.lblOrgStructureFilter) self.cmbOrgStructureFilter = COrgStructureComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbOrgStructureFilter.sizePolicy().hasHeightForWidth()) self.cmbOrgStructureFilter.setSizePolicy(sizePolicy) self.cmbOrgStructureFilter.setObjectName(_fromUtf8("cmbOrgStructureFilter")) self.horizontalLayout_5.addWidget(self.cmbOrgStructureFilter) spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem10) self.verticalLayout_4.addLayout(self.horizontalLayout_5) self.gridLayout_5.addLayout(self.verticalLayout_4, 3, 0, 1, 1) self.tabWidget.addTab(self.tabShow, _fromUtf8("")) self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) self.retranslateUi(ExchangeDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.radioButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarterFilter.setEnabled) QtCore.QObject.connect(self.radioButton_2, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonthFilter.setEnabled) QtCore.QObject.connect(self.rbtnQuarter, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarter.setEnabled) QtCore.QObject.connect(self.rbtnMonth, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonth.setEnabled) QtCore.QMetaObject.connectSlotsByName(ExchangeDialog) ExchangeDialog.setTabOrder(self.tabWidget, self.edtPlanningYear) ExchangeDialog.setTabOrder(self.edtPlanningYear, self.cmbPlanningMonth) ExchangeDialog.setTabOrder(self.cmbPlanningMonth, self.btnGetPlanQuantities) ExchangeDialog.setTabOrder(self.btnGetPlanQuantities, self.tblPlanQuantities) ExchangeDialog.setTabOrder(self.tblPlanQuantities, self.btnGetPlanDates) ExchangeDialog.setTabOrder(self.btnGetPlanDates, self.btnSendPlanDates) ExchangeDialog.setTabOrder(self.btnSendPlanDates, self.tblPlanDates) ExchangeDialog.setTabOrder(self.tblPlanDates, self.btnGetContacts) ExchangeDialog.setTabOrder(self.btnGetContacts, self.btnSendContacts) ExchangeDialog.setTabOrder(self.btnSendContacts, self.tblContacts) ExchangeDialog.setTabOrder(self.tblContacts, self.btnClose) ExchangeDialog.setTabOrder(self.btnClose, self.cmbYear) ExchangeDialog.setTabOrder(self.cmbYear, self.rbtnQuarter) ExchangeDialog.setTabOrder(self.rbtnQuarter, self.cmbQuarter) ExchangeDialog.setTabOrder(self.cmbQuarter, self.rbtnMonth) ExchangeDialog.setTabOrder(self.rbtnMonth, self.cmbMonth) ExchangeDialog.setTabOrder(self.cmbMonth, self.chkClientAttachSynced) ExchangeDialog.setTabOrder(self.chkClientAttachSynced, self.grpExtExamDisabled) ExchangeDialog.setTabOrder(self.grpExtExamDisabled, self.cmbSocStatusClass) ExchangeDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType) ExchangeDialog.setTabOrder(self.cmbSocStatusType, self.cmbBenefitType) ExchangeDialog.setTabOrder(self.cmbBenefitType, self.grpExtExam) ExchangeDialog.setTabOrder(self.grpExtExam, self.cmbExtExamBirthYear) ExchangeDialog.setTabOrder(self.cmbExtExamBirthYear, self.grpPreventiveExam) ExchangeDialog.setTabOrder(self.grpPreventiveExam, self.cmbPreventiveExamBirthYear) ExchangeDialog.setTabOrder(self.cmbPreventiveExamBirthYear, self.btnCreate) ExchangeDialog.setTabOrder(self.btnCreate, self.btnShow) ExchangeDialog.setTabOrder(self.btnShow, self.tblClientExaminationPlan) ExchangeDialog.setTabOrder(self.tblClientExaminationPlan, self.cmbExamKind) ExchangeDialog.setTabOrder(self.cmbExamKind, self.cmbYearFilter) ExchangeDialog.setTabOrder(self.cmbYearFilter, self.radioButton) ExchangeDialog.setTabOrder(self.radioButton, self.cmbQuarterFilter) ExchangeDialog.setTabOrder(self.cmbQuarterFilter, self.radioButton_2) ExchangeDialog.setTabOrder(self.radioButton_2, self.cmbMonthFilter) ExchangeDialog.setTabOrder(self.cmbMonthFilter, self.chkNotFinished) ExchangeDialog.setTabOrder(self.chkNotFinished, self.chkHasErrors) ExchangeDialog.setTabOrder(self.chkHasErrors, self.cmbOrgStructureFilter) ExchangeDialog.setTabOrder(self.cmbOrgStructureFilter, self.btnReload) ExchangeDialog.setTabOrder(self.btnReload, self.btnUpdateLists) ExchangeDialog.setTabOrder(self.btnUpdateLists, self.btnGetFactInvoices) ExchangeDialog.setTabOrder(self.btnGetFactInvoices, self.btnSendPlanList) ExchangeDialog.setTabOrder(self.btnSendPlanList, self.btnSendPlanExecs) ExchangeDialog.setTabOrder(self.btnSendPlanExecs, self.btnGetFactInfos) ExchangeDialog.setTabOrder(self.btnGetFactInfos, self.btnExportToFile)
class Ui_ExchangeDialog(object): def setupUi(self, ExchangeDialog): ExchangeDialog.setObjectName(_fromUtf8("ExchangeDialog")) ExchangeDialog.resize(1244, 770) self.gridLayout = QtGui.QGridLayout(ExchangeDialog) self.gridLayout.setMargin(6) self.gridLayout.setSpacing(6) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(8) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.btnClose = QtGui.QPushButton(ExchangeDialog) self.btnClose.setObjectName(_fromUtf8("btnClose")) self.horizontalLayout.addWidget(self.btnClose) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1) self.tabWidget = QtGui.QTabWidget(ExchangeDialog) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabPlanning = QtGui.QWidget() self.tabPlanning.setObjectName(_fromUtf8("tabPlanning")) self.gridLayout_8 = QtGui.QGridLayout(self.tabPlanning) self.gridLayout_8.setMargin(6) self.gridLayout_8.setSpacing(6) self.gridLayout_8.setObjectName(_fromUtf8("gridLayout_8")) self.gridLayout_7 = QtGui.QGridLayout() self.gridLayout_7.setSpacing(4) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) self.line = QtGui.QFrame(self.tabPlanning) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.gridLayout_7.addWidget(self.line, 2, 0, 1, 2) self.tblPlanQuantities = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(40) sizePolicy.setHeightForWidth(self.tblPlanQuantities.sizePolicy().hasHeightForWidth()) self.tblPlanQuantities.setSizePolicy(sizePolicy) self.tblPlanQuantities.setObjectName(_fromUtf8("tblPlanQuantities")) self.gridLayout_7.addWidget(self.tblPlanQuantities, 1, 1, 1, 1) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setSpacing(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.lblPLanQuantities = QtGui.QLabel(self.tabPlanning) self.lblPLanQuantities.setWordWrap(True) self.lblPLanQuantities.setObjectName(_fromUtf8("lblPLanQuantities")) self.verticalLayout.addWidget(self.lblPLanQuantities) self.gridLayout_10 = QtGui.QGridLayout() self.gridLayout_10.setObjectName(_fromUtf8("gridLayout_10")) self.edtPlanningYear = QtGui.QSpinBox(self.tabPlanning) self.edtPlanningYear.setMinimum(2016) self.edtPlanningYear.setMaximum(2018) self.edtPlanningYear.setProperty("value", 2017) self.edtPlanningYear.setObjectName(_fromUtf8("edtPlanningYear")) self.gridLayout_10.addWidget(self.edtPlanningYear, 0, 1, 1, 1) self.lblPlanningYear = QtGui.QLabel(self.tabPlanning) self.lblPlanningYear.setObjectName(_fromUtf8("lblPlanningYear")) self.gridLayout_10.addWidget(self.lblPlanningYear, 0, 0, 1, 1) self.lblPlanningMonth = QtGui.QLabel(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblPlanningMonth.sizePolicy().hasHeightForWidth()) self.lblPlanningMonth.setSizePolicy(sizePolicy) self.lblPlanningMonth.setObjectName(_fromUtf8("lblPlanningMonth")) self.gridLayout_10.addWidget(self.lblPlanningMonth, 1, 0, 1, 1) self.cmbPlanningMonth = CEnumComboBox(self.tabPlanning) self.cmbPlanningMonth.setObjectName(_fromUtf8("cmbPlanningMonth")) self.gridLayout_10.addWidget(self.cmbPlanningMonth, 1, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout_10) self.btnGetPlanQuantities = QtGui.QPushButton(self.tabPlanning) self.btnGetPlanQuantities.setObjectName(_fromUtf8("btnGetPlanQuantities")) self.verticalLayout.addWidget(self.btnGetPlanQuantities) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem1) self.gridLayout_7.addLayout(self.verticalLayout, 1, 0, 1, 1) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.lblPlanDates = QtGui.QLabel(self.tabPlanning) self.lblPlanDates.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.lblPlanDates.setWordWrap(True) self.lblPlanDates.setObjectName(_fromUtf8("lblPlanDates")) self.verticalLayout_2.addWidget(self.lblPlanDates) self.btnGetPlanDates = QtGui.QPushButton(self.tabPlanning) self.btnGetPlanDates.setObjectName(_fromUtf8("btnGetPlanDates")) self.verticalLayout_2.addWidget(self.btnGetPlanDates) self.btnSendPlanDates = QtGui.QPushButton(self.tabPlanning) self.btnSendPlanDates.setObjectName(_fromUtf8("btnSendPlanDates")) self.verticalLayout_2.addWidget(self.btnSendPlanDates) spacerItem2 = QtGui.QSpacerItem(20, 80, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem2) self.gridLayout_7.addLayout(self.verticalLayout_2, 3, 0, 1, 1) self.tblPlanDates = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(80) sizePolicy.setHeightForWidth(self.tblPlanDates.sizePolicy().hasHeightForWidth()) self.tblPlanDates.setSizePolicy(sizePolicy) self.tblPlanDates.setObjectName(_fromUtf8("tblPlanDates")) self.gridLayout_7.addWidget(self.tblPlanDates, 3, 1, 1, 1) self.tblContacts = CItemListView(self.tabPlanning) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(40) sizePolicy.setHeightForWidth(self.tblContacts.sizePolicy().hasHeightForWidth()) self.tblContacts.setSizePolicy(sizePolicy) self.tblContacts.setObjectName(_fromUtf8("tblContacts")) self.gridLayout_7.addWidget(self.tblContacts, 5, 1, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.lblContacts = QtGui.QLabel(self.tabPlanning) self.lblContacts.setWordWrap(True) self.lblContacts.setObjectName(_fromUtf8("lblContacts")) self.verticalLayout_3.addWidget(self.lblContacts) self.btnGetContacts = QtGui.QPushButton(self.tabPlanning) self.btnGetContacts.setObjectName(_fromUtf8("btnGetContacts")) self.verticalLayout_3.addWidget(self.btnGetContacts) self.btnSendContacts = QtGui.QPushButton(self.tabPlanning) self.btnSendContacts.setObjectName(_fromUtf8("btnSendContacts")) self.verticalLayout_3.addWidget(self.btnSendContacts) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem3) self.gridLayout_7.addLayout(self.verticalLayout_3, 5, 0, 1, 1) self.line_2 = QtGui.QFrame(self.tabPlanning) self.line_2.setFrameShape(QtGui.QFrame.HLine) self.line_2.setFrameShadow(QtGui.QFrame.Sunken) self.line_2.setObjectName(_fromUtf8("line_2")) self.gridLayout_7.addWidget(self.line_2, 4, 0, 1, 2) self.gridLayout_8.addLayout(self.gridLayout_7, 0, 0, 1, 1) self.tabWidget.addTab(self.tabPlanning, _fromUtf8("")) self.tabCreate = QtGui.QWidget() self.tabCreate.setObjectName(_fromUtf8("tabCreate")) self.gridLayout_4 = QtGui.QGridLayout(self.tabCreate) self.gridLayout_4.setMargin(6) self.gridLayout_4.setSpacing(6) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.btnCreate = QtGui.QPushButton(self.tabCreate) self.btnCreate.setEnabled(False) self.btnCreate.setObjectName(_fromUtf8("btnCreate")) self.horizontalLayout_2.addWidget(self.btnCreate) self.btnShow = QtGui.QPushButton(self.tabCreate) self.btnShow.setObjectName(_fromUtf8("btnShow")) self.horizontalLayout_2.addWidget(self.btnShow) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem4) self.gridLayout_4.addLayout(self.horizontalLayout_2, 4, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem5, 5, 0, 1, 1) self.grpPreventiveExam = QtGui.QGroupBox(self.tabCreate) self.grpPreventiveExam.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpPreventiveExam.sizePolicy().hasHeightForWidth()) self.grpPreventiveExam.setSizePolicy(sizePolicy) self.grpPreventiveExam.setFlat(True) self.grpPreventiveExam.setCheckable(True) self.grpPreventiveExam.setChecked(False) self.grpPreventiveExam.setObjectName(_fromUtf8("grpPreventiveExam")) self.gridLayout_6 = QtGui.QGridLayout(self.grpPreventiveExam) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.lblPreventiveExamBirthYear = QtGui.QLabel(self.grpPreventiveExam) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblPreventiveExamBirthYear.sizePolicy().hasHeightForWidth()) self.lblPreventiveExamBirthYear.setSizePolicy(sizePolicy) self.lblPreventiveExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblPreventiveExamBirthYear.setObjectName(_fromUtf8("lblPreventiveExamBirthYear")) self.gridLayout_6.addWidget(self.lblPreventiveExamBirthYear, 0, 0, 1, 1) self.cmbPreventiveExamBirthYear = CMultiComboBox(self.grpPreventiveExam) self.cmbPreventiveExamBirthYear.setObjectName(_fromUtf8("cmbPreventiveExamBirthYear")) self.gridLayout_6.addWidget(self.cmbPreventiveExamBirthYear, 0, 1, 1, 1) self.gridLayout_4.addWidget(self.grpPreventiveExam, 3, 0, 1, 1) self.grpExtExam = QtGui.QGroupBox(self.tabCreate) self.grpExtExam.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpExtExam.sizePolicy().hasHeightForWidth()) self.grpExtExam.setSizePolicy(sizePolicy) self.grpExtExam.setFlat(True) self.grpExtExam.setCheckable(True) self.grpExtExam.setChecked(False) self.grpExtExam.setObjectName(_fromUtf8("grpExtExam")) self.gridLayout_3 = QtGui.QGridLayout(self.grpExtExam) self.gridLayout_3.setSizeConstraint(QtGui.QLayout.SetMaximumSize) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.lblExtExamBirthYear = QtGui.QLabel(self.grpExtExam) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblExtExamBirthYear.sizePolicy().hasHeightForWidth()) self.lblExtExamBirthYear.setSizePolicy(sizePolicy) self.lblExtExamBirthYear.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.lblExtExamBirthYear.setObjectName(_fromUtf8("lblExtExamBirthYear")) self.gridLayout_3.addWidget(self.lblExtExamBirthYear, 0, 0, 1, 1) self.cmbExtExamBirthYear = CMultiComboBox(self.grpExtExam) self.cmbExtExamBirthYear.setObjectName(_fromUtf8("cmbExtExamBirthYear")) self.gridLayout_3.addWidget(self.cmbExtExamBirthYear, 0, 1, 1, 2) self.gridLayout_4.addWidget(self.grpExtExam, 2, 0, 1, 1) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lblYear = QtGui.QLabel(self.tabCreate) self.lblYear.setObjectName(_fromUtf8("lblYear")) self.horizontalLayout_3.addWidget(self.lblYear) self.cmbYear = CListComboBox(self.tabCreate) self.cmbYear.setObjectName(_fromUtf8("cmbYear")) self.horizontalLayout_3.addWidget(self.cmbYear) self.rbtnQuarter = QtGui.QRadioButton(self.tabCreate) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbtnQuarter.sizePolicy().hasHeightForWidth()) self.rbtnQuarter.setSizePolicy(sizePolicy) self.rbtnQuarter.setChecked(True) self.rbtnQuarter.setObjectName(_fromUtf8("rbtnQuarter")) self.buttonGroup_2 = QtGui.QButtonGroup(ExchangeDialog) self.buttonGroup_2.setObjectName(_fromUtf8("buttonGroup_2")) self.buttonGroup_2.addButton(self.rbtnQuarter) self.horizontalLayout_3.addWidget(self.rbtnQuarter) self.cmbQuarter = CEnumComboBox(self.tabCreate) self.cmbQuarter.setObjectName(_fromUtf8("cmbQuarter")) self.horizontalLayout_3.addWidget(self.cmbQuarter) self.lblQuarter_2 = QtGui.QLabel(self.tabCreate) self.lblQuarter_2.setText(_fromUtf8("")) self.lblQuarter_2.setObjectName(_fromUtf8("lblQuarter_2")) self.horizontalLayout_3.addWidget(self.lblQuarter_2) self.rbtnMonth = QtGui.QRadioButton(self.tabCreate) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.rbtnMonth.sizePolicy().hasHeightForWidth()) self.rbtnMonth.setSizePolicy(sizePolicy) self.rbtnMonth.setObjectName(_fromUtf8("rbtnMonth")) self.buttonGroup_2.addButton(self.rbtnMonth) self.horizontalLayout_3.addWidget(self.rbtnMonth) self.cmbMonth = CEnumComboBox(self.tabCreate) self.cmbMonth.setEnabled(False) self.cmbMonth.setObjectName(_fromUtf8("cmbMonth")) self.horizontalLayout_3.addWidget(self.cmbMonth) self.chkClientAttachSynced = QtGui.QCheckBox(self.tabCreate) self.chkClientAttachSynced.setChecked(True) self.chkClientAttachSynced.setObjectName(_fromUtf8("chkClientAttachSynced")) self.horizontalLayout_3.addWidget(self.chkClientAttachSynced) spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem6) self.gridLayout_4.addLayout(self.horizontalLayout_3, 0, 0, 1, 1) self.grpExtExamDisabled = QtGui.QGroupBox(self.tabCreate) self.grpExtExamDisabled.setEnabled(True) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.grpExtExamDisabled.sizePolicy().hasHeightForWidth()) self.grpExtExamDisabled.setSizePolicy(sizePolicy) self.grpExtExamDisabled.setFlat(True) self.grpExtExamDisabled.setCheckable(True) self.grpExtExamDisabled.setChecked(False) self.grpExtExamDisabled.setObjectName(_fromUtf8("grpExtExamDisabled")) self.gridLayout_2 = QtGui.QGridLayout(self.grpExtExamDisabled) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.lblSocStatusClass = QtGui.QLabel(self.grpExtExamDisabled) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblSocStatusClass.sizePolicy().hasHeightForWidth()) self.lblSocStatusClass.setSizePolicy(sizePolicy) self.lblSocStatusClass.setObjectName(_fromUtf8("lblSocStatusClass")) self.gridLayout_2.addWidget(self.lblSocStatusClass, 0, 0, 1, 1) self.cmbSocStatusClass = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbSocStatusClass.setObjectName(_fromUtf8("cmbSocStatusClass")) self.gridLayout_2.addWidget(self.cmbSocStatusClass, 0, 1, 1, 1) self.lblSocStatusType = QtGui.QLabel(self.grpExtExamDisabled) self.lblSocStatusType.setObjectName(_fromUtf8("lblSocStatusType")) self.gridLayout_2.addWidget(self.lblSocStatusType, 1, 0, 1, 1) self.cmbSocStatusType = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbSocStatusType.setObjectName(_fromUtf8("cmbSocStatusType")) self.gridLayout_2.addWidget(self.cmbSocStatusType, 1, 1, 1, 1) self.lblBenefitType = QtGui.QLabel(self.grpExtExamDisabled) self.lblBenefitType.setObjectName(_fromUtf8("lblBenefitType")) self.gridLayout_2.addWidget(self.lblBenefitType, 2, 0, 1, 1) self.cmbBenefitType = CRBMultiComboBox(self.grpExtExamDisabled) self.cmbBenefitType.setObjectName(_fromUtf8("cmbBenefitType")) self.gridLayout_2.addWidget(self.cmbBenefitType, 2, 1, 1, 1) self.gridLayout_4.addWidget(self.grpExtExamDisabled, 1, 0, 1, 1) self.grpExtExamDisabled.raise_() self.grpExtExam.raise_() self.grpPreventiveExam.raise_() self.tabWidget.addTab(self.tabCreate, _fromUtf8("")) self.tabShow = QtGui.QWidget() self.tabShow.setObjectName(_fromUtf8("tabShow")) self.gridLayout_5 = QtGui.QGridLayout(self.tabShow) self.gridLayout_5.setMargin(6) self.gridLayout_5.setSpacing(6) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.tblClientExaminationPlan = CTableView(self.tabShow) self.tblClientExaminationPlan.setObjectName(_fromUtf8("tblClientExaminationPlan")) self.gridLayout_5.addWidget(self.tblClientExaminationPlan, 0, 0, 1, 1) self.gridTools = QtGui.QHBoxLayout() self.gridTools.setObjectName(_fromUtf8("gridTools")) self.btnReload = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnReload.sizePolicy().hasHeightForWidth()) self.btnReload.setSizePolicy(sizePolicy) self.btnReload.setObjectName(_fromUtf8("btnReload")) self.gridTools.addWidget(self.btnReload) spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridTools.addItem(spacerItem7) self.btnUpdateLists = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnUpdateLists.sizePolicy().hasHeightForWidth()) self.btnUpdateLists.setSizePolicy(sizePolicy) self.btnUpdateLists.setObjectName(_fromUtf8("btnUpdateLists")) self.gridTools.addWidget(self.btnUpdateLists) self.btnGetFactInvoices = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnGetFactInvoices.sizePolicy().hasHeightForWidth()) self.btnGetFactInvoices.setSizePolicy(sizePolicy) self.btnGetFactInvoices.setObjectName(_fromUtf8("btnGetFactInvoices")) self.gridTools.addWidget(self.btnGetFactInvoices) self.line_3 = QtGui.QFrame(self.tabShow) self.line_3.setFrameShape(QtGui.QFrame.VLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.gridTools.addWidget(self.line_3) self.btnSendPlanList = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSendPlanList.sizePolicy().hasHeightForWidth()) self.btnSendPlanList.setSizePolicy(sizePolicy) self.btnSendPlanList.setObjectName(_fromUtf8("btnSendPlanList")) self.gridTools.addWidget(self.btnSendPlanList) self.btnSendPlanExecs = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnSendPlanExecs.sizePolicy().hasHeightForWidth()) self.btnSendPlanExecs.setSizePolicy(sizePolicy) self.btnSendPlanExecs.setFlat(False) self.btnSendPlanExecs.setObjectName(_fromUtf8("btnSendPlanExecs")) self.gridTools.addWidget(self.btnSendPlanExecs) self.btnGetFactInfos = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnGetFactInfos.sizePolicy().hasHeightForWidth()) self.btnGetFactInfos.setSizePolicy(sizePolicy) self.btnGetFactInfos.setObjectName(_fromUtf8("btnGetFactInfos")) self.gridTools.addWidget(self.btnGetFactInfos) self.line_4 = QtGui.QFrame(self.tabShow) self.line_4.setFrameShape(QtGui.QFrame.VLine) self.line_4.setFrameShadow(QtGui.QFrame.Sunken) self.line_4.setObjectName(_fromUtf8("line_4")) self.gridTools.addWidget(self.line_4) self.btnExportToFile = QtGui.QPushButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnExportToFile.sizePolicy().hasHeightForWidth()) self.btnExportToFile.setSizePolicy(sizePolicy) self.btnExportToFile.setObjectName(_fromUtf8("btnExportToFile")) self.gridTools.addWidget(self.btnExportToFile) self.gridLayout_5.addLayout(self.gridTools, 7, 0, 1, 1) self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setSpacing(4) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.lblCount = QtGui.QLabel(self.tabShow) self.lblCount.setObjectName(_fromUtf8("lblCount")) self.horizontalLayout_4.addWidget(self.lblCount) spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem8) self.verticalLayout_4.addLayout(self.horizontalLayout_4) self.gridLayout_9 = QtGui.QGridLayout() self.gridLayout_9.setObjectName(_fromUtf8("gridLayout_9")) self.cmbMonthFilter = CEnumComboBox(self.tabShow) self.cmbMonthFilter.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbMonthFilter.sizePolicy().hasHeightForWidth()) self.cmbMonthFilter.setSizePolicy(sizePolicy) self.cmbMonthFilter.setObjectName(_fromUtf8("cmbMonthFilter")) self.gridLayout_9.addWidget(self.cmbMonthFilter, 0, 7, 1, 1) self.cmbExamKind = CEnumComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbExamKind.sizePolicy().hasHeightForWidth()) self.cmbExamKind.setSizePolicy(sizePolicy) self.cmbExamKind.setObjectName(_fromUtf8("cmbExamKind")) self.gridLayout_9.addWidget(self.cmbExamKind, 0, 1, 1, 1) self.lblExamKind = QtGui.QLabel(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.lblExamKind.sizePolicy().hasHeightForWidth()) self.lblExamKind.setSizePolicy(sizePolicy) self.lblExamKind.setObjectName(_fromUtf8("lblExamKind")) self.gridLayout_9.addWidget(self.lblExamKind, 0, 0, 1, 1) self.label = QtGui.QLabel(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_9.addWidget(self.label, 0, 2, 1, 1) self.radioButton_2 = QtGui.QRadioButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth()) self.radioButton_2.setSizePolicy(sizePolicy) self.radioButton_2.setObjectName(_fromUtf8("radioButton_2")) self.buttonGroup = QtGui.QButtonGroup(ExchangeDialog) self.buttonGroup.setObjectName(_fromUtf8("buttonGroup")) self.buttonGroup.addButton(self.radioButton_2) self.gridLayout_9.addWidget(self.radioButton_2, 0, 6, 1, 1) self.radioButton = QtGui.QRadioButton(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.radioButton.sizePolicy().hasHeightForWidth()) self.radioButton.setSizePolicy(sizePolicy) self.radioButton.setChecked(True) self.radioButton.setObjectName(_fromUtf8("radioButton")) self.buttonGroup.addButton(self.radioButton) self.gridLayout_9.addWidget(self.radioButton, 0, 4, 1, 1) self.cmbYearFilter = CListComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbYearFilter.sizePolicy().hasHeightForWidth()) self.cmbYearFilter.setSizePolicy(sizePolicy) self.cmbYearFilter.setObjectName(_fromUtf8("cmbYearFilter")) self.gridLayout_9.addWidget(self.cmbYearFilter, 0, 3, 1, 1) self.cmbQuarterFilter = CEnumComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbQuarterFilter.sizePolicy().hasHeightForWidth()) self.cmbQuarterFilter.setSizePolicy(sizePolicy) self.cmbQuarterFilter.setObjectName(_fromUtf8("cmbQuarterFilter")) self.gridLayout_9.addWidget(self.cmbQuarterFilter, 0, 5, 1, 1) spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_9.addItem(spacerItem9, 0, 11, 1, 1) self.chkNotFinished = QtGui.QCheckBox(self.tabShow) self.chkNotFinished.setObjectName(_fromUtf8("chkNotFinished")) self.gridLayout_9.addWidget(self.chkNotFinished, 0, 8, 1, 1) self.chkHasErrors = QtGui.QCheckBox(self.tabShow) self.chkHasErrors.setObjectName(_fromUtf8("chkHasErrors")) self.gridLayout_9.addWidget(self.chkHasErrors, 0, 9, 1, 1) self.chkSendSelected = QtGui.QCheckBox(self.tabShow) self.chkSendSelected.setObjectName(_fromUtf8("chkSendSelected")) self.gridLayout_9.addWidget(self.chkSendSelected, 0, 10, 1, 1) self.verticalLayout_4.addLayout(self.gridLayout_9) self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5")) self.lblOrgStructureFilter = QtGui.QLabel(self.tabShow) self.lblOrgStructureFilter.setObjectName(_fromUtf8("lblOrgStructureFilter")) self.horizontalLayout_5.addWidget(self.lblOrgStructureFilter) self.cmbOrgStructureFilter = COrgStructureComboBox(self.tabShow) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbOrgStructureFilter.sizePolicy().hasHeightForWidth()) self.cmbOrgStructureFilter.setSizePolicy(sizePolicy) self.cmbOrgStructureFilter.setObjectName(_fromUtf8("cmbOrgStructureFilter")) self.horizontalLayout_5.addWidget(self.cmbOrgStructureFilter) spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem10) self.verticalLayout_4.addLayout(self.horizontalLayout_5) self.gridLayout_5.addLayout(self.verticalLayout_4, 3, 0, 1, 1) self.tabWidget.addTab(self.tabShow, _fromUtf8("")) self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1) self.retranslateUi(ExchangeDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.radioButton, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarterFilter.setEnabled) QtCore.QObject.connect(self.radioButton_2, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonthFilter.setEnabled) QtCore.QObject.connect(self.rbtnQuarter, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbQuarter.setEnabled) QtCore.QObject.connect(self.rbtnMonth, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMonth.setEnabled) QtCore.QMetaObject.connectSlotsByName(ExchangeDialog) ExchangeDialog.setTabOrder(self.tabWidget, self.edtPlanningYear) ExchangeDialog.setTabOrder(self.edtPlanningYear, self.cmbPlanningMonth) ExchangeDialog.setTabOrder(self.cmbPlanningMonth, self.btnGetPlanQuantities) ExchangeDialog.setTabOrder(self.btnGetPlanQuantities, self.tblPlanQuantities) ExchangeDialog.setTabOrder(self.tblPlanQuantities, self.btnGetPlanDates) ExchangeDialog.setTabOrder(self.btnGetPlanDates, self.btnSendPlanDates) ExchangeDialog.setTabOrder(self.btnSendPlanDates, self.tblPlanDates) ExchangeDialog.setTabOrder(self.tblPlanDates, self.btnGetContacts) ExchangeDialog.setTabOrder(self.btnGetContacts, self.btnSendContacts) ExchangeDialog.setTabOrder(self.btnSendContacts, self.tblContacts) ExchangeDialog.setTabOrder(self.tblContacts, self.btnClose) ExchangeDialog.setTabOrder(self.btnClose, self.cmbYear) ExchangeDialog.setTabOrder(self.cmbYear, self.rbtnQuarter) ExchangeDialog.setTabOrder(self.rbtnQuarter, self.cmbQuarter) ExchangeDialog.setTabOrder(self.cmbQuarter, self.rbtnMonth) ExchangeDialog.setTabOrder(self.rbtnMonth, self.cmbMonth) ExchangeDialog.setTabOrder(self.cmbMonth, self.chkClientAttachSynced) ExchangeDialog.setTabOrder(self.chkClientAttachSynced, self.grpExtExamDisabled) ExchangeDialog.setTabOrder(self.grpExtExamDisabled, self.cmbSocStatusClass) ExchangeDialog.setTabOrder(self.cmbSocStatusClass, self.cmbSocStatusType) ExchangeDialog.setTabOrder(self.cmbSocStatusType, self.cmbBenefitType) ExchangeDialog.setTabOrder(self.cmbBenefitType, self.grpExtExam) ExchangeDialog.setTabOrder(self.grpExtExam, self.cmbExtExamBirthYear) ExchangeDialog.setTabOrder(self.cmbExtExamBirthYear, self.grpPreventiveExam) ExchangeDialog.setTabOrder(self.grpPreventiveExam, self.cmbPreventiveExamBirthYear) ExchangeDialog.setTabOrder(self.cmbPreventiveExamBirthYear, self.btnCreate) ExchangeDialog.setTabOrder(self.btnCreate, self.btnShow) ExchangeDialog.setTabOrder(self.btnShow, self.tblClientExaminationPlan) ExchangeDialog.setTabOrder(self.tblClientExaminationPlan, self.cmbExamKind) ExchangeDialog.setTabOrder(self.cmbExamKind, self.cmbYearFilter) ExchangeDialog.setTabOrder(self.cmbYearFilter, self.radioButton) ExchangeDialog.setTabOrder(self.radioButton, self.cmbQuarterFilter) ExchangeDialog.setTabOrder(self.cmbQuarterFilter, self.radioButton_2) ExchangeDialog.setTabOrder(self.radioButton_2, self.cmbMonthFilter) ExchangeDialog.setTabOrder(self.cmbMonthFilter, self.chkNotFinished) ExchangeDialog.setTabOrder(self.chkNotFinished, self.chkHasErrors) ExchangeDialog.setTabOrder(self.chkHasErrors, self.cmbOrgStructureFilter) ExchangeDialog.setTabOrder(self.cmbOrgStructureFilter, self.btnReload) ExchangeDialog.setTabOrder(self.btnReload, self.btnUpdateLists) ExchangeDialog.setTabOrder(self.btnUpdateLists, self.btnGetFactInvoices) ExchangeDialog.setTabOrder(self.btnGetFactInvoices, self.btnSendPlanList) ExchangeDialog.setTabOrder(self.btnSendPlanList, self.btnSendPlanExecs) ExchangeDialog.setTabOrder(self.btnSendPlanExecs, self.btnGetFactInfos) ExchangeDialog.setTabOrder(self.btnGetFactInfos, self.btnExportToFile) def retranslateUi(self, ExchangeDialog): ExchangeDialog.setWindowTitle(_translate("ExchangeDialog", "Диспансеризация и профилактические осмотры", None)) self.btnClose.setText(_translate("ExchangeDialog", "Закрыть", None)) self.lblPLanQuantities.setText(_translate("ExchangeDialog", "Планируемое количество на:", None)) self.lblPlanningYear.setText(_translate("ExchangeDialog", "Год", None)) self.lblPlanningMonth.setText(_translate("ExchangeDialog", "Месяц", None)) self.btnGetPlanQuantities.setText(_translate("ExchangeDialog", "Получить данные", None)) self.lblPlanDates.setText(_translate("ExchangeDialog", "Планируемые даты проведения проф. мероприятий", None)) self.btnGetPlanDates.setText(_translate("ExchangeDialog", "Получить данные", None)) self.btnSendPlanDates.setText(_translate("ExchangeDialog", "Отправить данные", None)) self.lblContacts.setText(_translate("ExchangeDialog", "Список контактных телефонов МО по которым можно получить справочную информацию о проведении проф. мероприятий", None)) self.btnGetContacts.setText(_translate("ExchangeDialog", "Получить данные", None)) self.btnSendContacts.setText(_translate("ExchangeDialog", "Отправить данные", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabPlanning), _translate("ExchangeDialog", "Планирование", None)) self.btnCreate.setToolTip(_translate("ExchangeDialog", "Добавить отобранных пациентов в списки на диспансеризацию", None)) self.btnCreate.setText(_translate("ExchangeDialog", "Сформировать списки", None)) self.btnShow.setText(_translate("ExchangeDialog", "Просмотреть", None)) self.grpPreventiveExam.setTitle(_translate("ExchangeDialog", "Профилактические осмотры", None)) self.lblPreventiveExamBirthYear.setToolTip(_translate("ExchangeDialog", "Исполняется в текущем году", None)) self.lblPreventiveExamBirthYear.setText(_translate("ExchangeDialog", "Года рождения", None)) self.grpExtExam.setTitle(_translate("ExchangeDialog", "Диспансеризация взрослого населения", None)) self.lblExtExamBirthYear.setToolTip(_translate("ExchangeDialog", "Исполняется в текущем году", None)) self.lblExtExamBirthYear.setText(_translate("ExchangeDialog", "Года рождения", None)) self.lblYear.setText(_translate("ExchangeDialog", "Год прохождения диспансеризации", None)) self.rbtnQuarter.setText(_translate("ExchangeDialog", "Квартал", None)) self.rbtnMonth.setText(_translate("ExchangeDialog", "Месяц", None)) self.chkClientAttachSynced.setText(_translate("ExchangeDialog", "Прикрепление синхронизировано с ТФОМС", None)) self.grpExtExamDisabled.setTitle(_translate("ExchangeDialog", "Диспансеризация инвалидов", None)) self.lblSocStatusClass.setText(_translate("ExchangeDialog", "Класс соц. статуса", None)) self.lblSocStatusType.setText(_translate("ExchangeDialog", "Тип соц. статуса", None)) self.lblBenefitType.setText(_translate("ExchangeDialog", "Тип льготы", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabCreate), _translate("ExchangeDialog", "Создание списков", None)) self.btnReload.setText(_translate("ExchangeDialog", "Применить", None)) self.btnUpdateLists.setText(_translate("ExchangeDialog", "Обновить списки", None)) self.btnGetFactInvoices.setText(_translate("ExchangeDialog", "Получить данные\n" "о фактически принятых к оплате счетах", None)) self.btnSendPlanList.setText(_translate("ExchangeDialog", "Передать списки\n" "в ТФОМС", None)) self.btnSendPlanExecs.setText(_translate("ExchangeDialog", "Передать в ТФОМС\n" "информацию о выполнении проф. мероприятий", None)) self.btnGetFactInfos.setText(_translate("ExchangeDialog", "Получить данные\n" "об информировании граждан", None)) self.btnExportToFile.setText(_translate("ExchangeDialog", "Экспорт в файл", None)) self.lblCount.setText(_translate("ExchangeDialog", "Записей в таблице: 0", None)) self.lblExamKind.setText(_translate("ExchangeDialog", "Тип", None)) self.label.setText(_translate("ExchangeDialog", "Год", None)) self.radioButton_2.setText(_translate("ExchangeDialog", "Месяц", None)) self.radioButton.setText(_translate("ExchangeDialog", "Квартал", None)) self.chkNotFinished.setText(_translate("ExchangeDialog", "Не прошедшие", None)) self.chkHasErrors.setText(_translate("ExchangeDialog", "С ошибками", None)) self.chkSendSelected.setText(_translate("ExchangeDialog", "Отправлять выбранные записи", None)) self.lblOrgStructureFilter.setText(_translate("ExchangeDialog", "Участок", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabShow), _translate("ExchangeDialog", "Работа со списками", None))
def setupUi(self, InventoryDocumentDialog): InventoryDocumentDialog.setObjectName(_fromUtf8("InventoryDocumentDialog")) InventoryDocumentDialog.resize(800, 600) self.gridLayout_2 = QtGui.QGridLayout(InventoryDocumentDialog) self.gridLayout_2.setMargin(4) self.gridLayout_2.setSpacing(4) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblCatalog = QtGui.QLabel(InventoryDocumentDialog) self.lblCatalog.setObjectName(_fromUtf8("lblCatalog")) self.gridLayout.addWidget(self.lblCatalog, 2, 2, 1, 1) self.cmbUser = CUserComboBox(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(60) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbUser.sizePolicy().hasHeightForWidth()) self.cmbUser.setSizePolicy(sizePolicy) self.cmbUser.setObjectName(_fromUtf8("cmbUser")) self.gridLayout.addWidget(self.cmbUser, 0, 3, 1, 1) self.lblDate = QtGui.QLabel(InventoryDocumentDialog) self.lblDate.setObjectName(_fromUtf8("lblDate")) self.gridLayout.addWidget(self.lblDate, 1, 0, 1, 1) self.lblNumber = QtGui.QLabel(InventoryDocumentDialog) self.lblNumber.setWordWrap(True) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout.addWidget(self.lblNumber, 0, 0, 1, 1) self.cmbStore = CStoreComboBox(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(60) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbStore.sizePolicy().hasHeightForWidth()) self.cmbStore.setSizePolicy(sizePolicy) self.cmbStore.setObjectName(_fromUtf8("cmbStore")) self.gridLayout.addWidget(self.cmbStore, 1, 3, 1, 1) self.lblStore = QtGui.QLabel(InventoryDocumentDialog) self.lblStore.setObjectName(_fromUtf8("lblStore")) self.gridLayout.addWidget(self.lblStore, 1, 2, 1, 1) self.edtNumber = QtGui.QLineEdit(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(40) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtNumber.sizePolicy().hasHeightForWidth()) self.edtNumber.setSizePolicy(sizePolicy) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self.gridLayout.addWidget(self.edtNumber, 0, 1, 1, 1) self.cmbCatalog = CCatalogComboBox(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(60) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbCatalog.sizePolicy().hasHeightForWidth()) self.cmbCatalog.setSizePolicy(sizePolicy) self.cmbCatalog.setObjectName(_fromUtf8("cmbCatalog")) self.gridLayout.addWidget(self.cmbCatalog, 2, 3, 1, 1) self.lblUser = QtGui.QLabel(InventoryDocumentDialog) self.lblUser.setObjectName(_fromUtf8("lblUser")) self.gridLayout.addWidget(self.lblUser, 0, 2, 1, 1) self.edtDatetime = QtGui.QDateTimeEdit(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtDatetime.sizePolicy().hasHeightForWidth()) self.edtDatetime.setSizePolicy(sizePolicy) self.edtDatetime.setCalendarPopup(True) self.edtDatetime.setObjectName(_fromUtf8("edtDatetime")) self.gridLayout.addWidget(self.edtDatetime, 1, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 2) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(2) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblSearch = QtGui.QLabel(InventoryDocumentDialog) self.lblSearch.setObjectName(_fromUtf8("lblSearch")) self.horizontalLayout.addWidget(self.lblSearch) self.edtSearch = CLineEdit(InventoryDocumentDialog) self.edtSearch.setObjectName(_fromUtf8("edtSearch")) self.horizontalLayout.addWidget(self.edtSearch) self.btnResetSearch = QtGui.QToolButton(InventoryDocumentDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.btnResetSearch.sizePolicy().hasHeightForWidth()) self.btnResetSearch.setSizePolicy(sizePolicy) self.btnResetSearch.setObjectName(_fromUtf8("btnResetSearch")) self.horizontalLayout.addWidget(self.btnResetSearch) self.gridLayout_2.addLayout(self.horizontalLayout, 1, 0, 1, 2) self.tblItems = CItemListView(InventoryDocumentDialog) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout_2.addWidget(self.tblItems, 2, 0, 1, 2) self.btnSaveInventory = QtGui.QPushButton(InventoryDocumentDialog) self.btnSaveInventory.setEnabled(False) self.btnSaveInventory.setObjectName(_fromUtf8("btnSaveInventory")) self.gridLayout_2.addWidget(self.btnSaveInventory, 3, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(InventoryDocumentDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_2.addWidget(self.buttonBox, 3, 1, 1, 1) self.retranslateUi(InventoryDocumentDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), InventoryDocumentDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), InventoryDocumentDialog.reject) QtCore.QMetaObject.connectSlotsByName(InventoryDocumentDialog) InventoryDocumentDialog.setTabOrder(self.edtNumber, self.edtDatetime) InventoryDocumentDialog.setTabOrder(self.edtDatetime, self.cmbUser) InventoryDocumentDialog.setTabOrder(self.cmbUser, self.cmbStore) InventoryDocumentDialog.setTabOrder(self.cmbStore, self.cmbCatalog) InventoryDocumentDialog.setTabOrder(self.cmbCatalog, self.edtSearch) InventoryDocumentDialog.setTabOrder(self.edtSearch, self.btnResetSearch) InventoryDocumentDialog.setTabOrder(self.btnResetSearch, self.tblItems) InventoryDocumentDialog.setTabOrder(self.tblItems, self.btnSaveInventory) InventoryDocumentDialog.setTabOrder(self.btnSaveInventory, self.buttonBox)
def setupUi(self, ItemEditorDialog): ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog")) ItemEditorDialog.resize(482, 509) ItemEditorDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(ItemEditorDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtOKSOCode = QtGui.QLineEdit(ItemEditorDialog) self.edtOKSOCode.setObjectName(_fromUtf8("edtOKSOCode")) self.gridLayout.addWidget(self.edtOKSOCode, 4, 1, 1, 3) self.lblFederalCode = QtGui.QLabel(ItemEditorDialog) self.lblFederalCode.setObjectName(_fromUtf8("lblFederalCode")) self.gridLayout.addWidget(self.lblFederalCode, 5, 0, 1, 1) self.lblVersSpec = QtGui.QLabel(ItemEditorDialog) self.lblVersSpec.setObjectName(_fromUtf8("lblVersSpec")) self.gridLayout.addWidget(self.lblVersSpec, 8, 0, 1, 1) self.lblSex = QtGui.QLabel(ItemEditorDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 14, 0, 1, 1) self.cmbProvinceService = CRBComboBox(ItemEditorDialog) self.cmbProvinceService.setObjectName(_fromUtf8("cmbProvinceService")) self.gridLayout.addWidget(self.cmbProvinceService, 10, 1, 1, 2) self.cmbVersSpec = QtGui.QComboBox(ItemEditorDialog) self.cmbVersSpec.setObjectName(_fromUtf8("cmbVersSpec")) self.cmbVersSpec.addItem(_fromUtf8("")) self.cmbVersSpec.setItemText(0, _fromUtf8("")) self.cmbVersSpec.addItem(_fromUtf8("")) self.cmbVersSpec.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbVersSpec, 8, 1, 1, 3) self.lblName = QtGui.QLabel(ItemEditorDialog) self.lblName.setObjectName(_fromUtf8("lblName")) self.gridLayout.addWidget(self.lblName, 1, 0, 1, 1) self.edtFederalCode = QtGui.QLineEdit(ItemEditorDialog) self.edtFederalCode.setObjectName(_fromUtf8("edtFederalCode")) self.gridLayout.addWidget(self.edtFederalCode, 5, 1, 1, 3) self.cmbLocalService = CRBComboBox(ItemEditorDialog) self.cmbLocalService.setObjectName(_fromUtf8("cmbLocalService")) self.gridLayout.addWidget(self.cmbLocalService, 9, 1, 1, 2) self.cmbSex = QtGui.QComboBox(ItemEditorDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 14, 1, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 13, 0, 1, 1) self.lblProvinceService = QtGui.QLabel(ItemEditorDialog) self.lblProvinceService.setObjectName(_fromUtf8("lblProvinceService")) self.gridLayout.addWidget(self.lblProvinceService, 10, 0, 1, 1) self.lblMKBFilter = QtGui.QLabel(ItemEditorDialog) self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter")) self.gridLayout.addWidget(self.lblMKBFilter, 16, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 14, 2, 1, 2) self.edtShortName = QtGui.QLineEdit(ItemEditorDialog) self.edtShortName.setObjectName(_fromUtf8("edtShortName")) self.gridLayout.addWidget(self.edtShortName, 2, 1, 1, 3) self.lblName_2 = QtGui.QLabel(ItemEditorDialog) self.lblName_2.setObjectName(_fromUtf8("lblName_2")) self.gridLayout.addWidget(self.lblName_2, 3, 0, 1, 1) self.lblShortName = QtGui.QLabel(ItemEditorDialog) self.lblShortName.setObjectName(_fromUtf8("lblShortName")) self.gridLayout.addWidget(self.lblShortName, 2, 0, 1, 1) self.lblSyncGUID = QtGui.QLabel(ItemEditorDialog) self.lblSyncGUID.setObjectName(_fromUtf8("lblSyncGUID")) self.gridLayout.addWidget(self.lblSyncGUID, 7, 0, 1, 1) self.edtSyncGUID = QtGui.QLineEdit(ItemEditorDialog) self.edtSyncGUID.setObjectName(_fromUtf8("edtSyncGUID")) self.gridLayout.addWidget(self.edtSyncGUID, 7, 1, 1, 3) self.lblRegionalCode = QtGui.QLabel(ItemEditorDialog) self.lblRegionalCode.setObjectName(_fromUtf8("lblRegionalCode")) self.gridLayout.addWidget(self.lblRegionalCode, 6, 0, 1, 1) self.edtRegionalCode = QtGui.QLineEdit(ItemEditorDialog) self.edtRegionalCode.setObjectName(_fromUtf8("edtRegionalCode")) self.gridLayout.addWidget(self.edtRegionalCode, 6, 1, 1, 3) self.edtMKBFilter = QtGui.QLineEdit(ItemEditorDialog) self.edtMKBFilter.setObjectName(_fromUtf8("edtMKBFilter")) self.gridLayout.addWidget(self.edtMKBFilter, 16, 1, 1, 3) spacerItem2 = QtGui.QSpacerItem(73, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem2, 18, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 21, 0, 1, 4) self.lblOtherService = QtGui.QLabel(ItemEditorDialog) self.lblOtherService.setObjectName(_fromUtf8("lblOtherService")) self.gridLayout.addWidget(self.lblOtherService, 11, 0, 1, 1) self.lblCode = QtGui.QLabel(ItemEditorDialog) self.lblCode.setObjectName(_fromUtf8("lblCode")) self.gridLayout.addWidget(self.lblCode, 0, 0, 1, 1) self.btnSelectOtherService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectOtherService.setObjectName( _fromUtf8("btnSelectOtherService")) self.gridLayout.addWidget(self.btnSelectOtherService, 11, 3, 1, 1) self.btnSelectLocalService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectLocalService.setObjectName( _fromUtf8("btnSelectLocalService")) self.gridLayout.addWidget(self.btnSelectLocalService, 9, 3, 1, 1) self.edtCode = QtGui.QLineEdit(ItemEditorDialog) self.edtCode.setObjectName(_fromUtf8("edtCode")) self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 3) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbBegAgeUnit = QtGui.QComboBox(ItemEditorDialog) self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.setItemText(0, _fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.horizontalLayout.addWidget(self.cmbBegAgeUnit) self.edtBegAgeCount = QtGui.QLineEdit(ItemEditorDialog) self.edtBegAgeCount.setMaxLength(3) self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount")) self.horizontalLayout.addWidget(self.edtBegAgeCount) self.lblAgeSep = QtGui.QLabel(ItemEditorDialog) self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep")) self.horizontalLayout.addWidget(self.lblAgeSep) self.cmbEndAgeUnit = QtGui.QComboBox(ItemEditorDialog) self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.setItemText(0, _fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.horizontalLayout.addWidget(self.cmbEndAgeUnit) self.edtEndAgeCount = QtGui.QLineEdit(ItemEditorDialog) self.edtEndAgeCount.setMaxLength(3) self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount")) self.horizontalLayout.addWidget(self.edtEndAgeCount) self.gridLayout.addLayout(self.horizontalLayout, 15, 1, 1, 3) self.edtOKSOName = QtGui.QLineEdit(ItemEditorDialog) self.edtOKSOName.setObjectName(_fromUtf8("edtOKSOName")) self.gridLayout.addWidget(self.edtOKSOName, 3, 1, 1, 3) self.btnSelectProvinceService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectProvinceService.setObjectName( _fromUtf8("btnSelectProvinceService")) self.gridLayout.addWidget(self.btnSelectProvinceService, 10, 3, 1, 1) self.cmbOtherService = CRBComboBox(ItemEditorDialog) self.cmbOtherService.setObjectName(_fromUtf8("cmbOtherService")) self.gridLayout.addWidget(self.cmbOtherService, 11, 1, 1, 2) self.lblAge = QtGui.QLabel(ItemEditorDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 15, 0, 1, 1) self.lblName_3 = QtGui.QLabel(ItemEditorDialog) self.lblName_3.setObjectName(_fromUtf8("lblName_3")) self.gridLayout.addWidget(self.lblName_3, 4, 0, 1, 1) self.edtName = QtGui.QLineEdit(ItemEditorDialog) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 1, 1, 1, 3) self.label = QtGui.QLabel(ItemEditorDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 12, 0, 1, 1) self.cmbFundingService = CRBComboBox(ItemEditorDialog) self.cmbFundingService.setObjectName(_fromUtf8("cmbFundingService")) self.gridLayout.addWidget(self.cmbFundingService, 12, 1, 1, 2) self.btnSelectFundingService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectFundingService.setObjectName( _fromUtf8("btnSelectFundingService")) self.gridLayout.addWidget(self.btnSelectFundingService, 12, 3, 1, 1) self.lblLocalService = QtGui.QLabel(ItemEditorDialog) self.lblLocalService.setObjectName(_fromUtf8("lblLocalService")) self.gridLayout.addWidget(self.lblLocalService, 9, 0, 1, 1) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_2 = QtGui.QLabel(ItemEditorDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1) self.tblQueueShare = CItemListView(ItemEditorDialog) self.tblQueueShare.setObjectName(_fromUtf8("tblQueueShare")) self.gridLayout_2.addWidget(self.tblQueueShare, 1, 0, 1, 1) self.gridLayout.addLayout(self.gridLayout_2, 19, 0, 1, 4) self.lblFederalCode.setBuddy(self.edtFederalCode) self.lblVersSpec.setBuddy(self.cmbVersSpec) self.lblSex.setBuddy(self.cmbSex) self.lblName.setBuddy(self.edtName) self.lblProvinceService.setBuddy(self.cmbProvinceService) self.lblMKBFilter.setBuddy(self.edtMKBFilter) self.lblName_2.setBuddy(self.edtOKSOName) self.lblRegionalCode.setBuddy(self.edtRegionalCode) self.lblOtherService.setBuddy(self.cmbOtherService) self.lblCode.setBuddy(self.edtCode) self.lblAgeSep.setBuddy(self.cmbEndAgeUnit) self.lblAge.setBuddy(self.cmbBegAgeUnit) self.lblName_3.setBuddy(self.edtOKSOCode) self.lblLocalService.setBuddy(self.cmbLocalService) self.retranslateUi(ItemEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ItemEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ItemEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog) ItemEditorDialog.setTabOrder(self.edtCode, self.edtName) ItemEditorDialog.setTabOrder(self.edtName, self.edtShortName) ItemEditorDialog.setTabOrder(self.edtShortName, self.edtOKSOName) ItemEditorDialog.setTabOrder(self.edtOKSOName, self.edtOKSOCode) ItemEditorDialog.setTabOrder(self.edtOKSOCode, self.edtFederalCode) ItemEditorDialog.setTabOrder(self.edtFederalCode, self.edtRegionalCode) ItemEditorDialog.setTabOrder(self.edtRegionalCode, self.cmbVersSpec) ItemEditorDialog.setTabOrder(self.cmbVersSpec, self.cmbLocalService) ItemEditorDialog.setTabOrder(self.cmbLocalService, self.btnSelectLocalService) ItemEditorDialog.setTabOrder(self.btnSelectLocalService, self.cmbProvinceService) ItemEditorDialog.setTabOrder(self.cmbProvinceService, self.btnSelectProvinceService) ItemEditorDialog.setTabOrder(self.btnSelectProvinceService, self.cmbOtherService) ItemEditorDialog.setTabOrder(self.cmbOtherService, self.btnSelectOtherService) ItemEditorDialog.setTabOrder(self.btnSelectOtherService, self.cmbSex) ItemEditorDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit) ItemEditorDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount) ItemEditorDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit) ItemEditorDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount) ItemEditorDialog.setTabOrder(self.edtEndAgeCount, self.edtMKBFilter) ItemEditorDialog.setTabOrder(self.edtMKBFilter, self.buttonBox)
class Ui_ItemEditorDialog(object): def setupUi(self, ItemEditorDialog): ItemEditorDialog.setObjectName(_fromUtf8("ItemEditorDialog")) ItemEditorDialog.resize(482, 509) ItemEditorDialog.setSizeGripEnabled(True) self.gridLayout = QtGui.QGridLayout(ItemEditorDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.edtOKSOCode = QtGui.QLineEdit(ItemEditorDialog) self.edtOKSOCode.setObjectName(_fromUtf8("edtOKSOCode")) self.gridLayout.addWidget(self.edtOKSOCode, 4, 1, 1, 3) self.lblFederalCode = QtGui.QLabel(ItemEditorDialog) self.lblFederalCode.setObjectName(_fromUtf8("lblFederalCode")) self.gridLayout.addWidget(self.lblFederalCode, 5, 0, 1, 1) self.lblVersSpec = QtGui.QLabel(ItemEditorDialog) self.lblVersSpec.setObjectName(_fromUtf8("lblVersSpec")) self.gridLayout.addWidget(self.lblVersSpec, 8, 0, 1, 1) self.lblSex = QtGui.QLabel(ItemEditorDialog) self.lblSex.setObjectName(_fromUtf8("lblSex")) self.gridLayout.addWidget(self.lblSex, 14, 0, 1, 1) self.cmbProvinceService = CRBComboBox(ItemEditorDialog) self.cmbProvinceService.setObjectName(_fromUtf8("cmbProvinceService")) self.gridLayout.addWidget(self.cmbProvinceService, 10, 1, 1, 2) self.cmbVersSpec = QtGui.QComboBox(ItemEditorDialog) self.cmbVersSpec.setObjectName(_fromUtf8("cmbVersSpec")) self.cmbVersSpec.addItem(_fromUtf8("")) self.cmbVersSpec.setItemText(0, _fromUtf8("")) self.cmbVersSpec.addItem(_fromUtf8("")) self.cmbVersSpec.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbVersSpec, 8, 1, 1, 3) self.lblName = QtGui.QLabel(ItemEditorDialog) self.lblName.setObjectName(_fromUtf8("lblName")) self.gridLayout.addWidget(self.lblName, 1, 0, 1, 1) self.edtFederalCode = QtGui.QLineEdit(ItemEditorDialog) self.edtFederalCode.setObjectName(_fromUtf8("edtFederalCode")) self.gridLayout.addWidget(self.edtFederalCode, 5, 1, 1, 3) self.cmbLocalService = CRBComboBox(ItemEditorDialog) self.cmbLocalService.setObjectName(_fromUtf8("cmbLocalService")) self.gridLayout.addWidget(self.cmbLocalService, 9, 1, 1, 2) self.cmbSex = QtGui.QComboBox(ItemEditorDialog) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbSex, 14, 1, 1, 1) spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 13, 0, 1, 1) self.lblProvinceService = QtGui.QLabel(ItemEditorDialog) self.lblProvinceService.setObjectName(_fromUtf8("lblProvinceService")) self.gridLayout.addWidget(self.lblProvinceService, 10, 0, 1, 1) self.lblMKBFilter = QtGui.QLabel(ItemEditorDialog) self.lblMKBFilter.setObjectName(_fromUtf8("lblMKBFilter")) self.gridLayout.addWidget(self.lblMKBFilter, 16, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(141, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem1, 14, 2, 1, 2) self.edtShortName = QtGui.QLineEdit(ItemEditorDialog) self.edtShortName.setObjectName(_fromUtf8("edtShortName")) self.gridLayout.addWidget(self.edtShortName, 2, 1, 1, 3) self.lblName_2 = QtGui.QLabel(ItemEditorDialog) self.lblName_2.setObjectName(_fromUtf8("lblName_2")) self.gridLayout.addWidget(self.lblName_2, 3, 0, 1, 1) self.lblShortName = QtGui.QLabel(ItemEditorDialog) self.lblShortName.setObjectName(_fromUtf8("lblShortName")) self.gridLayout.addWidget(self.lblShortName, 2, 0, 1, 1) self.lblSyncGUID = QtGui.QLabel(ItemEditorDialog) self.lblSyncGUID.setObjectName(_fromUtf8("lblSyncGUID")) self.gridLayout.addWidget(self.lblSyncGUID, 7, 0, 1, 1) self.edtSyncGUID = QtGui.QLineEdit(ItemEditorDialog) self.edtSyncGUID.setObjectName(_fromUtf8("edtSyncGUID")) self.gridLayout.addWidget(self.edtSyncGUID, 7, 1, 1, 3) self.lblRegionalCode = QtGui.QLabel(ItemEditorDialog) self.lblRegionalCode.setObjectName(_fromUtf8("lblRegionalCode")) self.gridLayout.addWidget(self.lblRegionalCode, 6, 0, 1, 1) self.edtRegionalCode = QtGui.QLineEdit(ItemEditorDialog) self.edtRegionalCode.setObjectName(_fromUtf8("edtRegionalCode")) self.gridLayout.addWidget(self.edtRegionalCode, 6, 1, 1, 3) self.edtMKBFilter = QtGui.QLineEdit(ItemEditorDialog) self.edtMKBFilter.setObjectName(_fromUtf8("edtMKBFilter")) self.gridLayout.addWidget(self.edtMKBFilter, 16, 1, 1, 3) spacerItem2 = QtGui.QSpacerItem(73, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem2, 18, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ItemEditorDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel | QtGui.QDialogButtonBox.Ok) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 21, 0, 1, 4) self.lblOtherService = QtGui.QLabel(ItemEditorDialog) self.lblOtherService.setObjectName(_fromUtf8("lblOtherService")) self.gridLayout.addWidget(self.lblOtherService, 11, 0, 1, 1) self.lblCode = QtGui.QLabel(ItemEditorDialog) self.lblCode.setObjectName(_fromUtf8("lblCode")) self.gridLayout.addWidget(self.lblCode, 0, 0, 1, 1) self.btnSelectOtherService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectOtherService.setObjectName( _fromUtf8("btnSelectOtherService")) self.gridLayout.addWidget(self.btnSelectOtherService, 11, 3, 1, 1) self.btnSelectLocalService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectLocalService.setObjectName( _fromUtf8("btnSelectLocalService")) self.gridLayout.addWidget(self.btnSelectLocalService, 9, 3, 1, 1) self.edtCode = QtGui.QLineEdit(ItemEditorDialog) self.edtCode.setObjectName(_fromUtf8("edtCode")) self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 3) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSpacing(4) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbBegAgeUnit = QtGui.QComboBox(ItemEditorDialog) self.cmbBegAgeUnit.setObjectName(_fromUtf8("cmbBegAgeUnit")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.setItemText(0, _fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.cmbBegAgeUnit.addItem(_fromUtf8("")) self.horizontalLayout.addWidget(self.cmbBegAgeUnit) self.edtBegAgeCount = QtGui.QLineEdit(ItemEditorDialog) self.edtBegAgeCount.setMaxLength(3) self.edtBegAgeCount.setObjectName(_fromUtf8("edtBegAgeCount")) self.horizontalLayout.addWidget(self.edtBegAgeCount) self.lblAgeSep = QtGui.QLabel(ItemEditorDialog) self.lblAgeSep.setObjectName(_fromUtf8("lblAgeSep")) self.horizontalLayout.addWidget(self.lblAgeSep) self.cmbEndAgeUnit = QtGui.QComboBox(ItemEditorDialog) self.cmbEndAgeUnit.setObjectName(_fromUtf8("cmbEndAgeUnit")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.setItemText(0, _fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.cmbEndAgeUnit.addItem(_fromUtf8("")) self.horizontalLayout.addWidget(self.cmbEndAgeUnit) self.edtEndAgeCount = QtGui.QLineEdit(ItemEditorDialog) self.edtEndAgeCount.setMaxLength(3) self.edtEndAgeCount.setObjectName(_fromUtf8("edtEndAgeCount")) self.horizontalLayout.addWidget(self.edtEndAgeCount) self.gridLayout.addLayout(self.horizontalLayout, 15, 1, 1, 3) self.edtOKSOName = QtGui.QLineEdit(ItemEditorDialog) self.edtOKSOName.setObjectName(_fromUtf8("edtOKSOName")) self.gridLayout.addWidget(self.edtOKSOName, 3, 1, 1, 3) self.btnSelectProvinceService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectProvinceService.setObjectName( _fromUtf8("btnSelectProvinceService")) self.gridLayout.addWidget(self.btnSelectProvinceService, 10, 3, 1, 1) self.cmbOtherService = CRBComboBox(ItemEditorDialog) self.cmbOtherService.setObjectName(_fromUtf8("cmbOtherService")) self.gridLayout.addWidget(self.cmbOtherService, 11, 1, 1, 2) self.lblAge = QtGui.QLabel(ItemEditorDialog) self.lblAge.setObjectName(_fromUtf8("lblAge")) self.gridLayout.addWidget(self.lblAge, 15, 0, 1, 1) self.lblName_3 = QtGui.QLabel(ItemEditorDialog) self.lblName_3.setObjectName(_fromUtf8("lblName_3")) self.gridLayout.addWidget(self.lblName_3, 4, 0, 1, 1) self.edtName = QtGui.QLineEdit(ItemEditorDialog) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 1, 1, 1, 3) self.label = QtGui.QLabel(ItemEditorDialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 12, 0, 1, 1) self.cmbFundingService = CRBComboBox(ItemEditorDialog) self.cmbFundingService.setObjectName(_fromUtf8("cmbFundingService")) self.gridLayout.addWidget(self.cmbFundingService, 12, 1, 1, 2) self.btnSelectFundingService = QtGui.QToolButton(ItemEditorDialog) self.btnSelectFundingService.setObjectName( _fromUtf8("btnSelectFundingService")) self.gridLayout.addWidget(self.btnSelectFundingService, 12, 3, 1, 1) self.lblLocalService = QtGui.QLabel(ItemEditorDialog) self.lblLocalService.setObjectName(_fromUtf8("lblLocalService")) self.gridLayout.addWidget(self.lblLocalService, 9, 0, 1, 1) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setSpacing(3) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_2 = QtGui.QLabel(ItemEditorDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_2.addWidget(self.label_2, 0, 0, 1, 1) self.tblQueueShare = CItemListView(ItemEditorDialog) self.tblQueueShare.setObjectName(_fromUtf8("tblQueueShare")) self.gridLayout_2.addWidget(self.tblQueueShare, 1, 0, 1, 1) self.gridLayout.addLayout(self.gridLayout_2, 19, 0, 1, 4) self.lblFederalCode.setBuddy(self.edtFederalCode) self.lblVersSpec.setBuddy(self.cmbVersSpec) self.lblSex.setBuddy(self.cmbSex) self.lblName.setBuddy(self.edtName) self.lblProvinceService.setBuddy(self.cmbProvinceService) self.lblMKBFilter.setBuddy(self.edtMKBFilter) self.lblName_2.setBuddy(self.edtOKSOName) self.lblRegionalCode.setBuddy(self.edtRegionalCode) self.lblOtherService.setBuddy(self.cmbOtherService) self.lblCode.setBuddy(self.edtCode) self.lblAgeSep.setBuddy(self.cmbEndAgeUnit) self.lblAge.setBuddy(self.cmbBegAgeUnit) self.lblName_3.setBuddy(self.edtOKSOCode) self.lblLocalService.setBuddy(self.cmbLocalService) self.retranslateUi(ItemEditorDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ItemEditorDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ItemEditorDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemEditorDialog) ItemEditorDialog.setTabOrder(self.edtCode, self.edtName) ItemEditorDialog.setTabOrder(self.edtName, self.edtShortName) ItemEditorDialog.setTabOrder(self.edtShortName, self.edtOKSOName) ItemEditorDialog.setTabOrder(self.edtOKSOName, self.edtOKSOCode) ItemEditorDialog.setTabOrder(self.edtOKSOCode, self.edtFederalCode) ItemEditorDialog.setTabOrder(self.edtFederalCode, self.edtRegionalCode) ItemEditorDialog.setTabOrder(self.edtRegionalCode, self.cmbVersSpec) ItemEditorDialog.setTabOrder(self.cmbVersSpec, self.cmbLocalService) ItemEditorDialog.setTabOrder(self.cmbLocalService, self.btnSelectLocalService) ItemEditorDialog.setTabOrder(self.btnSelectLocalService, self.cmbProvinceService) ItemEditorDialog.setTabOrder(self.cmbProvinceService, self.btnSelectProvinceService) ItemEditorDialog.setTabOrder(self.btnSelectProvinceService, self.cmbOtherService) ItemEditorDialog.setTabOrder(self.cmbOtherService, self.btnSelectOtherService) ItemEditorDialog.setTabOrder(self.btnSelectOtherService, self.cmbSex) ItemEditorDialog.setTabOrder(self.cmbSex, self.cmbBegAgeUnit) ItemEditorDialog.setTabOrder(self.cmbBegAgeUnit, self.edtBegAgeCount) ItemEditorDialog.setTabOrder(self.edtBegAgeCount, self.cmbEndAgeUnit) ItemEditorDialog.setTabOrder(self.cmbEndAgeUnit, self.edtEndAgeCount) ItemEditorDialog.setTabOrder(self.edtEndAgeCount, self.edtMKBFilter) ItemEditorDialog.setTabOrder(self.edtMKBFilter, self.buttonBox) def retranslateUi(self, ItemEditorDialog): ItemEditorDialog.setWindowTitle( _translate("ItemEditorDialog", "ChangeMe!", None)) self.lblFederalCode.setText( _translate("ItemEditorDialog", "&Федеральный код", None)) self.lblVersSpec.setText( _translate("ItemEditorDialog", "Версия справочника", None)) self.lblSex.setText(_translate("ItemEditorDialog", "&Пол", None)) self.cmbVersSpec.setItemText( 1, _translate("ItemEditorDialog", "V004", None)) self.cmbVersSpec.setItemText( 2, _translate("ItemEditorDialog", "V015", None)) self.lblName.setText( _translate("ItemEditorDialog", "&Наименование", None)) self.cmbSex.setItemText(1, _translate("ItemEditorDialog", "М", None)) self.cmbSex.setItemText(2, _translate("ItemEditorDialog", "Ж", None)) self.lblProvinceService.setText( _translate("ItemEditorDialog", "Услуга для областного населения", None)) self.lblMKBFilter.setText( _translate("ItemEditorDialog", "&Фильтр диагнозов по МКБ", None)) self.lblName_2.setText( _translate("ItemEditorDialog", "Наименование по ОКСО", None)) self.lblShortName.setText( _translate("ItemEditorDialog", "Краткое наименование", None)) self.lblSyncGUID.setText( _translate("ItemEditorDialog", "Код синхронизации", None)) self.lblRegionalCode.setText( _translate("ItemEditorDialog", "&Региональный код", None)) self.lblOtherService.setText( _translate("ItemEditorDialog", "Услуга для прочего населения", None)) self.lblCode.setText(_translate("ItemEditorDialog", "&Код", None)) self.btnSelectOtherService.setText( _translate("ItemEditorDialog", "...", None)) self.btnSelectLocalService.setText( _translate("ItemEditorDialog", "...", None)) self.cmbBegAgeUnit.setItemText( 1, _translate("ItemEditorDialog", "Д", None)) self.cmbBegAgeUnit.setItemText( 2, _translate("ItemEditorDialog", "Н", None)) self.cmbBegAgeUnit.setItemText( 3, _translate("ItemEditorDialog", "М", None)) self.cmbBegAgeUnit.setItemText( 4, _translate("ItemEditorDialog", "Г", None)) self.edtBegAgeCount.setInputMask( _translate("ItemEditorDialog", "000; ", None)) self.lblAgeSep.setText(_translate("ItemEditorDialog", "по", None)) self.cmbEndAgeUnit.setItemText( 1, _translate("ItemEditorDialog", "Д", None)) self.cmbEndAgeUnit.setItemText( 2, _translate("ItemEditorDialog", "Н", None)) self.cmbEndAgeUnit.setItemText( 3, _translate("ItemEditorDialog", "М", None)) self.cmbEndAgeUnit.setItemText( 4, _translate("ItemEditorDialog", "Г", None)) self.edtEndAgeCount.setInputMask( _translate("ItemEditorDialog", "000; ", None)) self.btnSelectProvinceService.setText( _translate("ItemEditorDialog", "...", None)) self.lblAge.setText(_translate("ItemEditorDialog", "&Возраст", None)) self.lblName_3.setText( _translate("ItemEditorDialog", "Код по &ОКСО", None)) self.label.setText( _translate("ItemEditorDialog", "Услуга для подушевого финансирования", None)) self.btnSelectFundingService.setText( _translate("ItemEditorDialog", "...", None)) self.lblLocalService.setText( _translate("ItemEditorDialog", "&Услуга для местного населения", None)) self.label_2.setText( _translate( "ItemEditorDialog", "Досупное количество номерков по дням от текущей даты (в %)", None))