class Ui_ExportRbUnit_Wizard_1(object): def setupUi(self, ExportRbUnit_Wizard_1): ExportRbUnit_Wizard_1.setObjectName(_fromUtf8("ExportRbUnit_Wizard_1")) ExportRbUnit_Wizard_1.setWindowModality(QtCore.Qt.NonModal) ExportRbUnit_Wizard_1.resize(593, 450) self.gridlayout = QtGui.QGridLayout(ExportRbUnit_Wizard_1) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.splitterTree = QtGui.QSplitter(ExportRbUnit_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.splitterTree.sizePolicy().hasHeightForWidth()) self.splitterTree.setSizePolicy(sizePolicy) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.tblItems = CTableView(self.splitterTree) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridlayout.addWidget(self.splitterTree, 2, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(6) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnClearSelection = QtGui.QPushButton(ExportRbUnit_Wizard_1) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout.addWidget(self.btnClearSelection) self.gridlayout.addLayout(self.hboxlayout, 3, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ExportRbUnit_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 4, 0, 1, 1) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1")) self.checkExportAll = QtGui.QCheckBox(ExportRbUnit_Wizard_1) self.checkExportAll.setObjectName(_fromUtf8("checkExportAll")) self.hboxlayout1.addWidget(self.checkExportAll) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem1) self.gridlayout.addLayout(self.hboxlayout1, 0, 0, 1, 1) self.retranslateUi(ExportRbUnit_Wizard_1) QtCore.QMetaObject.connectSlotsByName(ExportRbUnit_Wizard_1) def retranslateUi(self, ExportRbUnit_Wizard_1): ExportRbUnit_Wizard_1.setWindowTitle(_translate("ExportRbUnit_Wizard_1", "Список записей", None)) self.tblItems.setWhatsThis(_translate("ExportRbUnit_Wizard_1", "список записей", "ура!")) self.btnClearSelection.setText(_translate("ExportRbUnit_Wizard_1", "Очистить", None)) self.statusBar.setToolTip(_translate("ExportRbUnit_Wizard_1", "A status bar", None)) self.statusBar.setWhatsThis(_translate("ExportRbUnit_Wizard_1", "A status bar.", None)) self.checkExportAll.setText(_translate("ExportRbUnit_Wizard_1", "Выгружать всё", None))
class Ui_ActionTemplateSaveDialog(object): def setupUi(self, ActionTemplateSaveDialog): ActionTemplateSaveDialog.setObjectName( _fromUtf8("ActionTemplateSaveDialog")) ActionTemplateSaveDialog.resize(381, 234) ActionTemplateSaveDialog.setSizeGripEnabled(False) self.gridLayout = QtGui.QGridLayout(ActionTemplateSaveDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.frame = QtGui.QFrame(ActionTemplateSaveDialog) self.frame.setFrameShape(QtGui.QFrame.NoFrame) self.frame.setFrameShadow(QtGui.QFrame.Plain) self.frame.setLineWidth(0) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setSpacing(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter = QtGui.QSplitter(self.frame) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.treeItems = QtGui.QTreeView(self.splitter) self.treeItems.setAutoScroll(True) self.treeItems.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.tblItems = CTableView(self.splitter) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout.addWidget(self.splitter) self.gridLayout.addWidget(self.frame, 0, 0, 1, 1) self.buttonBox = QtGui.QDialogButtonBox(ActionTemplateSaveDialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1) self.retranslateUi(ActionTemplateSaveDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), ActionTemplateSaveDialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ActionTemplateSaveDialog.reject) QtCore.QMetaObject.connectSlotsByName(ActionTemplateSaveDialog) def retranslateUi(self, ActionTemplateSaveDialog): ActionTemplateSaveDialog.setWindowTitle( QtGui.QApplication.translate("ActionTemplateSaveDialog", "Сохранение шаблона действия", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis( QtGui.QApplication.translate("ActionTemplateSaveDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8))
class Ui_ExportHL7_Wizard_1(object): def setupUi(self, ExportHL7_Wizard_1): ExportHL7_Wizard_1.setObjectName(_fromUtf8("ExportHL7_Wizard_1")) ExportHL7_Wizard_1.setWindowModality(QtCore.Qt.NonModal) ExportHL7_Wizard_1.resize(593, 450) self.gridlayout = QtGui.QGridLayout(ExportHL7_Wizard_1) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.checkExportAll = QtGui.QCheckBox(ExportHL7_Wizard_1) self.checkExportAll.setObjectName(_fromUtf8("checkExportAll")) self.hboxlayout.addWidget(self.checkExportAll) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.gridlayout.addLayout(self.hboxlayout, 0, 0, 1, 1) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setSpacing(6) self.hboxlayout1.setMargin(0) self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1")) self.checkOnlyOwn = QtGui.QCheckBox(ExportHL7_Wizard_1) self.checkOnlyOwn.setChecked(True) self.checkOnlyOwn.setObjectName(_fromUtf8("checkOnlyOwn")) self.hboxlayout1.addWidget(self.checkOnlyOwn) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem1) self.btnClearSelection = QtGui.QPushButton(ExportHL7_Wizard_1) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout1.addWidget(self.btnClearSelection) self.gridlayout.addLayout(self.hboxlayout1, 4, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ExportHL7_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 6, 0, 1, 1) self.splitterTree = QtGui.QSplitter(ExportHL7_Wizard_1) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.tblItems = CTableView(self.splitterTree) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridlayout.addWidget(self.splitterTree, 2, 0, 1, 1) self.groupBox = QtGui.QGroupBox(ExportHL7_Wizard_1) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.rbAddPers = QtGui.QRadioButton(self.groupBox) self.rbAddPers.setObjectName(_fromUtf8("rbAddPers")) self.verticalLayout.addWidget(self.rbAddPers) self.rbUpdatePers = QtGui.QRadioButton(self.groupBox) self.rbUpdatePers.setChecked(True) self.rbUpdatePers.setObjectName(_fromUtf8("rbUpdatePers")) self.verticalLayout.addWidget(self.rbUpdatePers) self.rbDeletePers = QtGui.QRadioButton(self.groupBox) self.rbDeletePers.setObjectName(_fromUtf8("rbDeletePers")) self.verticalLayout.addWidget(self.rbDeletePers) self.rbTerminatePers = QtGui.QRadioButton(self.groupBox) self.rbTerminatePers.setObjectName(_fromUtf8("rbTerminatePers")) self.verticalLayout.addWidget(self.rbTerminatePers) self.gridlayout.addWidget(self.groupBox, 5, 0, 1, 1) self.retranslateUi(ExportHL7_Wizard_1) QtCore.QMetaObject.connectSlotsByName(ExportHL7_Wizard_1) def retranslateUi(self, ExportHL7_Wizard_1): ExportHL7_Wizard_1.setWindowTitle( QtGui.QApplication.translate("ExportHL7_Wizard_1", "Список сотрудников", None, QtGui.QApplication.UnicodeUTF8)) self.checkExportAll.setText( QtGui.QApplication.translate("ExportHL7_Wizard_1", "Выгружать всё", None, QtGui.QApplication.UnicodeUTF8)) self.checkOnlyOwn.setText( QtGui.QApplication.translate("ExportHL7_Wizard_1", "Только свои", None, QtGui.QApplication.UnicodeUTF8)) self.btnClearSelection.setText( QtGui.QApplication.translate("ExportHL7_Wizard_1", "Очистить", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip( QtGui.QApplication.translate("ExportHL7_Wizard_1", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis( QtGui.QApplication.translate("ExportHL7_Wizard_1", "A status bar.", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis( QtGui.QApplication.translate("ExportHL7_Wizard_1", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle( QtGui.QApplication.translate("ExportHL7_Wizard_1", "Тип события для выгрузки", None, QtGui.QApplication.UnicodeUTF8)) self.rbAddPers.setText( QtGui.QApplication.translate( "ExportHL7_Wizard_1", "B01 Добавить личное дело сотрудника", None, QtGui.QApplication.UnicodeUTF8)) self.rbUpdatePers.setText( QtGui.QApplication.translate( "ExportHL7_Wizard_1", "B02 Обновить личное дело сотрудника", None, QtGui.QApplication.UnicodeUTF8)) self.rbDeletePers.setText( QtGui.QApplication.translate("ExportHL7_Wizard_1", "B03 Удалить личное дело сотрудника", None, QtGui.QApplication.UnicodeUTF8)) self.rbTerminatePers.setText( QtGui.QApplication.translate("ExportHL7_Wizard_1", "B06 Закрыть личное дело сотрудника", None, QtGui.QApplication.UnicodeUTF8))
class Ui_MenuDialog(object): def setupUi(self, MenuDialog): MenuDialog.setObjectName(_fromUtf8("MenuDialog")) MenuDialog.setWindowModality(QtCore.Qt.ApplicationModal) MenuDialog.resize(593, 450) MenuDialog.setSizeGripEnabled(True) MenuDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(MenuDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblPeriod = QtGui.QLabel(MenuDialog) self.lblPeriod.setObjectName(_fromUtf8("lblPeriod")) self.gridLayout.addWidget(self.lblPeriod, 0, 0, 1, 1) self.edtBegDate = CDateEdit(MenuDialog) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 0, 1, 1, 1) self.lblFor = QtGui.QLabel(MenuDialog) self.lblFor.setAlignment(QtCore.Qt.AlignCenter) self.lblFor.setObjectName(_fromUtf8("lblFor")) self.gridLayout.addWidget(self.lblFor, 0, 2, 1, 1) self.edtEndDate = CDateEdit(MenuDialog) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 0, 3, 1, 1) self.chkUpdate = QtGui.QCheckBox(MenuDialog) self.chkUpdate.setObjectName(_fromUtf8("chkUpdate")) self.gridLayout.addWidget(self.chkUpdate, 0, 4, 1, 1) spacerItem = QtGui.QSpacerItem(287, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 5, 1, 1) self.tblItems = CTableView(MenuDialog) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 1, 0, 1, 6) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(6) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(MenuDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) self.btnSelected = QtGui.QPushButton(MenuDialog) self.btnSelected.setObjectName(_fromUtf8("btnSelected")) self.hboxlayout.addWidget(self.btnSelected) self.btnEdit = QtGui.QPushButton(MenuDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnPrint = QtGui.QPushButton(MenuDialog) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) self.hboxlayout.addWidget(self.btnPrint) self.btnCancel = QtGui.QPushButton(MenuDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.gridLayout.addLayout(self.hboxlayout, 2, 0, 1, 6) self.statusBar = QtGui.QStatusBar(MenuDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridLayout.addWidget(self.statusBar, 3, 0, 1, 1) self.retranslateUi(MenuDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), MenuDialog.reject) QtCore.QMetaObject.connectSlotsByName(MenuDialog) MenuDialog.setTabOrder(self.edtBegDate, self.edtEndDate) MenuDialog.setTabOrder(self.edtEndDate, self.chkUpdate) MenuDialog.setTabOrder(self.chkUpdate, self.tblItems) MenuDialog.setTabOrder(self.tblItems, self.btnSelected) MenuDialog.setTabOrder(self.btnSelected, self.btnEdit) MenuDialog.setTabOrder(self.btnEdit, self.btnPrint) MenuDialog.setTabOrder(self.btnPrint, self.btnCancel) def retranslateUi(self, MenuDialog): MenuDialog.setWindowTitle( _translate("MenuDialog", "Список записей", None)) self.lblPeriod.setText(_translate("MenuDialog", "Период с", None)) self.edtBegDate.setDisplayFormat( _translate("MenuDialog", "dd.MM.yyyy", None)) self.lblFor.setText(_translate("MenuDialog", "по", None)) self.edtEndDate.setDisplayFormat( _translate("MenuDialog", "dd.MM.yyyy", None)) self.chkUpdate.setText(_translate("MenuDialog", "Обновить", None)) self.tblItems.setWhatsThis( _translate("MenuDialog", "список записей", "ура!")) self.label.setText(_translate("MenuDialog", "всего: ", None)) self.btnSelected.setText(_translate("MenuDialog", "Выбрать", None)) self.btnEdit.setWhatsThis( _translate("MenuDialog", "изменить текущую запись", None)) self.btnEdit.setText(_translate("MenuDialog", "Просмотр", None)) self.btnEdit.setShortcut(_translate("MenuDialog", "F4", None)) self.btnPrint.setText(_translate("MenuDialog", "Печать", None)) self.btnCancel.setWhatsThis( _translate("MenuDialog", "выйти из списка без выбора", None)) self.btnCancel.setText(_translate("MenuDialog", "Закрыть", None)) self.statusBar.setToolTip( _translate("MenuDialog", "A status bar", None)) self.statusBar.setWhatsThis( _translate("MenuDialog", "A status bar.", None))
class Ui_ItemsListDialog(object): def setupUi(self, ItemsListDialog): ItemsListDialog.setObjectName(_fromUtf8("ItemsListDialog")) ItemsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) ItemsListDialog.resize(593, 556) ItemsListDialog.setSizeGripEnabled(True) ItemsListDialog.setModal(True) self.gridlayout = QtGui.QGridLayout(ItemsListDialog) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(ItemsListDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnSelect = QtGui.QPushButton(ItemsListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(ItemsListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(ItemsListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(ItemsListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnPrint = QtGui.QPushButton(ItemsListDialog) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) self.hboxlayout.addWidget(self.btnPrint) self.btnCancel = QtGui.QPushButton(ItemsListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.gridlayout.addLayout(self.hboxlayout, 1, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 2, 0, 1, 1) self.groupBox = QtGui.QGroupBox(ItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setTitle(_fromUtf8("")) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(4) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.splitter = QtGui.QSplitter(self.groupBox) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblItems = CTableView(self.splitter) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.tblItemGroups = CTableView(self.splitter) self.tblItemGroups.setObjectName(_fromUtf8("tblItemGroups")) self.verticalLayout.addWidget(self.splitter) self.gridlayout.addWidget(self.groupBox, 0, 0, 1, 1) self.retranslateUi(ItemsListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), ItemsListDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemsListDialog) ItemsListDialog.setTabOrder(self.btnSelect, self.btnFilter) ItemsListDialog.setTabOrder(self.btnFilter, self.btnEdit) ItemsListDialog.setTabOrder(self.btnEdit, self.btnNew) ItemsListDialog.setTabOrder(self.btnNew, self.btnCancel) def retranslateUi(self, ItemsListDialog): ItemsListDialog.setWindowTitle( QtGui.QApplication.translate("ItemsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("ItemsListDialog", "всего: ", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "выбрать текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setText( QtGui.QApplication.translate("ItemsListDialog", "Выбор", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setWhatsThis( QtGui.QApplication.translate( "ItemsListDialog", "изменить условие отбора записей для показа в списке", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setText( QtGui.QApplication.translate("ItemsListDialog", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "изменить текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setText( QtGui.QApplication.translate("ItemsListDialog", "Правка F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setShortcut( QtGui.QApplication.translate("ItemsListDialog", "F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "добавить новую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setText( QtGui.QApplication.translate("ItemsListDialog", "Вставка F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setShortcut( QtGui.QApplication.translate("ItemsListDialog", "F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnPrint.setText( QtGui.QApplication.translate("ItemsListDialog", "Печать F6", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "выйти из списка без выбора", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setText( QtGui.QApplication.translate("ItemsListDialog", "Закрыть", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip( QtGui.QApplication.translate("ItemsListDialog", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "A status bar.", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis( QtGui.QApplication.translate("ItemsListDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8))
class Ui_ActionTypeListDialog(object): def setupUi(self, ActionTypeListDialog): ActionTypeListDialog.setObjectName(_fromUtf8("ActionTypeListDialog")) ActionTypeListDialog.resize(739, 340) ActionTypeListDialog.setSizeGripEnabled(True) self.verticalLayout_3 = QtGui.QVBoxLayout(ActionTypeListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.gridLayout_2 = QtGui.QGridLayout(self.pnlTree) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.gridLayout_2.addWidget(self.treeItems, 0, 0, 1, 2) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.lblService = QtGui.QLabel(self.pnlTree) self.lblService.setObjectName(_fromUtf8("lblService")) self.gridLayout.addWidget(self.lblService, 0, 0, 1, 1) self.cmbService = CRBComboBox(self.pnlTree) self.cmbService.setObjectName(_fromUtf8("cmbService")) self.gridLayout.addWidget(self.cmbService, 0, 1, 1, 1) self.lblQuotaType = QtGui.QLabel(self.pnlTree) self.lblQuotaType.setObjectName(_fromUtf8("lblQuotaType")) self.gridLayout.addWidget(self.lblQuotaType, 1, 0, 1, 1) self.cmbQuotaType = CRBComboBox(self.pnlTree) self.cmbQuotaType.setObjectName(_fromUtf8("cmbQuotaType")) self.gridLayout.addWidget(self.cmbQuotaType, 1, 1, 1, 1) self.lblTissueType = QtGui.QLabel(self.pnlTree) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.lblTissueType.sizePolicy().hasHeightForWidth()) self.lblTissueType.setSizePolicy(sizePolicy) self.lblTissueType.setObjectName(_fromUtf8("lblTissueType")) self.gridLayout.addWidget(self.lblTissueType, 2, 0, 1, 1) self.cmbTissueType = CRBComboBox(self.pnlTree) self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType")) self.gridLayout.addWidget(self.cmbTissueType, 2, 1, 1, 1) self.lblServiceType = QtGui.QLabel(self.pnlTree) self.lblServiceType.setObjectName(_fromUtf8("lblServiceType")) self.gridLayout.addWidget(self.lblServiceType, 3, 0, 1, 1) self.cmbServiceType = QtGui.QComboBox(self.pnlTree) self.cmbServiceType.setObjectName(_fromUtf8("cmbServiceType")) self.gridLayout.addWidget(self.cmbServiceType, 3, 1, 1, 1) self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 2) self.chkActiveActionType = QtGui.QCheckBox(self.pnlTree) self.chkActiveActionType.setObjectName( _fromUtf8("chkActiveActionType")) self.gridLayout_2.addWidget(self.chkActiveActionType, 2, 0, 1, 1) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.gridLayout_2.addWidget(self.lblPadding, 2, 1, 1, 1) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(ActionTypeListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(ActionTypeListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(ActionTypeListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(ActionTypeListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(ActionTypeListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(ActionTypeListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.lblService.setBuddy(self.cmbService) self.lblQuotaType.setBuddy(self.cmbQuotaType) self.lblTissueType.setBuddy(self.cmbTissueType) self.retranslateUi(ActionTypeListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), ActionTypeListDialog.reject) QtCore.QMetaObject.connectSlotsByName(ActionTypeListDialog) ActionTypeListDialog.setTabOrder(self.treeItems, self.cmbService) ActionTypeListDialog.setTabOrder(self.cmbService, self.cmbQuotaType) ActionTypeListDialog.setTabOrder(self.cmbQuotaType, self.cmbTissueType) ActionTypeListDialog.setTabOrder(self.cmbTissueType, self.tblItems) ActionTypeListDialog.setTabOrder(self.tblItems, self.btnFind) ActionTypeListDialog.setTabOrder(self.btnFind, self.btnSelect) ActionTypeListDialog.setTabOrder(self.btnSelect, self.btnFilter) ActionTypeListDialog.setTabOrder(self.btnFilter, self.btnEdit) ActionTypeListDialog.setTabOrder(self.btnEdit, self.btnNew) ActionTypeListDialog.setTabOrder(self.btnNew, self.btnCancel) def retranslateUi(self, ActionTypeListDialog): ActionTypeListDialog.setWindowTitle( _translate("ActionTypeListDialog", "Dialog", None)) self.lblService.setText( _translate("ActionTypeListDialog", "Профиль оплаты", None)) self.lblQuotaType.setText( _translate("ActionTypeListDialog", "Вид квоты", None)) self.lblTissueType.setText( _translate("ActionTypeListDialog", "Тип биоматериала", None)) self.lblServiceType.setText( _translate("ActionTypeListDialog", "Вид услуги", None)) self.chkActiveActionType.setText( _translate("ActionTypeListDialog", "Отображать только действующие", None)) self.tblItems.setWhatsThis( _translate("ActionTypeListDialog", "список записей", "ура!")) self.btnFind.setText(_translate("ActionTypeListDialog", "Поиск", None)) self.btnSelect.setWhatsThis( _translate("ActionTypeListDialog", "выбрать текущую запись", None)) self.btnSelect.setText( _translate("ActionTypeListDialog", "Выбор", None)) self.btnFilter.setWhatsThis( _translate("ActionTypeListDialog", "изменить условие отбора записей для показа в списке", None)) self.btnFilter.setText( _translate("ActionTypeListDialog", "Фильтр", None)) self.btnEdit.setWhatsThis( _translate("ActionTypeListDialog", "изменить текущую запись", None)) self.btnEdit.setText( _translate("ActionTypeListDialog", "Правка F4", None)) self.btnEdit.setShortcut(_translate("ActionTypeListDialog", "F4", None)) self.btnNew.setWhatsThis( _translate("ActionTypeListDialog", "добавить новую запись", None)) self.btnNew.setText( _translate("ActionTypeListDialog", "Вставка F9", None)) self.btnNew.setShortcut(_translate("ActionTypeListDialog", "F9", None)) self.btnCancel.setWhatsThis( _translate("ActionTypeListDialog", "выйти из списка без выбора", None)) self.btnCancel.setText( _translate("ActionTypeListDialog", "Закрыть", None)) self.statusBar.setToolTip( _translate("ActionTypeListDialog", "A status bar", None)) self.statusBar.setWhatsThis( _translate("ActionTypeListDialog", "A status bar.", None))
class Ui_ContractItemsListDialog(object): def setupUi(self, ContractItemsListDialog): ContractItemsListDialog.setObjectName(_fromUtf8("ContractItemsListDialog")) ContractItemsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) ContractItemsListDialog.resize(1162, 496) ContractItemsListDialog.setSizeGripEnabled(True) ContractItemsListDialog.setModal(True) self.gridLayout_2 = QtGui.QGridLayout(ContractItemsListDialog) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.splitter_3 = QtGui.QSplitter(ContractItemsListDialog) self.splitter_3.setOrientation(QtCore.Qt.Horizontal) self.splitter_3.setObjectName(_fromUtf8("splitter_3")) self.grbContractItemsFilter = QtGui.QGroupBox(self.splitter_3) self.grbContractItemsFilter.setObjectName(_fromUtf8("grbContractItemsFilter")) self.gridLayout = QtGui.QGridLayout(self.grbContractItemsFilter) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.cmbOrgStructure = COrgStructureComboBox(self.grbContractItemsFilter) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout.addWidget(self.cmbOrgStructure, 6, 2, 1, 3) self.lblStructureCode = QtGui.QLabel(self.grbContractItemsFilter) self.lblStructureCode.setObjectName(_fromUtf8("lblStructureCode")) self.gridLayout.addWidget(self.lblStructureCode, 6, 0, 1, 1) self.lblResolution = QtGui.QLabel(self.grbContractItemsFilter) self.lblResolution.setObjectName(_fromUtf8("lblResolution")) self.gridLayout.addWidget(self.lblResolution, 2, 0, 1, 1) self.lblPriceList = QtGui.QLabel(self.grbContractItemsFilter) self.lblPriceList.setObjectName(_fromUtf8("lblPriceList")) self.gridLayout.addWidget(self.lblPriceList, 3, 0, 1, 1) self.cmbFinanceSource = CRBComboBox(self.grbContractItemsFilter) self.cmbFinanceSource.setObjectName(_fromUtf8("cmbFinanceSource")) self.gridLayout.addWidget(self.cmbFinanceSource, 0, 2, 1, 3) self.cmbGrouping = CStrComboBox(self.grbContractItemsFilter) self.cmbGrouping.setObjectName(_fromUtf8("cmbGrouping")) self.gridLayout.addWidget(self.cmbGrouping, 1, 2, 1, 3) spacerItem = QtGui.QSpacerItem(83, 153, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 13, 1, 1, 2) self.buttonBoxFilterContract = QtGui.QDialogButtonBox(self.grbContractItemsFilter) self.buttonBoxFilterContract.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Reset) self.buttonBoxFilterContract.setObjectName(_fromUtf8("buttonBoxFilterContract")) self.gridLayout.addWidget(self.buttonBoxFilterContract, 14, 0, 1, 5) self.edtBegDate = CDateEdit(self.grbContractItemsFilter) self.edtBegDate.setCalendarPopup(True) self.edtBegDate.setObjectName(_fromUtf8("edtBegDate")) self.gridLayout.addWidget(self.edtBegDate, 12, 2, 1, 1) self.cmbPerson = CPersonComboBoxEx(self.grbContractItemsFilter) self.cmbPerson.setObjectName(_fromUtf8("cmbPerson")) self.gridLayout.addWidget(self.cmbPerson, 9, 2, 1, 3) self.cmbPriceList = QtGui.QComboBox(self.grbContractItemsFilter) self.cmbPriceList.setObjectName(_fromUtf8("cmbPriceList")) self.cmbPriceList.addItem(_fromUtf8("")) self.cmbPriceList.addItem(_fromUtf8("")) self.cmbPriceList.addItem(_fromUtf8("")) self.gridLayout.addWidget(self.cmbPriceList, 3, 2, 1, 3) self.lblPeriod = QtGui.QLabel(self.grbContractItemsFilter) self.lblPeriod.setObjectName(_fromUtf8("lblPeriod")) self.gridLayout.addWidget(self.lblPeriod, 12, 0, 1, 2) self.label_6 = QtGui.QLabel(self.grbContractItemsFilter) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 12, 3, 1, 1) self.cmbResolution = CStrComboBox(self.grbContractItemsFilter) self.cmbResolution.setObjectName(_fromUtf8("cmbResolution")) self.gridLayout.addWidget(self.cmbResolution, 2, 2, 1, 3) self.lblStatus = QtGui.QLabel(self.grbContractItemsFilter) self.lblStatus.setObjectName(_fromUtf8("lblStatus")) self.gridLayout.addWidget(self.lblStatus, 5, 0, 1, 1) self.lblNumber = QtGui.QLabel(self.grbContractItemsFilter) self.lblNumber.setObjectName(_fromUtf8("lblNumber")) self.gridLayout.addWidget(self.lblNumber, 10, 0, 1, 1) self.edtNumber = QtGui.QLineEdit(self.grbContractItemsFilter) self.edtNumber.setObjectName(_fromUtf8("edtNumber")) self.gridLayout.addWidget(self.edtNumber, 10, 2, 1, 3) self.lblPerson = QtGui.QLabel(self.grbContractItemsFilter) self.lblPerson.setObjectName(_fromUtf8("lblPerson")) self.gridLayout.addWidget(self.lblPerson, 9, 0, 1, 1) self.cmbStatus = QtGui.QComboBox(self.grbContractItemsFilter) self.cmbStatus.setMinimumSize(QtCore.QSize(234, 0)) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.gridLayout.addWidget(self.cmbStatus, 5, 2, 1, 3) self.lblFinanceSource = QtGui.QLabel(self.grbContractItemsFilter) self.lblFinanceSource.setWordWrap(True) self.lblFinanceSource.setObjectName(_fromUtf8("lblFinanceSource")) self.gridLayout.addWidget(self.lblFinanceSource, 0, 0, 1, 2) self.lblGrouping = QtGui.QLabel(self.grbContractItemsFilter) self.lblGrouping.setObjectName(_fromUtf8("lblGrouping")) self.gridLayout.addWidget(self.lblGrouping, 1, 0, 1, 1) self.edtEndDate = CDateEdit(self.grbContractItemsFilter) self.edtEndDate.setCalendarPopup(True) self.edtEndDate.setObjectName(_fromUtf8("edtEndDate")) self.gridLayout.addWidget(self.edtEndDate, 12, 4, 1, 1) self.lblOrgName = QtGui.QLabel(self.grbContractItemsFilter) self.lblOrgName.setObjectName(_fromUtf8("lblOrgName")) self.gridLayout.addWidget(self.lblOrgName, 7, 0, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.cmbOrgId = COrgComboBox(self.grbContractItemsFilter) self.cmbOrgId.setEnabled(True) self.cmbOrgId.setMinimumSize(QtCore.QSize(200, 25)) self.cmbOrgId.setObjectName(_fromUtf8("cmbOrgId")) self.horizontalLayout.addWidget(self.cmbOrgId) self.btnSelectOrgName = QtGui.QToolButton(self.grbContractItemsFilter) self.btnSelectOrgName.setEnabled(True) self.btnSelectOrgName.setObjectName(_fromUtf8("btnSelectOrgName")) self.horizontalLayout.addWidget(self.btnSelectOrgName) self.gridLayout.addLayout(self.horizontalLayout, 7, 2, 1, 3) self.widget = QtGui.QWidget(self.splitter_3) self.widget.setObjectName(_fromUtf8("widget")) self.verticalLayout = QtGui.QVBoxLayout(self.widget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.tabBar = CTabBar(self.widget) self.tabBar.setObjectName(_fromUtf8("tabBar")) self.verticalLayout.addWidget(self.tabBar) self.mainSplitter = QtGui.QSplitter(self.widget) self.mainSplitter.setOrientation(QtCore.Qt.Vertical) self.mainSplitter.setObjectName(_fromUtf8("mainSplitter")) self.splitter = QtGui.QSplitter(self.mainSplitter) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName(_fromUtf8("splitter")) self.tblClinicalTest = CTableView(self.splitter) self.tblClinicalTest.setObjectName(_fromUtf8("tblClinicalTest")) self.tblClearing = CTableView(self.splitter) self.tblClearing.setObjectName(_fromUtf8("tblClearing")) self.tblItems = CTableView(self.mainSplitter) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout.addWidget(self.mainSplitter) self.gridLayout_2.addWidget(self.splitter_3, 0, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(ContractItemsListDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) self.buttonBox = QtGui.QDialogButtonBox(ContractItemsListDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.hboxlayout.addWidget(self.buttonBox) self.gridLayout_2.addLayout(self.hboxlayout, 1, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ContractItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridLayout_2.addWidget(self.statusBar, 3, 0, 1, 1) self.retranslateUi(ContractItemsListDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), ContractItemsListDialog.close) QtCore.QMetaObject.connectSlotsByName(ContractItemsListDialog) def retranslateUi(self, ContractItemsListDialog): ContractItemsListDialog.setWindowTitle(_translate("ContractItemsListDialog", "Список записей", None)) self.grbContractItemsFilter.setTitle(_translate("ContractItemsListDialog", "Фильтр", None)) self.lblStructureCode.setText(_translate("ContractItemsListDialog", "Подразделение", None)) self.lblResolution.setText(_translate("ContractItemsListDialog", "Основание", None)) self.lblPriceList.setText(_translate("ContractItemsListDialog", "Прайс-лист", None)) self.cmbPriceList.setItemText(0, _translate("ContractItemsListDialog", "не задано", None)) self.cmbPriceList.setItemText(1, _translate("ContractItemsListDialog", "да", None)) self.cmbPriceList.setItemText(2, _translate("ContractItemsListDialog", "нет", None)) self.lblPeriod.setText(_translate("ContractItemsListDialog", "Период действия", None)) self.label_6.setText(_translate("ContractItemsListDialog", "по", None)) self.lblStatus.setText(_translate("ContractItemsListDialog", "Статус учреждения", None)) self.lblNumber.setText(_translate("ContractItemsListDialog", "Номер протокола", None)) self.lblPerson.setText(_translate("ContractItemsListDialog", "Главный исследователь", None)) self.lblFinanceSource.setText(_translate("ContractItemsListDialog", "Источник финансирования", None)) self.lblGrouping.setText(_translate("ContractItemsListDialog", "Группа", None)) self.lblOrgName.setText(_translate("ContractItemsListDialog", "Наименование организации", None)) self.btnSelectOrgName.setText(_translate("ContractItemsListDialog", "...", None)) self.tblItems.setWhatsThis(_translate("ContractItemsListDialog", "список записей", "ура!")) self.label.setText(_translate("ContractItemsListDialog", "всего: ", None)) self.statusBar.setToolTip(_translate("ContractItemsListDialog", "A status bar", None)) self.statusBar.setWhatsThis(_translate("ContractItemsListDialog", "A status bar.", None))
class Ui_PersonsListDialog(object): def setupUi(self, PersonsListDialog): PersonsListDialog.setObjectName(_fromUtf8("PersonsListDialog")) PersonsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) PersonsListDialog.resize(908, 717) PersonsListDialog.setSizeGripEnabled(True) PersonsListDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(PersonsListDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblItems = CTableView(PersonsListDialog) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 30, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setMargin(0) self.hboxlayout.setSpacing(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(PersonsListDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.chkOnlyOwn = QtGui.QCheckBox(PersonsListDialog) self.chkOnlyOwn.setChecked(True) self.chkOnlyOwn.setObjectName(_fromUtf8("chkOnlyOwn")) self.hboxlayout.addWidget(self.chkOnlyOwn) self.chkOnlyWorking = QtGui.QCheckBox(PersonsListDialog) self.chkOnlyWorking.setChecked(True) self.chkOnlyWorking.setObjectName(_fromUtf8("chkOnlyWorking")) self.hboxlayout.addWidget(self.chkOnlyWorking) self.chkOnlyResearcher = QtGui.QCheckBox(PersonsListDialog) self.chkOnlyResearcher.setObjectName(_fromUtf8("chkOnlyResearcher")) self.hboxlayout.addWidget(self.chkOnlyResearcher) self.btnSync = QtGui.QPushButton(PersonsListDialog) self.btnSync.setObjectName(_fromUtf8("btnSync")) self.hboxlayout.addWidget(self.btnSync) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) self.buttonBox = QtGui.QDialogButtonBox(PersonsListDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.hboxlayout.addWidget(self.buttonBox) self.gridLayout.addLayout(self.hboxlayout, 32, 0, 1, 2) self.tabWidget = QtGui.QTabWidget(PersonsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setFocusPolicy(QtCore.Qt.NoFocus) self.tabWidget.setContextMenuPolicy(QtCore.Qt.NoContextMenu) self.tabWidget.setLayoutDirection(QtCore.Qt.LeftToRight) self.tabWidget.setElideMode(QtCore.Qt.ElideNone) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tabCommon = QtGui.QWidget() self.tabCommon.setFocusPolicy(QtCore.Qt.NoFocus) self.tabCommon.setObjectName(_fromUtf8("tabCommon")) self.gridLayout_2 = QtGui.QGridLayout(self.tabCommon) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.chkSpec = QtGui.QCheckBox(self.tabCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkSpec.sizePolicy().hasHeightForWidth()) self.chkSpec.setSizePolicy(sizePolicy) self.chkSpec.setObjectName(_fromUtf8("chkSpec")) self.gridLayout_2.addWidget(self.chkSpec, 11, 0, 1, 1) self.chkUserRightsProfile = QtGui.QCheckBox(self.tabCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkUserRightsProfile.sizePolicy().hasHeightForWidth()) self.chkUserRightsProfile.setSizePolicy(sizePolicy) self.chkUserRightsProfile.setObjectName( _fromUtf8("chkUserRightsProfile")) self.gridLayout_2.addWidget(self.chkUserRightsProfile, 4, 2, 1, 1) self.chkLPU = QtGui.QCheckBox(self.tabCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkLPU.sizePolicy().hasHeightForWidth()) self.chkLPU.setSizePolicy(sizePolicy) self.chkLPU.setObjectName(_fromUtf8("chkLPU")) self.gridLayout_2.addWidget(self.chkLPU, 5, 2, 1, 1) self.chkAcademicDegree = QtGui.QCheckBox(self.tabCommon) self.chkAcademicDegree.setObjectName(_fromUtf8("chkAcademicDegree")) self.gridLayout_2.addWidget(self.chkAcademicDegree, 11, 2, 1, 1) self.edtFirstName = QtGui.QLineEdit(self.tabCommon) self.edtFirstName.setEnabled(False) self.edtFirstName.setObjectName(_fromUtf8("edtFirstName")) self.gridLayout_2.addWidget(self.edtFirstName, 5, 1, 1, 1) self.cmbAcademicDegree = CEnumComboBox(self.tabCommon) self.cmbAcademicDegree.setEnabled(False) self.cmbAcademicDegree.setObjectName(_fromUtf8("cmbAcademicDegree")) self.gridLayout_2.addWidget(self.cmbAcademicDegree, 11, 3, 1, 1) self.cmbOccupationType = CEnumComboBox(self.tabCommon) self.cmbOccupationType.setEnabled(False) self.cmbOccupationType.setObjectName(_fromUtf8("cmbOccupationType")) self.gridLayout_2.addWidget(self.cmbOccupationType, 1, 3, 1, 1) self.chkIsReservist = QtGui.QCheckBox(self.tabCommon) self.chkIsReservist.setObjectName(_fromUtf8("chkIsReservist")) self.gridLayout_2.addWidget(self.chkIsReservist, 7, 2, 1, 1) self.cmbActivity = CRBComboBox(self.tabCommon) self.cmbActivity.setEnabled(False) self.cmbActivity.setObjectName(_fromUtf8("cmbActivity")) self.gridLayout_2.addWidget(self.cmbActivity, 13, 1, 1, 1) self.chkFirstName = QtGui.QCheckBox(self.tabCommon) self.chkFirstName.setObjectName(_fromUtf8("chkFirstName")) self.gridLayout_2.addWidget(self.chkFirstName, 5, 0, 1, 1) self.cmbUserRightsProfile = CRBComboBox(self.tabCommon) self.cmbUserRightsProfile.setEnabled(False) self.cmbUserRightsProfile.setObjectName( _fromUtf8("cmbUserRightsProfile")) self.gridLayout_2.addWidget(self.cmbUserRightsProfile, 4, 3, 1, 1) self.chkOccupationType = QtGui.QCheckBox(self.tabCommon) self.chkOccupationType.setObjectName(_fromUtf8("chkOccupationType")) self.gridLayout_2.addWidget(self.chkOccupationType, 1, 2, 1, 1) self.chkActivity = QtGui.QCheckBox(self.tabCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkActivity.sizePolicy().hasHeightForWidth()) self.chkActivity.setSizePolicy(sizePolicy) self.chkActivity.setObjectName(_fromUtf8("chkActivity")) self.gridLayout_2.addWidget(self.chkActivity, 13, 0, 1, 1) self.chkLastName = QtGui.QCheckBox(self.tabCommon) self.chkLastName.setObjectName(_fromUtf8("chkLastName")) self.gridLayout_2.addWidget(self.chkLastName, 4, 0, 1, 1) self.cmbIsReservist = CEnumComboBox(self.tabCommon) self.cmbIsReservist.setEnabled(False) self.cmbIsReservist.setObjectName(_fromUtf8("cmbIsReservist")) self.gridLayout_2.addWidget(self.cmbIsReservist, 7, 3, 1, 1) self.edtLastName = QtGui.QLineEdit(self.tabCommon) self.edtLastName.setEnabled(False) self.edtLastName.setObjectName(_fromUtf8("edtLastName")) self.gridLayout_2.addWidget(self.edtLastName, 4, 1, 1, 1) self.boxStrPodr = COrgStructureComboBox(self.tabCommon) self.boxStrPodr.setEnabled(False) self.boxStrPodr.setObjectName(_fromUtf8("boxStrPodr")) self.gridLayout_2.addWidget(self.boxStrPodr, 9, 1, 1, 1) self.edtPatrName = QtGui.QLineEdit(self.tabCommon) self.edtPatrName.setEnabled(False) self.edtPatrName.setObjectName(_fromUtf8("edtPatrName")) self.gridLayout_2.addWidget(self.edtPatrName, 7, 1, 1, 1) self.cmbEmploymentType = CEnumComboBox(self.tabCommon) self.cmbEmploymentType.setEnabled(False) self.cmbEmploymentType.setObjectName(_fromUtf8("cmbEmploymentType")) self.gridLayout_2.addWidget(self.cmbEmploymentType, 9, 3, 1, 1) self.chkCode = QtGui.QCheckBox(self.tabCommon) self.chkCode.setObjectName(_fromUtf8("chkCode")) self.gridLayout_2.addWidget(self.chkCode, 1, 0, 1, 1) self.edtCode = QtGui.QLineEdit(self.tabCommon) self.edtCode.setEnabled(False) self.edtCode.setObjectName(_fromUtf8("edtCode")) self.gridLayout_2.addWidget(self.edtCode, 1, 1, 1, 1) self.edtFedCode = QtGui.QLineEdit(self.tabCommon) self.edtFedCode.setEnabled(False) self.edtFedCode.setObjectName(_fromUtf8("edtFedCode")) self.gridLayout_2.addWidget(self.edtFedCode, 13, 3, 1, 1) self.chkStrPodr = QtGui.QCheckBox(self.tabCommon) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.chkStrPodr.sizePolicy().hasHeightForWidth()) self.chkStrPodr.setSizePolicy(sizePolicy) self.chkStrPodr.setObjectName(_fromUtf8("chkStrPodr")) self.gridLayout_2.addWidget(self.chkStrPodr, 9, 0, 1, 1) self.chkEmploymentType = QtGui.QCheckBox(self.tabCommon) self.chkEmploymentType.setObjectName(_fromUtf8("chkEmploymentType")) self.gridLayout_2.addWidget(self.chkEmploymentType, 9, 2, 1, 1) self.chkFedCode = QtGui.QCheckBox(self.tabCommon) self.chkFedCode.setObjectName(_fromUtf8("chkFedCode")) self.gridLayout_2.addWidget(self.chkFedCode, 13, 2, 1, 1) self.cmbSpeciality = CRBComboBox(self.tabCommon) self.cmbSpeciality.setEnabled(False) self.cmbSpeciality.setObjectName(_fromUtf8("cmbSpeciality")) self.gridLayout_2.addWidget(self.cmbSpeciality, 11, 1, 1, 1) self.chkPatrName = QtGui.QCheckBox(self.tabCommon) self.chkPatrName.setObjectName(_fromUtf8("chkPatrName")) self.gridLayout_2.addWidget(self.chkPatrName, 7, 0, 1, 1) self.cmbOrg = CPolyclinicExtendedComboBox(self.tabCommon) self.cmbOrg.setEnabled(False) self.cmbOrg.setObjectName(_fromUtf8("cmbOrg")) self.gridLayout_2.addWidget(self.cmbOrg, 5, 3, 1, 1) self.tabWidget.addTab(self.tabCommon, _fromUtf8("")) self.tabPrivateInform = QtGui.QWidget() self.tabPrivateInform.setObjectName(_fromUtf8("tabPrivateInform")) self.gridLayout_6 = QtGui.QGridLayout(self.tabPrivateInform) self.gridLayout_6.setObjectName(_fromUtf8("gridLayout_6")) self.gridLayout_5 = QtGui.QGridLayout() self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.chkMaritalStatus = QtGui.QCheckBox(self.tabPrivateInform) self.chkMaritalStatus.setObjectName(_fromUtf8("chkMaritalStatus")) self.gridLayout_5.addWidget(self.chkMaritalStatus, 1, 0, 1, 1) self.chkBirthDate = QtGui.QCheckBox(self.tabPrivateInform) self.chkBirthDate.setObjectName(_fromUtf8("chkBirthDate")) self.gridLayout_5.addWidget(self.chkBirthDate, 4, 0, 1, 1) self.edtBirthDate = CDateEdit(self.tabPrivateInform) self.edtBirthDate.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.edtBirthDate.sizePolicy().hasHeightForWidth()) self.edtBirthDate.setSizePolicy(sizePolicy) self.edtBirthDate.setObjectName(_fromUtf8("edtBirthDate")) self.gridLayout_5.addWidget(self.edtBirthDate, 4, 1, 1, 1) self.cmbSex = QtGui.QComboBox(self.tabPrivateInform) self.cmbSex.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbSex.sizePolicy().hasHeightForWidth()) self.cmbSex.setSizePolicy(sizePolicy) self.cmbSex.setObjectName(_fromUtf8("cmbSex")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.setItemText(0, _fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.cmbSex.addItem(_fromUtf8("")) self.gridLayout_5.addWidget(self.cmbSex, 3, 1, 1, 1) self.chkCitizenship = QtGui.QCheckBox(self.tabPrivateInform) self.chkCitizenship.setObjectName(_fromUtf8("chkCitizenship")) self.gridLayout_5.addWidget(self.chkCitizenship, 2, 0, 1, 1) self.cmbRegistryType = CEnumComboBox(self.tabPrivateInform) self.cmbRegistryType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbRegistryType.sizePolicy().hasHeightForWidth()) self.cmbRegistryType.setSizePolicy(sizePolicy) self.cmbRegistryType.setObjectName(_fromUtf8("cmbRegistryType")) self.gridLayout_5.addWidget(self.cmbRegistryType, 0, 1, 1, 1) self.cmbCitizenship = CRBComboBox(self.tabPrivateInform) self.cmbCitizenship.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbCitizenship.sizePolicy().hasHeightForWidth()) self.cmbCitizenship.setSizePolicy(sizePolicy) self.cmbCitizenship.setObjectName(_fromUtf8("cmbCitizenship")) self.gridLayout_5.addWidget(self.cmbCitizenship, 2, 1, 1, 1) self.chkSex = QtGui.QCheckBox(self.tabPrivateInform) self.chkSex.setObjectName(_fromUtf8("chkSex")) self.gridLayout_5.addWidget(self.chkSex, 3, 0, 1, 1) self.chkRegistryType = QtGui.QCheckBox(self.tabPrivateInform) self.chkRegistryType.setObjectName(_fromUtf8("chkRegistryType")) self.gridLayout_5.addWidget(self.chkRegistryType, 0, 0, 1, 1) self.cmbMaritalStatus = CEnumComboBox(self.tabPrivateInform) self.cmbMaritalStatus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbMaritalStatus.sizePolicy().hasHeightForWidth()) self.cmbMaritalStatus.setSizePolicy(sizePolicy) self.cmbMaritalStatus.setObjectName(_fromUtf8("cmbMaritalStatus")) self.gridLayout_5.addWidget(self.cmbMaritalStatus, 1, 1, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_5.addItem(spacerItem2, 0, 2, 1, 1) self.gridLayout_6.addLayout(self.gridLayout_5, 0, 0, 1, 1) spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_6.addItem(spacerItem3, 1, 0, 1, 1) self.tabWidget.addTab(self.tabPrivateInform, _fromUtf8("")) self.tabQualification = QtGui.QWidget() self.tabQualification.setLayoutDirection(QtCore.Qt.LeftToRight) self.tabQualification.setObjectName(_fromUtf8("tabQualification")) self.gridLayout_4 = QtGui.QGridLayout(self.tabQualification) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.gridLayout_3 = QtGui.QGridLayout() self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.cmbCategory = CRBComboBox(self.tabQualification) self.cmbCategory.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbCategory.sizePolicy().hasHeightForWidth()) self.cmbCategory.setSizePolicy(sizePolicy) self.cmbCategory.setObjectName(_fromUtf8("cmbCategory")) self.gridLayout_3.addWidget(self.cmbCategory, 1, 1, 1, 1) self.cmbEducationType = CEnumComboBox(self.tabQualification) self.cmbEducationType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.cmbEducationType.sizePolicy().hasHeightForWidth()) self.cmbEducationType.setSizePolicy(sizePolicy) self.cmbEducationType.setObjectName(_fromUtf8("cmbEducationType")) self.gridLayout_3.addWidget(self.cmbEducationType, 0, 1, 1, 1) self.chkCategory = QtGui.QCheckBox(self.tabQualification) self.chkCategory.setObjectName(_fromUtf8("chkCategory")) self.gridLayout_3.addWidget(self.chkCategory, 1, 0, 1, 1) self.chkEducationType = QtGui.QCheckBox(self.tabQualification) self.chkEducationType.setObjectName(_fromUtf8("chkEducationType")) self.gridLayout_3.addWidget(self.chkEducationType, 0, 0, 1, 1) spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem4, 0, 2, 1, 1) self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_4.addItem(spacerItem5, 1, 0, 1, 1) self.tabWidget.addTab(self.tabQualification, _fromUtf8("")) self.gridLayout.addWidget(self.tabWidget, 3, 0, 1, 1) self.retranslateUi(PersonsListDialog) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), PersonsListDialog.close) QtCore.QObject.connect(self.chkFedCode, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtFedCode.setEnabled) QtCore.QObject.connect(self.chkFedCode, QtCore.SIGNAL(_fromUtf8("clicked()")), self.edtFedCode.setFocus) QtCore.QObject.connect(self.chkStrPodr, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.boxStrPodr.setEnabled) QtCore.QObject.connect(self.chkSpec, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbSpeciality.setEnabled) QtCore.QObject.connect(self.chkPatrName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtPatrName.setEnabled) QtCore.QObject.connect(self.chkActivity, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbActivity.setEnabled) QtCore.QObject.connect(self.chkFirstName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtFirstName.setEnabled) QtCore.QObject.connect(self.chkLastName, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtLastName.setEnabled) QtCore.QObject.connect(self.chkCode, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtCode.setEnabled) QtCore.QObject.connect(self.chkOccupationType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbOccupationType.setEnabled) QtCore.QObject.connect(self.chkAcademicDegree, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbAcademicDegree.setEnabled) QtCore.QObject.connect(self.chkEmploymentType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbEmploymentType.setEnabled) QtCore.QObject.connect(self.chkIsReservist, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbIsReservist.setEnabled) QtCore.QObject.connect(self.chkLPU, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbOrg.setEnabled) QtCore.QObject.connect(self.chkUserRightsProfile, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbUserRightsProfile.setEnabled) QtCore.QObject.connect(self.chkRegistryType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbRegistryType.setEnabled) QtCore.QObject.connect(self.chkMaritalStatus, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbMaritalStatus.setEnabled) QtCore.QObject.connect(self.chkCitizenship, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbCitizenship.setEnabled) QtCore.QObject.connect(self.chkEducationType, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbEducationType.setEnabled) QtCore.QObject.connect(self.chkCategory, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbCategory.setEnabled) QtCore.QObject.connect(self.chkSex, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.cmbSex.setEnabled) QtCore.QObject.connect(self.chkBirthDate, QtCore.SIGNAL(_fromUtf8("toggled(bool)")), self.edtBirthDate.setEnabled) QtCore.QMetaObject.connectSlotsByName(PersonsListDialog) PersonsListDialog.setTabOrder(self.chkCode, self.edtCode) PersonsListDialog.setTabOrder(self.edtCode, self.chkLastName) PersonsListDialog.setTabOrder(self.chkLastName, self.edtLastName) PersonsListDialog.setTabOrder(self.edtLastName, self.chkFirstName) PersonsListDialog.setTabOrder(self.chkFirstName, self.edtFirstName) PersonsListDialog.setTabOrder(self.edtFirstName, self.chkPatrName) PersonsListDialog.setTabOrder(self.chkPatrName, self.edtPatrName) PersonsListDialog.setTabOrder(self.edtPatrName, self.chkStrPodr) PersonsListDialog.setTabOrder(self.chkStrPodr, self.boxStrPodr) PersonsListDialog.setTabOrder(self.boxStrPodr, self.chkSpec) PersonsListDialog.setTabOrder(self.chkSpec, self.cmbSpeciality) PersonsListDialog.setTabOrder(self.cmbSpeciality, self.chkActivity) PersonsListDialog.setTabOrder(self.chkActivity, self.cmbActivity) PersonsListDialog.setTabOrder(self.cmbActivity, self.chkOccupationType) PersonsListDialog.setTabOrder(self.chkOccupationType, self.cmbOccupationType) PersonsListDialog.setTabOrder(self.cmbOccupationType, self.chkUserRightsProfile) PersonsListDialog.setTabOrder(self.chkUserRightsProfile, self.cmbUserRightsProfile) PersonsListDialog.setTabOrder(self.cmbUserRightsProfile, self.chkLPU) PersonsListDialog.setTabOrder(self.chkLPU, self.cmbOrg) PersonsListDialog.setTabOrder(self.cmbOrg, self.chkIsReservist) PersonsListDialog.setTabOrder(self.chkIsReservist, self.cmbIsReservist) PersonsListDialog.setTabOrder(self.cmbIsReservist, self.chkEmploymentType) PersonsListDialog.setTabOrder(self.chkEmploymentType, self.cmbEmploymentType) PersonsListDialog.setTabOrder(self.cmbEmploymentType, self.chkAcademicDegree) PersonsListDialog.setTabOrder(self.chkAcademicDegree, self.cmbAcademicDegree) PersonsListDialog.setTabOrder(self.cmbAcademicDegree, self.chkFedCode) PersonsListDialog.setTabOrder(self.chkFedCode, self.edtFedCode) PersonsListDialog.setTabOrder(self.edtFedCode, self.tblItems) PersonsListDialog.setTabOrder(self.tblItems, self.chkOnlyOwn) PersonsListDialog.setTabOrder(self.chkOnlyOwn, self.chkOnlyWorking) PersonsListDialog.setTabOrder(self.chkOnlyWorking, self.chkOnlyResearcher) PersonsListDialog.setTabOrder(self.chkOnlyResearcher, self.btnSync) PersonsListDialog.setTabOrder(self.btnSync, self.buttonBox) PersonsListDialog.setTabOrder(self.buttonBox, self.chkRegistryType) PersonsListDialog.setTabOrder(self.chkRegistryType, self.cmbRegistryType) PersonsListDialog.setTabOrder(self.cmbRegistryType, self.chkMaritalStatus) PersonsListDialog.setTabOrder(self.chkMaritalStatus, self.cmbMaritalStatus) PersonsListDialog.setTabOrder(self.cmbMaritalStatus, self.chkCitizenship) PersonsListDialog.setTabOrder(self.chkCitizenship, self.cmbCitizenship) PersonsListDialog.setTabOrder(self.cmbCitizenship, self.chkSex) PersonsListDialog.setTabOrder(self.chkSex, self.cmbSex) PersonsListDialog.setTabOrder(self.cmbSex, self.chkBirthDate) PersonsListDialog.setTabOrder(self.chkBirthDate, self.edtBirthDate) PersonsListDialog.setTabOrder(self.edtBirthDate, self.chkEducationType) PersonsListDialog.setTabOrder(self.chkEducationType, self.cmbEducationType) PersonsListDialog.setTabOrder(self.cmbEducationType, self.chkCategory) PersonsListDialog.setTabOrder(self.chkCategory, self.cmbCategory) def retranslateUi(self, PersonsListDialog): PersonsListDialog.setWindowTitle( _translate("PersonsListDialog", "Список записей", None)) self.tblItems.setWhatsThis( _translate("PersonsListDialog", "список записей", "ура!")) self.label.setText(_translate("PersonsListDialog", "всего: ", None)) self.chkOnlyOwn.setText( _translate("PersonsListDialog", "Только свои", None)) self.chkOnlyWorking.setText( _translate("PersonsListDialog", "Только работающие", None)) self.chkOnlyResearcher.setText( _translate("PersonsListDialog", "Только главные исследователи", None)) self.btnSync.setText( _translate("PersonsListDialog", "Синхронизация", None)) self.chkSpec.setText( _translate("PersonsListDialog", "Специальность", None)) self.chkUserRightsProfile.setText( _translate("PersonsListDialog", "Профиль прав", None)) self.chkLPU.setText( _translate("PersonsListDialog", "Внешнее ЛПУ", None)) self.chkAcademicDegree.setText( _translate("PersonsListDialog", "Учёная степень", None)) self.chkIsReservist.setText( _translate("PersonsListDialog", "Отношение к военной службе", None)) self.chkFirstName.setText(_translate("PersonsListDialog", "Имя", None)) self.chkOccupationType.setText( _translate("PersonsListDialog", "Тип занятия должности", None)) self.chkActivity.setText( _translate("PersonsListDialog", "Вид деятельности", None)) self.chkLastName.setText( _translate("PersonsListDialog", "Фамилия", None)) self.chkCode.setText(_translate("PersonsListDialog", "Код", None)) self.chkStrPodr.setText( _translate("PersonsListDialog", "Структурное подразделение", None)) self.chkEmploymentType.setText( _translate("PersonsListDialog", "Режим работы", None)) self.chkFedCode.setText( _translate("PersonsListDialog", "Федеральный код", None)) self.chkPatrName.setText( _translate("PersonsListDialog", "Отчество", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabCommon), _translate("PersonsListDialog", "Общее", None)) self.chkMaritalStatus.setText( _translate("PersonsListDialog", "Семейное положение", None)) self.chkBirthDate.setText( _translate("PersonsListDialog", "Дата рождения", None)) self.cmbSex.setItemText(1, _translate("PersonsListDialog", "М", None)) self.cmbSex.setItemText(2, _translate("PersonsListDialog", "Ж", None)) self.chkCitizenship.setText( _translate("PersonsListDialog", "Гражданство", None)) self.chkSex.setText(_translate("PersonsListDialog", "Пол", None)) self.chkRegistryType.setText( _translate("PersonsListDialog", "Тип регистрации", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabPrivateInform), _translate("PersonsListDialog", "Личное", None)) self.chkCategory.setText( _translate("PersonsListDialog", "Категория", None)) self.chkEducationType.setText( _translate("PersonsListDialog", "Тип образования", None)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tabQualification), _translate("PersonsListDialog", "Квалификация", None))
class Ui_HierarchicalItemsListDialog(object): def setupUi(self, HierarchicalItemsListDialog): HierarchicalItemsListDialog.setObjectName( _fromUtf8("HierarchicalItemsListDialog")) HierarchicalItemsListDialog.setWindowModality( QtCore.Qt.ApplicationModal) HierarchicalItemsListDialog.resize(603, 476) HierarchicalItemsListDialog.setSizeGripEnabled(True) HierarchicalItemsListDialog.setModal(True) self.verticalLayout_3 = QtGui.QVBoxLayout(HierarchicalItemsListDialog) self.verticalLayout_3.setSpacing(4) self.verticalLayout_3.setMargin(4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.splitter = QtGui.QSplitter(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.splitter.sizePolicy().hasHeightForWidth()) self.splitter.setSizePolicy(sizePolicy) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setChildrenCollapsible(False) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlTree = QtGui.QWidget(self.splitter) self.pnlTree.setObjectName(_fromUtf8("pnlTree")) self.verticalLayout = QtGui.QVBoxLayout(self.pnlTree) self.verticalLayout.setSpacing(4) self.verticalLayout.setMargin(0) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.treeItems = CTreeView(self.pnlTree) self.treeItems.setObjectName(_fromUtf8("treeItems")) self.verticalLayout.addWidget(self.treeItems) self.lblPadding = QtGui.QLabel(self.pnlTree) self.lblPadding.setText(_fromUtf8("")) self.lblPadding.setObjectName(_fromUtf8("lblPadding")) self.verticalLayout.addWidget(self.lblPadding) self.pnlList = QtGui.QWidget(self.splitter) self.pnlList.setObjectName(_fromUtf8("pnlList")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.pnlList) self.verticalLayout_2.setSpacing(4) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setMargin(0) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.tblItems = CTableView(self.pnlList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.verticalLayout_2.addWidget(self.tblItems) self.lblCountRows = QtGui.QLabel(self.pnlList) self.lblCountRows.setText(_fromUtf8("")) self.lblCountRows.setObjectName(_fromUtf8("lblCountRows")) self.verticalLayout_2.addWidget(self.lblCountRows) self.verticalLayout_3.addWidget(self.splitter) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnFind = QtGui.QPushButton(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.btnFind.sizePolicy().hasHeightForWidth()) self.btnFind.setSizePolicy(sizePolicy) self.btnFind.setObjectName(_fromUtf8("btnFind")) self.hboxlayout.addWidget(self.btnFind) self.btnSelect = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnSelect.setObjectName(_fromUtf8("btnSelect")) self.hboxlayout.addWidget(self.btnSelect) self.btnFilter = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnFilter.setObjectName(_fromUtf8("btnFilter")) self.hboxlayout.addWidget(self.btnFilter) self.btnEdit = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnCancel = QtGui.QPushButton(HierarchicalItemsListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.verticalLayout_3.addLayout(self.hboxlayout) self.statusBar = QtGui.QStatusBar(HierarchicalItemsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.verticalLayout_3.addWidget(self.statusBar) self.retranslateUi(HierarchicalItemsListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), HierarchicalItemsListDialog.reject) QtCore.QMetaObject.connectSlotsByName(HierarchicalItemsListDialog) HierarchicalItemsListDialog.setTabOrder(self.treeItems, self.tblItems) HierarchicalItemsListDialog.setTabOrder(self.tblItems, self.btnSelect) HierarchicalItemsListDialog.setTabOrder(self.btnSelect, self.btnFilter) HierarchicalItemsListDialog.setTabOrder(self.btnFilter, self.btnEdit) HierarchicalItemsListDialog.setTabOrder(self.btnEdit, self.btnNew) HierarchicalItemsListDialog.setTabOrder(self.btnNew, self.btnCancel) def retranslateUi(self, HierarchicalItemsListDialog): HierarchicalItemsListDialog.setWindowTitle( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.btnFind.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Поиск", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "выбрать текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnSelect.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Выбор", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setWhatsThis( QtGui.QApplication.translate( "HierarchicalItemsListDialog", "изменить условие отбора записей для показа в списке", None, QtGui.QApplication.UnicodeUTF8)) self.btnFilter.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Фильтр", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "изменить текущую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Правка F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setShortcut( QtGui.QApplication.translate("HierarchicalItemsListDialog", "F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "добавить новую запись", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Вставка F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setShortcut( QtGui.QApplication.translate("HierarchicalItemsListDialog", "F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "выйти из списка без выбора", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setText( QtGui.QApplication.translate("HierarchicalItemsListDialog", "Закрыть", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip( QtGui.QApplication.translate("HierarchicalItemsListDialog", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis( QtGui.QApplication.translate("HierarchicalItemsListDialog", "A status bar.", None, QtGui.QApplication.UnicodeUTF8))
class Ui_EquipmentsListDialog(object): def setupUi(self, EquipmentsListDialog): EquipmentsListDialog.setObjectName(_fromUtf8("EquipmentsListDialog")) EquipmentsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) EquipmentsListDialog.resize(742, 585) EquipmentsListDialog.setSizeGripEnabled(True) EquipmentsListDialog.setModal(True) self.gridLayout_4 = QtGui.QGridLayout(EquipmentsListDialog) self.gridLayout_4.setMargin(4) self.gridLayout_4.setSpacing(4) self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4")) self.buttonBox = QtGui.QDialogButtonBox(EquipmentsListDialog) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName(_fromUtf8("buttonBox")) self.gridLayout_4.addWidget(self.buttonBox, 1, 1, 1, 1) self.statusBar = QtGui.QStatusBar(EquipmentsListDialog) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridLayout_4.addWidget(self.statusBar, 1, 0, 1, 1) self.splitter_2 = QtGui.QSplitter(EquipmentsListDialog) self.splitter_2.setOrientation(QtCore.Qt.Horizontal) self.splitter_2.setChildrenCollapsible(False) self.splitter_2.setObjectName(_fromUtf8("splitter_2")) self.pnlFilter = QtGui.QWidget(self.splitter_2) self.pnlFilter.setObjectName(_fromUtf8("pnlFilter")) self.gridLayout_3 = QtGui.QGridLayout(self.pnlFilter) self.gridLayout_3.setMargin(0) self.gridLayout_3.setSpacing(4) self.gridLayout_3.setMargin(0) self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.chkReleaseDate = QtGui.QCheckBox(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkReleaseDate.sizePolicy().hasHeightForWidth()) self.chkReleaseDate.setSizePolicy(sizePolicy) self.chkReleaseDate.setObjectName(_fromUtf8("chkReleaseDate")) self.gridLayout_3.addWidget(self.chkReleaseDate, 0, 0, 1, 1) self.chkEquipmentType = QtGui.QCheckBox(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkEquipmentType.sizePolicy().hasHeightForWidth()) self.chkEquipmentType.setSizePolicy(sizePolicy) self.chkEquipmentType.setObjectName(_fromUtf8("chkEquipmentType")) self.gridLayout_3.addWidget(self.chkEquipmentType, 2, 0, 1, 1) self.chkModel = QtGui.QCheckBox(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkModel.sizePolicy().hasHeightForWidth()) self.chkModel.setSizePolicy(sizePolicy) self.chkModel.setObjectName(_fromUtf8("chkModel")) self.gridLayout_3.addWidget(self.chkModel, 6, 0, 1, 1) self.chkInventoryNumber = QtGui.QCheckBox(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkInventoryNumber.sizePolicy().hasHeightForWidth()) self.chkInventoryNumber.setSizePolicy(sizePolicy) self.chkInventoryNumber.setObjectName(_fromUtf8("chkInventoryNumber")) self.gridLayout_3.addWidget(self.chkInventoryNumber, 8, 0, 1, 1) self.chkStatus = QtGui.QCheckBox(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.chkStatus.sizePolicy().hasHeightForWidth()) self.chkStatus.setSizePolicy(sizePolicy) self.chkStatus.setObjectName(_fromUtf8("chkStatus")) self.gridLayout_3.addWidget(self.chkStatus, 10, 0, 1, 1) self.widget = QtGui.QWidget(self.pnlFilter) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Maximum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setObjectName(_fromUtf8("widget")) self.horizontalLayout = QtGui.QHBoxLayout(self.widget) self.horizontalLayout.setSpacing(0) self.horizontalLayout.setMargin(0) self.horizontalLayout.setMargin(0) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.lblReleaseDateFrom = QtGui.QLabel(self.widget) self.lblReleaseDateFrom.setObjectName(_fromUtf8("lblReleaseDateFrom")) self.horizontalLayout.addWidget(self.lblReleaseDateFrom) self.edtReleaseDateFrom = CDateEdit(self.widget) self.edtReleaseDateFrom.setEnabled(False) self.edtReleaseDateFrom.setObjectName(_fromUtf8("edtReleaseDateFrom")) self.horizontalLayout.addWidget(self.edtReleaseDateFrom) self.lblReleaseDateTo = QtGui.QLabel(self.widget) self.lblReleaseDateTo.setObjectName(_fromUtf8("lblReleaseDateTo")) self.horizontalLayout.addWidget(self.lblReleaseDateTo) self.edtReleaseDateTo = CDateEdit(self.widget) self.edtReleaseDateTo.setEnabled(False) self.edtReleaseDateTo.setObjectName(_fromUtf8("edtReleaseDateTo")) self.horizontalLayout.addWidget(self.edtReleaseDateTo) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.gridLayout_3.addWidget(self.widget, 1, 0, 1, 3) self.cmbEquipmentType = CRBComboBox(self.pnlFilter) self.cmbEquipmentType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbEquipmentType.sizePolicy().hasHeightForWidth()) self.cmbEquipmentType.setSizePolicy(sizePolicy) self.cmbEquipmentType.setObjectName(_fromUtf8("cmbEquipmentType")) self.gridLayout_3.addWidget(self.cmbEquipmentType, 3, 0, 1, 3) self.edtModel = QtGui.QLineEdit(self.pnlFilter) self.edtModel.setEnabled(False) self.edtModel.setObjectName(_fromUtf8("edtModel")) self.gridLayout_3.addWidget(self.edtModel, 7, 0, 1, 3) self.edtInventoryNumber = QtGui.QLineEdit(self.pnlFilter) self.edtInventoryNumber.setEnabled(False) self.edtInventoryNumber.setObjectName(_fromUtf8("edtInventoryNumber")) self.gridLayout_3.addWidget(self.edtInventoryNumber, 9, 0, 1, 3) self.cmbStatus = QtGui.QComboBox(self.pnlFilter) self.cmbStatus.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbStatus.sizePolicy().hasHeightForWidth()) self.cmbStatus.setSizePolicy(sizePolicy) self.cmbStatus.setObjectName(_fromUtf8("cmbStatus")) self.cmbStatus.addItem(_fromUtf8("")) self.cmbStatus.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbStatus, 11, 0, 1, 3) self.filterButtonBox = QtGui.QDialogButtonBox(self.pnlFilter) self.filterButtonBox.setStandardButtons(QtGui.QDialogButtonBox.Apply|QtGui.QDialogButtonBox.Reset) self.filterButtonBox.setObjectName(_fromUtf8("filterButtonBox")) self.gridLayout_3.addWidget(self.filterButtonBox, 19, 0, 1, 3) self.chkOrgStructure = QtGui.QCheckBox(self.pnlFilter) self.chkOrgStructure.setObjectName(_fromUtf8("chkOrgStructure")) self.gridLayout_3.addWidget(self.chkOrgStructure, 4, 0, 1, 1) self.cmbOrgStructure = COrgStructureComboBox(self.pnlFilter) self.cmbOrgStructure.setEnabled(False) self.cmbOrgStructure.setObjectName(_fromUtf8("cmbOrgStructure")) self.gridLayout_3.addWidget(self.cmbOrgStructure, 5, 0, 1, 3) self.chkMaintenance = QtGui.QCheckBox(self.pnlFilter) self.chkMaintenance.setObjectName(_fromUtf8("chkMaintenance")) self.gridLayout_3.addWidget(self.chkMaintenance, 12, 0, 1, 1) self.cmbMaintenance = QtGui.QComboBox(self.pnlFilter) self.cmbMaintenance.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbMaintenance.sizePolicy().hasHeightForWidth()) self.cmbMaintenance.setSizePolicy(sizePolicy) self.cmbMaintenance.setObjectName(_fromUtf8("cmbMaintenance")) self.cmbMaintenance.addItem(_fromUtf8("")) self.cmbMaintenance.addItem(_fromUtf8("")) self.cmbMaintenance.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbMaintenance, 13, 0, 1, 1) self.edtMaintenanceTerm = QtGui.QSpinBox(self.pnlFilter) self.edtMaintenanceTerm.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.edtMaintenanceTerm.sizePolicy().hasHeightForWidth()) self.edtMaintenanceTerm.setSizePolicy(sizePolicy) self.edtMaintenanceTerm.setObjectName(_fromUtf8("edtMaintenanceTerm")) self.gridLayout_3.addWidget(self.edtMaintenanceTerm, 13, 1, 1, 1) self.cmbMaintenanceTermType = QtGui.QComboBox(self.pnlFilter) self.cmbMaintenanceTermType.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.cmbMaintenanceTermType.sizePolicy().hasHeightForWidth()) self.cmbMaintenanceTermType.setSizePolicy(sizePolicy) self.cmbMaintenanceTermType.setObjectName(_fromUtf8("cmbMaintenanceTermType")) self.cmbMaintenanceTermType.addItem(_fromUtf8("")) self.cmbMaintenanceTermType.addItem(_fromUtf8("")) self.cmbMaintenanceTermType.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbMaintenanceTermType, 13, 2, 1, 1) self.chkWarranty = QtGui.QCheckBox(self.pnlFilter) self.chkWarranty.setEnabled(True) self.chkWarranty.setObjectName(_fromUtf8("chkWarranty")) self.gridLayout_3.addWidget(self.chkWarranty, 14, 0, 1, 1) self.cmbWarranty = QtGui.QComboBox(self.pnlFilter) self.cmbWarranty.setEnabled(False) self.cmbWarranty.setObjectName(_fromUtf8("cmbWarranty")) self.cmbWarranty.addItem(_fromUtf8("")) self.cmbWarranty.addItem(_fromUtf8("")) self.cmbWarranty.addItem(_fromUtf8("")) self.cmbWarranty.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbWarranty, 15, 0, 1, 1) self.edtWarrantyTerm = QtGui.QSpinBox(self.pnlFilter) self.edtWarrantyTerm.setEnabled(False) self.edtWarrantyTerm.setObjectName(_fromUtf8("edtWarrantyTerm")) self.gridLayout_3.addWidget(self.edtWarrantyTerm, 15, 1, 1, 1) self.cmbWarrantyTermType = QtGui.QComboBox(self.pnlFilter) self.cmbWarrantyTermType.setEnabled(False) self.cmbWarrantyTermType.setObjectName(_fromUtf8("cmbWarrantyTermType")) self.cmbWarrantyTermType.addItem(_fromUtf8("")) self.cmbWarrantyTermType.addItem(_fromUtf8("")) self.cmbWarrantyTermType.addItem(_fromUtf8("")) self.gridLayout_3.addWidget(self.cmbWarrantyTermType, 15, 2, 1, 1) self.chkEmploymentTerm = QtGui.QCheckBox(self.pnlFilter) self.chkEmploymentTerm.setEnabled(True) self.chkEmploymentTerm.setObjectName(_fromUtf8("chkEmploymentTerm")) self.gridLayout_3.addWidget(self.chkEmploymentTerm, 16, 0, 1, 1) self.edtEmploymentTerm = QtGui.QSpinBox(self.pnlFilter) self.edtEmploymentTerm.setEnabled(False) self.edtEmploymentTerm.setObjectName(_fromUtf8("edtEmploymentTerm")) self.gridLayout_3.addWidget(self.edtEmploymentTerm, 16, 1, 1, 2) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_3.addItem(spacerItem1, 18, 0, 1, 1) self.splitter = QtGui.QSplitter(self.splitter_2) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName(_fromUtf8("splitter")) self.pnlItemsList = QtGui.QWidget(self.splitter) self.pnlItemsList.setObjectName(_fromUtf8("pnlItemsList")) self.gridLayout = QtGui.QGridLayout(self.pnlItemsList) self.gridLayout.setMargin(0) self.gridLayout.setSpacing(4) self.gridLayout.setMargin(0) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.tblItems = CTableView(self.pnlItemsList) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 0, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(self.pnlItemsList) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem2) self.gridLayout.addLayout(self.hboxlayout, 1, 0, 1, 1) self.pnlMaintenanceJournal = QtGui.QWidget(self.splitter) self.pnlMaintenanceJournal.setObjectName(_fromUtf8("pnlMaintenanceJournal")) self.gridLayout_2 = QtGui.QGridLayout(self.pnlMaintenanceJournal) self.gridLayout_2.setMargin(0) self.gridLayout_2.setSpacing(0) self.gridLayout_2.setMargin(0) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.tblMaintenanceJournal = CInDocTableView(self.pnlMaintenanceJournal) self.tblMaintenanceJournal.setObjectName(_fromUtf8("tblMaintenanceJournal")) self.gridLayout_2.addWidget(self.tblMaintenanceJournal, 0, 0, 1, 1) self.gridLayout_4.addWidget(self.splitter_2, 0, 0, 1, 2) self.retranslateUi(EquipmentsListDialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), EquipmentsListDialog.close) QtCore.QObject.connect(self.chkReleaseDate, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtReleaseDateFrom.setEnabled) QtCore.QObject.connect(self.chkReleaseDate, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtReleaseDateTo.setEnabled) QtCore.QObject.connect(self.chkEquipmentType, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbEquipmentType.setEnabled) QtCore.QObject.connect(self.chkOrgStructure, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbOrgStructure.setEnabled) QtCore.QObject.connect(self.chkModel, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtModel.setEnabled) QtCore.QObject.connect(self.chkInventoryNumber, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtInventoryNumber.setEnabled) QtCore.QObject.connect(self.chkStatus, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbStatus.setEnabled) QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbMaintenance.setEnabled) QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtMaintenanceTerm.setEnabled) QtCore.QObject.connect(self.chkMaintenance, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbMaintenanceTermType.setEnabled) QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbWarranty.setEnabled) QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtWarrantyTerm.setEnabled) QtCore.QObject.connect(self.chkWarranty, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.cmbWarrantyTermType.setEnabled) QtCore.QObject.connect(self.chkEmploymentTerm, QtCore.SIGNAL(_fromUtf8("clicked(bool)")), self.edtEmploymentTerm.setEnabled) QtCore.QMetaObject.connectSlotsByName(EquipmentsListDialog) EquipmentsListDialog.setTabOrder(self.chkReleaseDate, self.edtReleaseDateFrom) EquipmentsListDialog.setTabOrder(self.edtReleaseDateFrom, self.edtReleaseDateTo) EquipmentsListDialog.setTabOrder(self.edtReleaseDateTo, self.chkEquipmentType) EquipmentsListDialog.setTabOrder(self.chkEquipmentType, self.cmbEquipmentType) EquipmentsListDialog.setTabOrder(self.cmbEquipmentType, self.chkOrgStructure) EquipmentsListDialog.setTabOrder(self.chkOrgStructure, self.cmbOrgStructure) EquipmentsListDialog.setTabOrder(self.cmbOrgStructure, self.chkModel) EquipmentsListDialog.setTabOrder(self.chkModel, self.edtModel) EquipmentsListDialog.setTabOrder(self.edtModel, self.chkInventoryNumber) EquipmentsListDialog.setTabOrder(self.chkInventoryNumber, self.edtInventoryNumber) EquipmentsListDialog.setTabOrder(self.edtInventoryNumber, self.chkStatus) EquipmentsListDialog.setTabOrder(self.chkStatus, self.cmbStatus) EquipmentsListDialog.setTabOrder(self.cmbStatus, self.chkMaintenance) EquipmentsListDialog.setTabOrder(self.chkMaintenance, self.cmbMaintenance) EquipmentsListDialog.setTabOrder(self.cmbMaintenance, self.edtMaintenanceTerm) EquipmentsListDialog.setTabOrder(self.edtMaintenanceTerm, self.cmbMaintenanceTermType) EquipmentsListDialog.setTabOrder(self.cmbMaintenanceTermType, self.chkWarranty) EquipmentsListDialog.setTabOrder(self.chkWarranty, self.cmbWarranty) EquipmentsListDialog.setTabOrder(self.cmbWarranty, self.edtWarrantyTerm) EquipmentsListDialog.setTabOrder(self.edtWarrantyTerm, self.cmbWarrantyTermType) EquipmentsListDialog.setTabOrder(self.cmbWarrantyTermType, self.chkEmploymentTerm) EquipmentsListDialog.setTabOrder(self.chkEmploymentTerm, self.edtEmploymentTerm) EquipmentsListDialog.setTabOrder(self.edtEmploymentTerm, self.filterButtonBox) EquipmentsListDialog.setTabOrder(self.filterButtonBox, self.tblItems) EquipmentsListDialog.setTabOrder(self.tblItems, self.tblMaintenanceJournal) EquipmentsListDialog.setTabOrder(self.tblMaintenanceJournal, self.buttonBox) def retranslateUi(self, EquipmentsListDialog): EquipmentsListDialog.setWindowTitle(QtGui.QApplication.translate("EquipmentsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip(QtGui.QApplication.translate("EquipmentsListDialog", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis(QtGui.QApplication.translate("EquipmentsListDialog", "A status bar.", None, QtGui.QApplication.UnicodeUTF8)) self.chkReleaseDate.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Период выпуска", None, QtGui.QApplication.UnicodeUTF8)) self.chkEquipmentType.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Тип оборудования", None, QtGui.QApplication.UnicodeUTF8)) self.chkModel.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Модель", None, QtGui.QApplication.UnicodeUTF8)) self.chkInventoryNumber.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Инвент. номер", None, QtGui.QApplication.UnicodeUTF8)) self.chkStatus.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Статус", None, QtGui.QApplication.UnicodeUTF8)) self.lblReleaseDateFrom.setText(QtGui.QApplication.translate("EquipmentsListDialog", "С: ", None, QtGui.QApplication.UnicodeUTF8)) self.lblReleaseDateTo.setText(QtGui.QApplication.translate("EquipmentsListDialog", "По: ", None, QtGui.QApplication.UnicodeUTF8)) self.cmbStatus.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не работает", None, QtGui.QApplication.UnicodeUTF8)) self.cmbStatus.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Работает", None, QtGui.QApplication.UnicodeUTF8)) self.chkOrgStructure.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Подразделение", None, QtGui.QApplication.UnicodeUTF8)) self.chkMaintenance.setText(QtGui.QApplication.translate("EquipmentsListDialog", "ТО", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenance.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не определено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenance.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Просрочено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenance.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Осталось...", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenanceTermType.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Дней", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenanceTermType.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Месяцев", None, QtGui.QApplication.UnicodeUTF8)) self.cmbMaintenanceTermType.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Лет", None, QtGui.QApplication.UnicodeUTF8)) self.chkWarranty.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Гарантия", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarranty.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Не определено", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarranty.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "На гарантии", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarranty.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Без гарантии", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarranty.setItemText(3, QtGui.QApplication.translate("EquipmentsListDialog", "До истечения осталось...", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarrantyTermType.setItemText(0, QtGui.QApplication.translate("EquipmentsListDialog", "Дней", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarrantyTermType.setItemText(1, QtGui.QApplication.translate("EquipmentsListDialog", "Месяцев", None, QtGui.QApplication.UnicodeUTF8)) self.cmbWarrantyTermType.setItemText(2, QtGui.QApplication.translate("EquipmentsListDialog", "Лет", None, QtGui.QApplication.UnicodeUTF8)) self.chkEmploymentTerm.setText(QtGui.QApplication.translate("EquipmentsListDialog", "Срок службы (лет)", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis(QtGui.QApplication.translate("EquipmentsListDialog", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("EquipmentsListDialog", "всего: ", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ItemsListDialog(object): def setupUi(self, ItemsListDialog): ItemsListDialog.setObjectName(_fromUtf8("ItemsListDialog")) ItemsListDialog.setWindowModality(QtCore.Qt.ApplicationModal) ItemsListDialog.resize(1002, 499) ItemsListDialog.setSizeGripEnabled(True) ItemsListDialog.setModal(True) self.gridLayout = QtGui.QGridLayout(ItemsListDialog) self.gridLayout.setMargin(4) self.gridLayout.setSpacing(4) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_2 = QtGui.QLabel(ItemsListDialog) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1) self.tblItems = CTableView(ItemsListDialog) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gridLayout.addWidget(self.tblItems, 1, 0, 1, 5) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(4) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.label = QtGui.QLabel(ItemsListDialog) self.label.setObjectName(_fromUtf8("label")) self.hboxlayout.addWidget(self.label) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnCharacters = QtGui.QPushButton(ItemsListDialog) self.btnCharacters.setObjectName(_fromUtf8("btnCharacters")) self.hboxlayout.addWidget(self.btnCharacters) self.btnSex = QtGui.QPushButton(ItemsListDialog) self.btnSex.setObjectName(_fromUtf8("btnSex")) self.hboxlayout.addWidget(self.btnSex) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem1) self.btnEdit = QtGui.QPushButton(ItemsListDialog) self.btnEdit.setDefault(True) self.btnEdit.setObjectName(_fromUtf8("btnEdit")) self.hboxlayout.addWidget(self.btnEdit) self.btnNew = QtGui.QPushButton(ItemsListDialog) self.btnNew.setObjectName(_fromUtf8("btnNew")) self.hboxlayout.addWidget(self.btnNew) self.btnPrint = QtGui.QPushButton(ItemsListDialog) self.btnPrint.setObjectName(_fromUtf8("btnPrint")) self.hboxlayout.addWidget(self.btnPrint) self.btnPrintSelected = QtGui.QPushButton(ItemsListDialog) self.btnPrintSelected.setObjectName(_fromUtf8("btnPrintSelected")) self.hboxlayout.addWidget(self.btnPrintSelected) self.btnCancel = QtGui.QPushButton(ItemsListDialog) self.btnCancel.setObjectName(_fromUtf8("btnCancel")) self.hboxlayout.addWidget(self.btnCancel) self.gridLayout.addLayout(self.hboxlayout, 2, 0, 1, 5) self.edtCode = QtGui.QLineEdit(ItemsListDialog) self.edtCode.setObjectName(_fromUtf8("edtCode")) self.gridLayout.addWidget(self.edtCode, 0, 1, 1, 1) self.edtName = QtGui.QLineEdit(ItemsListDialog) self.edtName.setObjectName(_fromUtf8("edtName")) self.gridLayout.addWidget(self.edtName, 0, 3, 1, 1) self.label_3 = QtGui.QLabel(ItemsListDialog) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 0, 2, 1, 1) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem2, 0, 4, 1, 1) self.retranslateUi(ItemsListDialog) QtCore.QObject.connect(self.btnCancel, QtCore.SIGNAL(_fromUtf8("clicked()")), ItemsListDialog.reject) QtCore.QMetaObject.connectSlotsByName(ItemsListDialog) ItemsListDialog.setTabOrder(self.tblItems, self.btnEdit) ItemsListDialog.setTabOrder(self.btnEdit, self.btnNew) ItemsListDialog.setTabOrder(self.btnNew, self.btnPrint) ItemsListDialog.setTabOrder(self.btnPrint, self.btnPrintSelected) ItemsListDialog.setTabOrder(self.btnPrintSelected, self.btnCancel) ItemsListDialog.setTabOrder(self.btnCancel, self.edtCode) ItemsListDialog.setTabOrder(self.edtCode, self.edtName) ItemsListDialog.setTabOrder(self.edtName, self.btnCharacters) ItemsListDialog.setTabOrder(self.btnCharacters, self.btnSex) def retranslateUi(self, ItemsListDialog): ItemsListDialog.setWindowTitle(QtGui.QApplication.translate("ItemsListDialog", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("ItemsListDialog", "код начинается на", None, QtGui.QApplication.UnicodeUTF8)) self.tblItems.setWhatsThis(QtGui.QApplication.translate("ItemsListDialog", "список пользователей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("ItemsListDialog", "всего: ", None, QtGui.QApplication.UnicodeUTF8)) self.btnCharacters.setText(QtGui.QApplication.translate("ItemsListDialog", "Групповое изменение характера", None, QtGui.QApplication.UnicodeUTF8)) self.btnSex.setText(QtGui.QApplication.translate("ItemsListDialog", "Групповое изменение пола", None, QtGui.QApplication.UnicodeUTF8)) self.btnEdit.setText(QtGui.QApplication.translate("ItemsListDialog", "Правка F4", None, QtGui.QApplication.UnicodeUTF8)) self.btnNew.setText(QtGui.QApplication.translate("ItemsListDialog", "Вставка F9", None, QtGui.QApplication.UnicodeUTF8)) self.btnPrint.setText(QtGui.QApplication.translate("ItemsListDialog", "Печать F6", None, QtGui.QApplication.UnicodeUTF8)) self.btnPrintSelected.setText(QtGui.QApplication.translate("ItemsListDialog", "Печать выделенных", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setWhatsThis(QtGui.QApplication.translate("ItemsListDialog", "выйти из списка без выбора", None, QtGui.QApplication.UnicodeUTF8)) self.btnCancel.setText(QtGui.QApplication.translate("ItemsListDialog", "Закрыть", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("ItemsListDialog", "название диагноза содержит", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ExportRbService_Wizard_1(object): def setupUi(self, ExportRbService_Wizard_1): ExportRbService_Wizard_1.setObjectName( _fromUtf8("ExportRbService_Wizard_1")) ExportRbService_Wizard_1.setWindowModality(QtCore.Qt.NonModal) ExportRbService_Wizard_1.resize(453, 367) self.gridlayout = QtGui.QGridLayout(ExportRbService_Wizard_1) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.checkExportAll = QtGui.QCheckBox(ExportRbService_Wizard_1) self.checkExportAll.setObjectName(_fromUtf8("checkExportAll")) self.hboxlayout.addWidget(self.checkExportAll) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.gridlayout.addLayout(self.hboxlayout, 0, 0, 1, 1) self.splitterTree = QtGui.QSplitter(ExportRbService_Wizard_1) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.tblItems = CTableView(self.splitterTree) self.tblItems.setTabKeyNavigation(False) self.tblItems.setAlternatingRowColors(True) self.tblItems.setObjectName(_fromUtf8("tblItems")) self.gbFilter = QtGui.QGroupBox(self.splitterTree) self.gbFilter.setObjectName(_fromUtf8("gbFilter")) self.gridLayout = QtGui.QGridLayout(self.gbFilter) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.label_2 = QtGui.QLabel(self.gbFilter) self.label_2.setObjectName(_fromUtf8("label_2")) self.horizontalLayout.addWidget(self.label_2) self.edtFilterEndDate = QtGui.QDateEdit(self.gbFilter) self.edtFilterEndDate.setEnabled(False) self.edtFilterEndDate.setObjectName(_fromUtf8("edtFilterEndDate")) self.horizontalLayout.addWidget(self.edtFilterEndDate) self.gridLayout.addLayout(self.horizontalLayout, 8, 0, 1, 1) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.label = QtGui.QLabel(self.gbFilter) self.label.setObjectName(_fromUtf8("label")) self.horizontalLayout_2.addWidget(self.label) self.edtFilterBegDate = QtGui.QDateEdit(self.gbFilter) self.edtFilterBegDate.setEnabled(False) self.edtFilterBegDate.setObjectName(_fromUtf8("edtFilterBegDate")) self.horizontalLayout_2.addWidget(self.edtFilterBegDate) self.gridLayout.addLayout(self.horizontalLayout_2, 7, 0, 1, 1) self.chkFilterCode = QtGui.QCheckBox(self.gbFilter) self.chkFilterCode.setObjectName(_fromUtf8("chkFilterCode")) self.gridLayout.addWidget(self.chkFilterCode, 0, 0, 1, 1) self.edtFilterCode = QtGui.QLineEdit(self.gbFilter) self.edtFilterCode.setEnabled(False) self.edtFilterCode.setObjectName(_fromUtf8("edtFilterCode")) self.gridLayout.addWidget(self.edtFilterCode, 1, 0, 1, 1) self.chkFilterNomenclature = QtGui.QCheckBox(self.gbFilter) self.chkFilterNomenclature.setTristate(True) self.chkFilterNomenclature.setObjectName( _fromUtf8("chkFilterNomenclature")) self.gridLayout.addWidget(self.chkFilterNomenclature, 5, 0, 1, 1) self.chkFilterEIS = QtGui.QCheckBox(self.gbFilter) self.chkFilterEIS.setTristate(True) self.chkFilterEIS.setObjectName(_fromUtf8("chkFilterEIS")) self.gridLayout.addWidget(self.chkFilterEIS, 4, 0, 1, 1) self.chkFilterPeriod = QtGui.QCheckBox(self.gbFilter) self.chkFilterPeriod.setObjectName(_fromUtf8("chkFilterPeriod")) self.gridLayout.addWidget(self.chkFilterPeriod, 6, 0, 1, 1) spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem1, 9, 0, 1, 1) self.bbxFilter = QtGui.QDialogButtonBox(self.gbFilter) self.bbxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset) self.bbxFilter.setObjectName(_fromUtf8("bbxFilter")) self.gridLayout.addWidget(self.bbxFilter, 10, 0, 1, 1) self.edtFilterName = QtGui.QLineEdit(self.gbFilter) self.edtFilterName.setEnabled(False) self.edtFilterName.setObjectName(_fromUtf8("edtFilterName")) self.gridLayout.addWidget(self.edtFilterName, 3, 0, 1, 1) self.chkFilterName = QtGui.QCheckBox(self.gbFilter) self.chkFilterName.setObjectName(_fromUtf8("chkFilterName")) self.gridLayout.addWidget(self.chkFilterName, 2, 0, 1, 1) self.gridlayout.addWidget(self.splitterTree, 2, 0, 1, 1) self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setSpacing(6) self.hboxlayout1.setMargin(0) self.hboxlayout1.setObjectName(_fromUtf8("hboxlayout1")) self.btnSelectAll = QtGui.QPushButton(ExportRbService_Wizard_1) self.btnSelectAll.setObjectName(_fromUtf8("btnSelectAll")) self.hboxlayout1.addWidget(self.btnSelectAll) self.btnClearSelection = QtGui.QPushButton(ExportRbService_Wizard_1) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout1.addWidget(self.btnClearSelection) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout1.addItem(spacerItem2) self.gridlayout.addLayout(self.hboxlayout1, 3, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ExportRbService_Wizard_1) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 4, 0, 1, 1) self.retranslateUi(ExportRbService_Wizard_1) QtCore.QMetaObject.connectSlotsByName(ExportRbService_Wizard_1) ExportRbService_Wizard_1.setTabOrder(self.checkExportAll, self.tblItems) ExportRbService_Wizard_1.setTabOrder(self.tblItems, self.chkFilterCode) ExportRbService_Wizard_1.setTabOrder(self.chkFilterCode, self.edtFilterCode) ExportRbService_Wizard_1.setTabOrder(self.edtFilterCode, self.chkFilterEIS) ExportRbService_Wizard_1.setTabOrder(self.chkFilterEIS, self.chkFilterNomenclature) ExportRbService_Wizard_1.setTabOrder(self.chkFilterNomenclature, self.chkFilterPeriod) ExportRbService_Wizard_1.setTabOrder(self.chkFilterPeriod, self.edtFilterBegDate) ExportRbService_Wizard_1.setTabOrder(self.edtFilterBegDate, self.edtFilterEndDate) ExportRbService_Wizard_1.setTabOrder(self.edtFilterEndDate, self.bbxFilter) ExportRbService_Wizard_1.setTabOrder(self.bbxFilter, self.btnSelectAll) ExportRbService_Wizard_1.setTabOrder(self.btnSelectAll, self.btnClearSelection) def retranslateUi(self, ExportRbService_Wizard_1): ExportRbService_Wizard_1.setWindowTitle( _translate("ExportRbService_Wizard_1", "Список записей", None)) self.checkExportAll.setText( _translate("ExportRbService_Wizard_1", "Выгружать всё", None)) self.tblItems.setWhatsThis( _translate("ExportRbService_Wizard_1", "список записей", "ура!")) self.gbFilter.setTitle( _translate("ExportRbService_Wizard_1", "Фильтр", None)) self.label_2.setText(_translate("ExportRbService_Wizard_1", "по", None)) self.label.setText(_translate("ExportRbService_Wizard_1", "с", None)) self.chkFilterCode.setText( _translate("ExportRbService_Wizard_1", "Код начинается с", None)) self.chkFilterNomenclature.setText( _translate("ExportRbService_Wizard_1", "Номенклатура", None)) self.chkFilterEIS.setText( _translate("ExportRbService_Wizard_1", "Унаследованно из ЕИС", None)) self.chkFilterPeriod.setText( _translate("ExportRbService_Wizard_1", "Период", None)) self.chkFilterName.setText( _translate("ExportRbService_Wizard_1", "Наименование начинается с", None)) self.btnSelectAll.setText( _translate("ExportRbService_Wizard_1", "Выбрать все", None)) self.btnClearSelection.setText( _translate("ExportRbService_Wizard_1", "Очистить", None)) self.statusBar.setToolTip( _translate("ExportRbService_Wizard_1", "A status bar", None)) self.statusBar.setWhatsThis( _translate("ExportRbService_Wizard_1", "A status bar.", None))
class Ui_ImportActionProperty(object): def setupUi(self, ImportActionProperty): ImportActionProperty.setObjectName(_fromUtf8("ImportActionProperty")) ImportActionProperty.setWindowModality(QtCore.Qt.NonModal) ImportActionProperty.resize(593, 450) self.gridlayout = QtGui.QGridLayout(ImportActionProperty) self.gridlayout.setMargin(4) self.gridlayout.setSpacing(4) self.gridlayout.setObjectName(_fromUtf8("gridlayout")) self.splitterTree = QtGui.QSplitter(ImportActionProperty) self.splitterTree.setOrientation(QtCore.Qt.Horizontal) self.splitterTree.setObjectName(_fromUtf8("splitterTree")) self.tblNew = CTableView(self.splitterTree) self.tblNew.setTabKeyNavigation(False) self.tblNew.setAlternatingRowColors(True) self.tblNew.setObjectName(_fromUtf8("tblNew")) self.gridlayout.addWidget(self.splitterTree, 3, 0, 1, 1) self.hboxlayout = QtGui.QHBoxLayout() self.hboxlayout.setSpacing(6) self.hboxlayout.setMargin(0) self.hboxlayout.setObjectName(_fromUtf8("hboxlayout")) self.btnSelectAll = QtGui.QPushButton(ImportActionProperty) self.btnSelectAll.setObjectName(_fromUtf8("btnSelectAll")) self.hboxlayout.addWidget(self.btnSelectAll) self.btnClearSelection = QtGui.QPushButton(ImportActionProperty) self.btnClearSelection.setObjectName(_fromUtf8("btnClearSelection")) self.hboxlayout.addWidget(self.btnClearSelection) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout.addItem(spacerItem) self.btnReplace = QtGui.QPushButton(ImportActionProperty) self.btnReplace.setObjectName(_fromUtf8("btnReplace")) self.hboxlayout.addWidget(self.btnReplace) self.btnSkip = QtGui.QPushButton(ImportActionProperty) self.btnSkip.setObjectName(_fromUtf8("btnSkip")) self.hboxlayout.addWidget(self.btnSkip) self.gridlayout.addLayout(self.hboxlayout, 4, 0, 1, 1) self.statusBar = QtGui.QStatusBar(ImportActionProperty) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.statusBar.sizePolicy().hasHeightForWidth()) self.statusBar.setSizePolicy(sizePolicy) self.statusBar.setSizeGripEnabled(False) self.statusBar.setObjectName(_fromUtf8("statusBar")) self.gridlayout.addWidget(self.statusBar, 5, 0, 1, 1) self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName(_fromUtf8("vboxlayout")) self.label = QtGui.QLabel(ImportActionProperty) self.label.setObjectName(_fromUtf8("label")) self.vboxlayout.addWidget(self.label) self.gridlayout.addLayout(self.vboxlayout, 0, 0, 1, 1) self.label_2 = QtGui.QLabel(ImportActionProperty) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridlayout.addWidget(self.label_2, 2, 0, 1, 1) self.txtActionInfo = QtGui.QTextBrowser(ImportActionProperty) self.txtActionInfo.setObjectName(_fromUtf8("txtActionInfo")) self.gridlayout.addWidget(self.txtActionInfo, 1, 0, 1, 1) self.retranslateUi(ImportActionProperty) QtCore.QMetaObject.connectSlotsByName(ImportActionProperty) def retranslateUi(self, ImportActionProperty): ImportActionProperty.setWindowTitle( QtGui.QApplication.translate("ImportActionProperty", "Список записей", None, QtGui.QApplication.UnicodeUTF8)) self.tblNew.setWhatsThis( QtGui.QApplication.translate("ImportActionProperty", "список записей", "ура!", QtGui.QApplication.UnicodeUTF8)) self.btnSelectAll.setText( QtGui.QApplication.translate("ImportActionProperty", "Выбрать все", None, QtGui.QApplication.UnicodeUTF8)) self.btnClearSelection.setText( QtGui.QApplication.translate("ImportActionProperty", "Очистить", None, QtGui.QApplication.UnicodeUTF8)) self.btnReplace.setText( QtGui.QApplication.translate("ImportActionProperty", "Добавить", None, QtGui.QApplication.UnicodeUTF8)) self.btnSkip.setText( QtGui.QApplication.translate("ImportActionProperty", "П&ропустить", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setToolTip( QtGui.QApplication.translate("ImportActionProperty", "A status bar", None, QtGui.QApplication.UnicodeUTF8)) self.statusBar.setWhatsThis( QtGui.QApplication.translate("ImportActionProperty", "A status bar.", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate( "ImportActionProperty", "Для имортируемого свойства типа действия", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate( "ImportActionProperty", "найдены следующие <b>совпадающие</b> свойства. Выделите свойства для замены", None, QtGui.QApplication.UnicodeUTF8))