Exemplo n.º 1
0
class Ui_CashBookDialog(object):
    def setupUi(self, CashBookDialog):
        CashBookDialog.setObjectName(_fromUtf8("CashBookDialog"))
        CashBookDialog.resize(718, 676)
        CashBookDialog.setSizeGripEnabled(True)
        self.verticalLayout_2 = QtGui.QVBoxLayout(CashBookDialog)
        self.verticalLayout_2.setSpacing(4)
        self.verticalLayout_2.setMargin(4)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(CashBookDialog)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabBook = QtGui.QWidget()
        self.tabBook.setObjectName(_fromUtf8("tabBook"))
        self.gridLayout_2 = QtGui.QGridLayout(self.tabBook)
        self.gridLayout_2.setMargin(4)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.splitterBook = QtGui.QSplitter(self.tabBook)
        self.splitterBook.setOrientation(QtCore.Qt.Horizontal)
        self.splitterBook.setChildrenCollapsible(False)
        self.splitterBook.setObjectName(_fromUtf8("splitterBook"))
        self.grpBookFilter = QtGui.QGroupBox(self.splitterBook)
        self.grpBookFilter.setObjectName(_fromUtf8("grpBookFilter"))
        self.gridLayout = QtGui.QGridLayout(self.grpBookFilter)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblFilterBegDate = QtGui.QLabel(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFilterBegDate.sizePolicy().hasHeightForWidth())
        self.lblFilterBegDate.setSizePolicy(sizePolicy)
        self.lblFilterBegDate.setObjectName(_fromUtf8("lblFilterBegDate"))
        self.gridLayout.addWidget(self.lblFilterBegDate, 0, 0, 1, 1)
        self.edtFilterBegDate = CDateEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterBegDate.sizePolicy().hasHeightForWidth())
        self.edtFilterBegDate.setSizePolicy(sizePolicy)
        self.edtFilterBegDate.setObjectName(_fromUtf8("edtFilterBegDate"))
        self.gridLayout.addWidget(self.edtFilterBegDate, 0, 1, 1, 1)
        self.lblFilterEndDate = QtGui.QLabel(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblFilterEndDate.sizePolicy().hasHeightForWidth())
        self.lblFilterEndDate.setSizePolicy(sizePolicy)
        self.lblFilterEndDate.setObjectName(_fromUtf8("lblFilterEndDate"))
        self.gridLayout.addWidget(self.lblFilterEndDate, 1, 0, 1, 1)
        self.edtFilterEndDate = CDateEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterEndDate.sizePolicy().hasHeightForWidth())
        self.edtFilterEndDate.setSizePolicy(sizePolicy)
        self.edtFilterEndDate.setObjectName(_fromUtf8("edtFilterEndDate"))
        self.gridLayout.addWidget(self.edtFilterEndDate, 1, 1, 1, 1)
        self.lblFilterCashBox = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashBox.setObjectName(_fromUtf8("lblFilterCashBox"))
        self.gridLayout.addWidget(self.lblFilterCashBox, 2, 0, 1, 1)
        self.edtFilterCashBox = QtGui.QLineEdit(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtFilterCashBox.sizePolicy().hasHeightForWidth())
        self.edtFilterCashBox.setSizePolicy(sizePolicy)
        self.edtFilterCashBox.setObjectName(_fromUtf8("edtFilterCashBox"))
        self.gridLayout.addWidget(self.edtFilterCashBox, 2, 1, 1, 1)
        self.lblFilterCashKeeper = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashKeeper.setObjectName(
            _fromUtf8("lblFilterCashKeeper"))
        self.gridLayout.addWidget(self.lblFilterCashKeeper, 3, 0, 1, 1)
        self.cmbFilterCashKeeper = CPersonComboBoxEx(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterCashKeeper.sizePolicy().hasHeightForWidth())
        self.cmbFilterCashKeeper.setSizePolicy(sizePolicy)
        self.cmbFilterCashKeeper.setObjectName(
            _fromUtf8("cmbFilterCashKeeper"))
        self.gridLayout.addWidget(self.cmbFilterCashKeeper, 3, 1, 1, 1)
        self.lblFilterCashOperation = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterCashOperation.setObjectName(
            _fromUtf8("lblFilterCashOperation"))
        self.gridLayout.addWidget(self.lblFilterCashOperation, 4, 0, 1, 1)
        self.cmbFilterCashOperation = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterCashOperation.sizePolicy().hasHeightForWidth())
        self.cmbFilterCashOperation.setSizePolicy(sizePolicy)
        self.cmbFilterCashOperation.setObjectName(
            _fromUtf8("cmbFilterCashOperation"))
        self.gridLayout.addWidget(self.cmbFilterCashOperation, 4, 1, 1, 1)
        self.lblFilterEventPurpose = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterEventPurpose.setObjectName(
            _fromUtf8("lblFilterEventPurpose"))
        self.gridLayout.addWidget(self.lblFilterEventPurpose, 5, 0, 1, 1)
        self.cmbFilterEventPurpose = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEventPurpose.sizePolicy().hasHeightForWidth())
        self.cmbFilterEventPurpose.setSizePolicy(sizePolicy)
        self.cmbFilterEventPurpose.setObjectName(
            _fromUtf8("cmbFilterEventPurpose"))
        self.gridLayout.addWidget(self.cmbFilterEventPurpose, 5, 1, 1, 1)
        self.lblFilterEventType = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterEventType.setObjectName(_fromUtf8("lblFilterEventType"))
        self.gridLayout.addWidget(self.lblFilterEventType, 6, 0, 1, 1)
        self.cmbFilterEventType = CRBComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterEventType.sizePolicy().hasHeightForWidth())
        self.cmbFilterEventType.setSizePolicy(sizePolicy)
        self.cmbFilterEventType.setObjectName(_fromUtf8("cmbFilterEventType"))
        self.gridLayout.addWidget(self.cmbFilterEventType, 6, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 11, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSpacing(4)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.bbxFilter = QtGui.QDialogButtonBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.bbxFilter.sizePolicy().hasHeightForWidth())
        self.bbxFilter.setSizePolicy(sizePolicy)
        self.bbxFilter.setOrientation(QtCore.Qt.Horizontal)
        self.bbxFilter.setStandardButtons(QtGui.QDialogButtonBox.Apply
                                          | QtGui.QDialogButtonBox.Reset)
        self.bbxFilter.setCenterButtons(False)
        self.bbxFilter.setObjectName(_fromUtf8("bbxFilter"))
        self.horizontalLayout.addWidget(self.bbxFilter)
        self.gridLayout.addLayout(self.horizontalLayout, 12, 0, 1, 2)
        self.cmbFilterPerson = CPersonComboBoxEx(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterPerson.sizePolicy().hasHeightForWidth())
        self.cmbFilterPerson.setSizePolicy(sizePolicy)
        self.cmbFilterPerson.setObjectName(_fromUtf8("cmbFilterPerson"))
        self.gridLayout.addWidget(self.cmbFilterPerson, 9, 1, 1, 1)
        self.cmbFilterOrgStructure = COrgStructureComboBox(self.grpBookFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbFilterOrgStructure.sizePolicy().hasHeightForWidth())
        self.cmbFilterOrgStructure.setSizePolicy(sizePolicy)
        self.cmbFilterOrgStructure.setObjectName(
            _fromUtf8("cmbFilterOrgStructure"))
        self.gridLayout.addWidget(self.cmbFilterOrgStructure, 8, 1, 1, 1)
        self.lblFilterOrgStructure = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterOrgStructure.setObjectName(
            _fromUtf8("lblFilterOrgStructure"))
        self.gridLayout.addWidget(self.lblFilterOrgStructure, 8, 0, 1, 1)
        self.lblFilterPerson = QtGui.QLabel(self.grpBookFilter)
        self.lblFilterPerson.setObjectName(_fromUtf8("lblFilterPerson"))
        self.gridLayout.addWidget(self.lblFilterPerson, 9, 0, 1, 1)
        self.widget = QtGui.QWidget(self.splitterBook)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.widget)
        self.verticalLayout.setSpacing(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tblCashItems = CTableView(self.widget)
        self.tblCashItems.setObjectName(_fromUtf8("tblCashItems"))
        self.verticalLayout.addWidget(self.tblCashItems)
        self.groupAccount = QtGui.QGroupBox(self.widget)
        self.groupAccount.setObjectName(_fromUtf8("groupAccount"))
        self._2 = QtGui.QHBoxLayout(self.groupAccount)
        self._2.setSpacing(4)
        self._2.setMargin(4)
        self._2.setObjectName(_fromUtf8("_2"))
        self.lblCashItemsCount = QtGui.QLabel(self.groupAccount)
        self.lblCashItemsCount.setObjectName(_fromUtf8("lblCashItemsCount"))
        self._2.addWidget(self.lblCashItemsCount)
        self.edtCashItemsCount = QtGui.QLineEdit(self.groupAccount)
        self.edtCashItemsCount.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtCashItemsCount.setAlignment(QtCore.Qt.AlignRight)
        self.edtCashItemsCount.setReadOnly(True)
        self.edtCashItemsCount.setObjectName(_fromUtf8("edtCashItemsCount"))
        self._2.addWidget(self.edtCashItemsCount)
        self.lblIncome = QtGui.QLabel(self.groupAccount)
        self.lblIncome.setObjectName(_fromUtf8("lblIncome"))
        self._2.addWidget(self.lblIncome)
        self.edtIncome = QtGui.QLineEdit(self.groupAccount)
        self.edtIncome.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtIncome.setAlignment(QtCore.Qt.AlignRight)
        self.edtIncome.setReadOnly(True)
        self.edtIncome.setObjectName(_fromUtf8("edtIncome"))
        self._2.addWidget(self.edtIncome)
        self.lblOutcome = QtGui.QLabel(self.groupAccount)
        self.lblOutcome.setObjectName(_fromUtf8("lblOutcome"))
        self._2.addWidget(self.lblOutcome)
        self.edtOutcome = QtGui.QLineEdit(self.groupAccount)
        self.edtOutcome.setFocusPolicy(QtCore.Qt.NoFocus)
        self.edtOutcome.setAlignment(QtCore.Qt.AlignRight)
        self.edtOutcome.setReadOnly(True)
        self.edtOutcome.setObjectName(_fromUtf8("edtOutcome"))
        self._2.addWidget(self.edtOutcome)
        self.verticalLayout.addWidget(self.groupAccount)
        self.gridLayout_2.addWidget(self.splitterBook, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabBook, _fromUtf8(""))
        self.tabPayment = QtGui.QWidget()
        self.tabPayment.setObjectName(_fromUtf8("tabPayment"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabPayment)
        self.gridLayout_4.setMargin(4)
        self.gridLayout_4.setSpacing(4)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.splitterPayment = QtGui.QSplitter(self.tabPayment)
        self.splitterPayment.setOrientation(QtCore.Qt.Horizontal)
        self.splitterPayment.setChildrenCollapsible(False)
        self.splitterPayment.setObjectName(_fromUtf8("splitterPayment"))
        self.grpPaymentFilter = QtGui.QGroupBox(self.splitterPayment)
        self.grpPaymentFilter.setObjectName(_fromUtf8("grpPaymentFilter"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpPaymentFilter)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.edtPaymentFilterBirthDay = CDateEdit(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtPaymentFilterBirthDay.sizePolicy().hasHeightForWidth())
        self.edtPaymentFilterBirthDay.setSizePolicy(sizePolicy)
        self.edtPaymentFilterBirthDay.setObjectName(
            _fromUtf8("edtPaymentFilterBirthDay"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterBirthDay, 6, 1, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridLayout_3.addItem(spacerItem2, 13, 0, 1, 1)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setSpacing(4)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.bbxPaymentFilter = QtGui.QDialogButtonBox(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.bbxPaymentFilter.sizePolicy().hasHeightForWidth())
        self.bbxPaymentFilter.setSizePolicy(sizePolicy)
        self.bbxPaymentFilter.setOrientation(QtCore.Qt.Horizontal)
        self.bbxPaymentFilter.setStandardButtons(
            QtGui.QDialogButtonBox.Apply | QtGui.QDialogButtonBox.Reset)
        self.bbxPaymentFilter.setCenterButtons(False)
        self.bbxPaymentFilter.setObjectName(_fromUtf8("bbxPaymentFilter"))
        self.horizontalLayout_2.addWidget(self.bbxPaymentFilter)
        self.gridLayout_3.addLayout(self.horizontalLayout_2, 14, 0, 1, 2)
        self.lblPaymentFilterAccountingSystem = QtGui.QLabel(
            self.grpPaymentFilter)
        self.lblPaymentFilterAccountingSystem.setObjectName(
            _fromUtf8("lblPaymentFilterAccountingSystem"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterAccountingSystem, 0,
                                    0, 1, 1)
        self.cmbPaymentFilterAccountingSystem = CRBComboBox(
            self.grpPaymentFilter)
        self.cmbPaymentFilterAccountingSystem.setEnabled(False)
        self.cmbPaymentFilterAccountingSystem.setObjectName(
            _fromUtf8("cmbPaymentFilterAccountingSystem"))
        self.gridLayout_3.addWidget(self.cmbPaymentFilterAccountingSystem, 0,
                                    1, 1, 1)
        self.lblPaymentFilterClientCode = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterClientCode.setObjectName(
            _fromUtf8("lblPaymentFilterClientCode"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterClientCode, 1, 0, 1,
                                    1)
        self.edtPaymentFilterClientCode = QtGui.QLineEdit(
            self.grpPaymentFilter)
        self.edtPaymentFilterClientCode.setObjectName(
            _fromUtf8("edtPaymentFilterClientCode"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterClientCode, 1, 1, 1,
                                    1)
        self.lblPaymentFilterPatrName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterPatrName.setObjectName(
            _fromUtf8("lblPaymentFilterPatrName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterPatrName, 5, 0, 1, 1)
        self.edtPaymentFilterPatrName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterPatrName.setObjectName(
            _fromUtf8("edtPaymentFilterPatrName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterPatrName, 5, 1, 1, 1)
        self.lblPaymentFilterFirstName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterFirstName.setObjectName(
            _fromUtf8("lblPaymentFilterFirstName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterFirstName, 4, 0, 1, 1)
        self.edtPaymentFilterFirstName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterFirstName.setObjectName(
            _fromUtf8("edtPaymentFilterFirstName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterFirstName, 4, 1, 1, 1)
        self.edtPaymentFilterLastName = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterLastName.setObjectName(
            _fromUtf8("edtPaymentFilterLastName"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterLastName, 3, 1, 1, 1)
        self.lblPaymentFilterLastName = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterLastName.setObjectName(
            _fromUtf8("lblPaymentFilterLastName"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterLastName, 3, 0, 1, 1)
        self.lblPaymentFilterBirthDay = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterBirthDay.setObjectName(
            _fromUtf8("lblPaymentFilterBirthDay"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterBirthDay, 6, 0, 1, 1)
        self.line = QtGui.QFrame(self.grpPaymentFilter)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout_3.addWidget(self.line, 8, 0, 1, 2)
        self.lblPaymentFilterEventId = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterEventId.setObjectName(
            _fromUtf8("lblPaymentFilterEventId"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterEventId, 11, 0, 1, 1)
        self.lblPaymentFilterExternalEventId = QtGui.QLabel(
            self.grpPaymentFilter)
        self.lblPaymentFilterExternalEventId.setObjectName(
            _fromUtf8("lblPaymentFilterExternalEventId"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterExternalEventId, 12,
                                    0, 1, 1)
        self.edtPaymentFilterEventId = QtGui.QLineEdit(self.grpPaymentFilter)
        self.edtPaymentFilterEventId.setObjectName(
            _fromUtf8("edtPaymentFilterEventId"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterEventId, 11, 1, 1, 1)
        self.edtPaymentFilterExternalEventId = QtGui.QLineEdit(
            self.grpPaymentFilter)
        self.edtPaymentFilterExternalEventId.setObjectName(
            _fromUtf8("edtPaymentFilterExternalEventId"))
        self.gridLayout_3.addWidget(self.edtPaymentFilterExternalEventId, 12,
                                    1, 1, 1)
        self.cmbPaymentFilterSex = QtGui.QComboBox(self.grpPaymentFilter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbPaymentFilterSex.sizePolicy().hasHeightForWidth())
        self.cmbPaymentFilterSex.setSizePolicy(sizePolicy)
        self.cmbPaymentFilterSex.setObjectName(
            _fromUtf8("cmbPaymentFilterSex"))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.cmbPaymentFilterSex.setItemText(0, _fromUtf8(""))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.cmbPaymentFilterSex.addItem(_fromUtf8(""))
        self.gridLayout_3.addWidget(self.cmbPaymentFilterSex, 7, 1, 1, 1)
        self.lblPaymentFilterSex = QtGui.QLabel(self.grpPaymentFilter)
        self.lblPaymentFilterSex.setObjectName(
            _fromUtf8("lblPaymentFilterSex"))
        self.gridLayout_3.addWidget(self.lblPaymentFilterSex, 7, 0, 1, 1)
        self.splitter = QtGui.QSplitter(self.splitterPayment)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setChildrenCollapsible(False)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.txtClientInfoBrowser = CTextBrowser(self.splitter)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setReadOnly(True)
        self.txtClientInfoBrowser.setTextInteractionFlags(
            QtCore.Qt.TextBrowserInteraction)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.tblClients = CTableView(self.splitter)
        self.tblClients.setObjectName(_fromUtf8("tblClients"))
        self.tblEvents = CTableView(self.splitter)
        self.tblEvents.setObjectName(_fromUtf8("tblEvents"))
        self.gridLayout_4.addWidget(self.splitterPayment, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabPayment, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.tabWidget)
        self.buttonBox = QtGui.QDialogButtonBox(CashBookDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.lblFilterBegDate.setBuddy(self.edtFilterBegDate)
        self.lblFilterEndDate.setBuddy(self.edtFilterEndDate)
        self.lblFilterCashBox.setBuddy(self.edtFilterCashBox)
        self.lblFilterCashKeeper.setBuddy(self.cmbFilterCashKeeper)
        self.lblFilterCashOperation.setBuddy(self.cmbFilterCashOperation)
        self.lblFilterEventPurpose.setBuddy(self.cmbFilterEventPurpose)
        self.lblFilterEventType.setBuddy(self.cmbFilterEventType)
        self.lblFilterOrgStructure.setBuddy(self.cmbFilterOrgStructure)
        self.lblFilterPerson.setBuddy(self.cmbFilterPerson)
        self.lblCashItemsCount.setBuddy(self.edtCashItemsCount)
        self.lblIncome.setBuddy(self.edtIncome)
        self.lblOutcome.setBuddy(self.edtOutcome)
        self.lblPaymentFilterAccountingSystem.setBuddy(
            self.cmbPaymentFilterAccountingSystem)
        self.lblPaymentFilterClientCode.setBuddy(
            self.edtPaymentFilterClientCode)
        self.lblPaymentFilterPatrName.setBuddy(self.edtPaymentFilterPatrName)
        self.lblPaymentFilterFirstName.setBuddy(self.edtPaymentFilterFirstName)
        self.lblPaymentFilterLastName.setBuddy(self.edtPaymentFilterLastName)
        self.lblPaymentFilterBirthDay.setBuddy(self.edtPaymentFilterBirthDay)
        self.lblPaymentFilterEventId.setBuddy(self.edtPaymentFilterEventId)
        self.lblPaymentFilterExternalEventId.setBuddy(
            self.edtPaymentFilterExternalEventId)

        self.retranslateUi(CashBookDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               CashBookDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               CashBookDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(CashBookDialog)
        CashBookDialog.setTabOrder(self.tabWidget, self.edtFilterBegDate)
        CashBookDialog.setTabOrder(self.edtFilterBegDate,
                                   self.edtFilterEndDate)
        CashBookDialog.setTabOrder(self.edtFilterEndDate,
                                   self.edtFilterCashBox)
        CashBookDialog.setTabOrder(self.edtFilterCashBox,
                                   self.cmbFilterCashKeeper)
        CashBookDialog.setTabOrder(self.cmbFilterCashKeeper,
                                   self.cmbFilterCashOperation)
        CashBookDialog.setTabOrder(self.cmbFilterCashOperation,
                                   self.cmbFilterEventPurpose)
        CashBookDialog.setTabOrder(self.cmbFilterEventPurpose,
                                   self.cmbFilterEventType)
        CashBookDialog.setTabOrder(self.cmbFilterEventType,
                                   self.cmbFilterOrgStructure)
        CashBookDialog.setTabOrder(self.cmbFilterOrgStructure,
                                   self.cmbFilterPerson)
        CashBookDialog.setTabOrder(self.cmbFilterPerson, self.bbxFilter)
        CashBookDialog.setTabOrder(self.bbxFilter, self.tblCashItems)
        CashBookDialog.setTabOrder(self.tblCashItems,
                                   self.cmbPaymentFilterAccountingSystem)
        CashBookDialog.setTabOrder(self.cmbPaymentFilterAccountingSystem,
                                   self.edtPaymentFilterClientCode)
        CashBookDialog.setTabOrder(self.edtPaymentFilterClientCode,
                                   self.edtPaymentFilterLastName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterLastName,
                                   self.edtPaymentFilterFirstName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterFirstName,
                                   self.edtPaymentFilterPatrName)
        CashBookDialog.setTabOrder(self.edtPaymentFilterPatrName,
                                   self.edtPaymentFilterBirthDay)
        CashBookDialog.setTabOrder(self.edtPaymentFilterBirthDay,
                                   self.cmbPaymentFilterSex)
        CashBookDialog.setTabOrder(self.cmbPaymentFilterSex,
                                   self.edtPaymentFilterEventId)
        CashBookDialog.setTabOrder(self.edtPaymentFilterEventId,
                                   self.edtPaymentFilterExternalEventId)
        CashBookDialog.setTabOrder(self.edtPaymentFilterExternalEventId,
                                   self.bbxPaymentFilter)
        CashBookDialog.setTabOrder(self.bbxPaymentFilter,
                                   self.txtClientInfoBrowser)
        CashBookDialog.setTabOrder(self.txtClientInfoBrowser, self.tblClients)
        CashBookDialog.setTabOrder(self.tblClients, self.tblEvents)
        CashBookDialog.setTabOrder(self.tblEvents, self.buttonBox)

    def retranslateUi(self, CashBookDialog):
        CashBookDialog.setWindowTitle(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Журнал кассовых операций", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.grpBookFilter.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterBegDate.setText(
            QtGui.QApplication.translate("CashBookDialog", "&С", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEndDate.setText(
            QtGui.QApplication.translate("CashBookDialog", "&По", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashBox.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Касса", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashKeeper.setText(
            QtGui.QApplication.translate("CashBookDialog", "Касси&р", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterCashOperation.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Кассовая &операция", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEventPurpose.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "&Назначение обращения", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblFilterEventType.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Тип обращения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblFilterOrgStructure.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Подразделение",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblFilterPerson.setText(
            QtGui.QApplication.translate("CashBookDialog", "&Врач", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupAccount.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Итого", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblCashItemsCount.setText(
            QtGui.QApplication.translate("CashBookDialog", "Позиций", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblIncome.setText(
            QtGui.QApplication.translate("CashBookDialog", "Приход", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblOutcome.setText(
            QtGui.QApplication.translate("CashBookDialog", "Расход", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabBook),
            QtGui.QApplication.translate("CashBookDialog", "Журнал", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.grpPaymentFilter.setTitle(
            QtGui.QApplication.translate("CashBookDialog", "Фильтр", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterAccountingSystem.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Тип идентификатора", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterClientCode.setText(
            QtGui.QApplication.translate("CashBookDialog", "Код пациента",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterPatrName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Отчество", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterFirstName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Имя", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterLastName.setText(
            QtGui.QApplication.translate("CashBookDialog", "Фамилия", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterBirthDay.setText(
            QtGui.QApplication.translate("CashBookDialog", "Дата рождения",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterEventId.setText(
            QtGui.QApplication.translate("CashBookDialog", "Код события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterExternalEventId.setText(
            QtGui.QApplication.translate("CashBookDialog",
                                         "Внешний код события", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPaymentFilterSex.setItemText(
            1,
            QtGui.QApplication.translate("CashBookDialog", "М", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.cmbPaymentFilterSex.setItemText(
            2,
            QtGui.QApplication.translate("CashBookDialog", "Ж", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.lblPaymentFilterSex.setText(
            QtGui.QApplication.translate("CashBookDialog", "Пол", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.txtClientInfoBrowser.setHtml(
            QtGui.QApplication.translate(
                "CashBookDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Tahoma\'; font-size:8pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\';\"></p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabPayment),
            QtGui.QApplication.translate("CashBookDialog", "Расчёт", None,
                                         QtGui.QApplication.UnicodeUTF8))
Exemplo n.º 2
0
class Ui_JobTicketEditorDialog(object):
    def setupUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setObjectName(_fromUtf8("JobTicketEditorDialog"))
        JobTicketEditorDialog.resize(1069, 654)
        JobTicketEditorDialog.setSizeGripEnabled(False)
        self.verticalLayout_2 = QtGui.QVBoxLayout(JobTicketEditorDialog)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter_2 = QtGui.QSplitter(JobTicketEditorDialog)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.txtClientInfoBrowser = CTextBrowser(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setReadOnly(True)
        self.txtClientInfoBrowser.setTextInteractionFlags(
            QtCore.Qt.TextBrowserInteraction)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.frmCommon = QtGui.QFrame(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.frmCommon.sizePolicy().hasHeightForWidth())
        self.frmCommon.setSizePolicy(sizePolicy)
        self.frmCommon.setFrameShape(QtGui.QFrame.NoFrame)
        self.frmCommon.setFrameShadow(QtGui.QFrame.Plain)
        self.frmCommon.setLineWidth(0)
        self.frmCommon.setObjectName(_fromUtf8("frmCommon"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frmCommon)
        self.verticalLayout_3.setMargin(0)
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.grpTissue = QtGui.QGroupBox(self.frmCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpTissue.sizePolicy().hasHeightForWidth())
        self.grpTissue.setSizePolicy(sizePolicy)
        self.grpTissue.setObjectName(_fromUtf8("grpTissue"))
        self.gridLayout_3 = QtGui.QGridLayout(self.grpTissue)
        self.gridLayout_3.setMargin(4)
        self.gridLayout_3.setSpacing(4)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.lblTissueType = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueType.sizePolicy().hasHeightForWidth())
        self.lblTissueType.setSizePolicy(sizePolicy)
        self.lblTissueType.setObjectName(_fromUtf8("lblTissueType"))
        self.gridLayout_3.addWidget(self.lblTissueType, 1, 0, 1, 2)
        self.cmbTissueType = CRBComboBox(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueType.sizePolicy().hasHeightForWidth())
        self.cmbTissueType.setSizePolicy(sizePolicy)
        self.cmbTissueType.setObjectName(_fromUtf8("cmbTissueType"))
        self.gridLayout_3.addWidget(self.cmbTissueType, 1, 2, 1, 1)
        self.lblTissueDateTime = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueDateTime.sizePolicy().hasHeightForWidth())
        self.lblTissueDateTime.setSizePolicy(sizePolicy)
        self.lblTissueDateTime.setObjectName(_fromUtf8("lblTissueDateTime"))
        self.gridLayout_3.addWidget(self.lblTissueDateTime, 1, 3, 1, 1)
        self.edtTissueDate = CDateEdit(self.grpTissue)
        self.edtTissueDate.setCalendarPopup(True)
        self.edtTissueDate.setObjectName(_fromUtf8("edtTissueDate"))
        self.gridLayout_3.addWidget(self.edtTissueDate, 1, 4, 1, 1)
        self.edtTissueTime = QtGui.QTimeEdit(self.grpTissue)
        self.edtTissueTime.setObjectName(_fromUtf8("edtTissueTime"))
        self.gridLayout_3.addWidget(self.edtTissueTime, 1, 5, 1, 1)
        self.lblTissueExternalId = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueExternalId.sizePolicy().hasHeightForWidth())
        self.lblTissueExternalId.setSizePolicy(sizePolicy)
        self.lblTissueExternalId.setObjectName(
            _fromUtf8("lblTissueExternalId"))
        self.gridLayout_3.addWidget(self.lblTissueExternalId, 3, 3, 1, 1)
        self.edtTissueExternalId = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueExternalId.setReadOnly(True)
        self.edtTissueExternalId.setObjectName(
            _fromUtf8("edtTissueExternalId"))
        self.gridLayout_3.addWidget(self.edtTissueExternalId, 3, 4, 1, 2)
        self.lblTissueNote = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueNote.sizePolicy().hasHeightForWidth())
        self.lblTissueNote.setSizePolicy(sizePolicy)
        self.lblTissueNote.setObjectName(_fromUtf8("lblTissueNote"))
        self.gridLayout_3.addWidget(self.lblTissueNote, 5, 0, 1, 2)
        self.edtTissueNote = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueNote.setObjectName(_fromUtf8("edtTissueNote"))
        self.gridLayout_3.addWidget(self.edtTissueNote, 5, 2, 1, 7)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_3.addItem(spacerItem, 1, 6, 1, 3)
        self.lblTissueAmount = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueAmount.sizePolicy().hasHeightForWidth())
        self.lblTissueAmount.setSizePolicy(sizePolicy)
        self.lblTissueAmount.setObjectName(_fromUtf8("lblTissueAmount"))
        self.gridLayout_3.addWidget(self.lblTissueAmount, 2, 3, 1, 1)
        self.edtTissueAmount = QtGui.QSpinBox(self.grpTissue)
        self.edtTissueAmount.setMaximum(999999)
        self.edtTissueAmount.setObjectName(_fromUtf8("edtTissueAmount"))
        self.gridLayout_3.addWidget(self.edtTissueAmount, 2, 4, 1, 2)
        self.lblTissyeExecPerson = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissyeExecPerson.sizePolicy().hasHeightForWidth())
        self.lblTissyeExecPerson.setSizePolicy(sizePolicy)
        self.lblTissyeExecPerson.setObjectName(
            _fromUtf8("lblTissyeExecPerson"))
        self.gridLayout_3.addWidget(self.lblTissyeExecPerson, 2, 0, 1, 1)
        self.cmbTissueExecPerson = CPersonComboBoxEx(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueExecPerson.sizePolicy().hasHeightForWidth())
        self.cmbTissueExecPerson.setSizePolicy(sizePolicy)
        self.cmbTissueExecPerson.setObjectName(
            _fromUtf8("cmbTissueExecPerson"))
        self.gridLayout_3.addWidget(self.cmbTissueExecPerson, 2, 2, 1, 1)
        self.lblTissueUnit = QtGui.QLabel(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Maximum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblTissueUnit.sizePolicy().hasHeightForWidth())
        self.lblTissueUnit.setSizePolicy(sizePolicy)
        self.lblTissueUnit.setObjectName(_fromUtf8("lblTissueUnit"))
        self.gridLayout_3.addWidget(self.lblTissueUnit, 3, 0, 1, 1)
        self.cmbTissueUnit = CRBComboBox(self.grpTissue)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.cmbTissueUnit.sizePolicy().hasHeightForWidth())
        self.cmbTissueUnit.setSizePolicy(sizePolicy)
        self.cmbTissueUnit.setObjectName(_fromUtf8("cmbTissueUnit"))
        self.gridLayout_3.addWidget(self.cmbTissueUnit, 3, 2, 1, 1)
        self.lblTissueNumber = QtGui.QLabel(self.grpTissue)
        self.lblTissueNumber.setObjectName(_fromUtf8("lblTissueNumber"))
        self.gridLayout_3.addWidget(self.lblTissueNumber, 3, 7, 1, 1)
        self.edtTissueNumber = QtGui.QLineEdit(self.grpTissue)
        self.edtTissueNumber.setReadOnly(True)
        self.edtTissueNumber.setObjectName(_fromUtf8("edtTissueNumber"))
        self.gridLayout_3.addWidget(self.edtTissueNumber, 3, 8, 1, 1)
        self.btnPrintTissueLabel = QtGui.QPushButton(self.grpTissue)
        self.btnPrintTissueLabel.setEnabled(False)
        self.btnPrintTissueLabel.setObjectName(
            _fromUtf8("btnPrintTissueLabel"))
        self.gridLayout_3.addWidget(self.btnPrintTissueLabel, 3, 6, 1, 1)
        self.verticalLayout_3.addWidget(self.grpTissue)
        self.grpMain = QtGui.QGroupBox(self.frmCommon)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpMain.sizePolicy().hasHeightForWidth())
        self.grpMain.setSizePolicy(sizePolicy)
        self.grpMain.setObjectName(_fromUtf8("grpMain"))
        self.gridLayout = QtGui.QGridLayout(self.grpMain)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDatetime.sizePolicy().hasHeightForWidth())
        self.lblDatetime.setSizePolicy(sizePolicy)
        self.lblDatetime.setObjectName(_fromUtf8("lblDatetime"))
        self.gridLayout.addWidget(self.lblDatetime, 0, 0, 1, 1)
        self.lblDatetimeValue = QtGui.QLabel(self.grpMain)
        self.lblDatetimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblDatetimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblDatetimeValue.setObjectName(_fromUtf8("lblDatetimeValue"))
        self.gridLayout.addWidget(self.lblDatetimeValue, 0, 1, 1, 1)
        self.lblBegDateTime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDateTime.sizePolicy().hasHeightForWidth())
        self.lblBegDateTime.setSizePolicy(sizePolicy)
        self.lblBegDateTime.setObjectName(_fromUtf8("lblBegDateTime"))
        self.gridLayout.addWidget(self.lblBegDateTime, 0, 2, 1, 1)
        self.edtBegDate = CDateEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegTime.sizePolicy().hasHeightForWidth())
        self.edtBegTime.setSizePolicy(sizePolicy)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCurrentSectionIndex(0)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 0, 4, 1, 1)
        self.btnSetBegDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetBegDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetBegDateTime.setObjectName(_fromUtf8("btnSetBegDateTime"))
        self.gridLayout.addWidget(self.btnSetBegDateTime, 0, 5, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 1, 0, 1, 1)
        self.lblOrgStructureValue = QtGui.QLabel(self.grpMain)
        self.lblOrgStructureValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblOrgStructureValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblOrgStructureValue.setObjectName(
            _fromUtf8("lblOrgStructureValue"))
        self.gridLayout.addWidget(self.lblOrgStructureValue, 1, 1, 1, 1)
        self.lblEndDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDatetime.sizePolicy().hasHeightForWidth())
        self.lblEndDatetime.setSizePolicy(sizePolicy)
        self.lblEndDatetime.setObjectName(_fromUtf8("lblEndDatetime"))
        self.gridLayout.addWidget(self.lblEndDatetime, 1, 2, 1, 1)
        self.edtEndDate = CDateEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndTime.sizePolicy().hasHeightForWidth())
        self.edtEndTime.setSizePolicy(sizePolicy)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCurrentSectionIndex(0)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 1, 4, 1, 1)
        self.btnSetEndDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetEndDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetEndDateTime.setObjectName(_fromUtf8("btnSetEndDateTime"))
        self.gridLayout.addWidget(self.btnSetEndDateTime, 1, 5, 1, 1)
        self.lblJobType = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblJobType.sizePolicy().hasHeightForWidth())
        self.lblJobType.setSizePolicy(sizePolicy)
        self.lblJobType.setObjectName(_fromUtf8("lblJobType"))
        self.gridLayout.addWidget(self.lblJobType, 2, 0, 1, 1)
        self.lblJobTypeValue = QtGui.QLabel(self.grpMain)
        self.lblJobTypeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblJobTypeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblJobTypeValue.setObjectName(_fromUtf8("lblJobTypeValue"))
        self.gridLayout.addWidget(self.lblJobTypeValue, 2, 1, 1, 1)
        self.lblStatus = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblStatus.sizePolicy().hasHeightForWidth())
        self.lblStatus.setSizePolicy(sizePolicy)
        self.lblStatus.setObjectName(_fromUtf8("lblStatus"))
        self.gridLayout.addWidget(self.lblStatus, 3, 0, 1, 1)
        self.cmbStatus = QtGui.QComboBox(self.grpMain)
        self.cmbStatus.setObjectName(_fromUtf8("cmbStatus"))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 3, 1, 1, 1)
        self.lblLabel = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblLabel.sizePolicy().hasHeightForWidth())
        self.lblLabel.setSizePolicy(sizePolicy)
        self.lblLabel.setObjectName(_fromUtf8("lblLabel"))
        self.gridLayout.addWidget(self.lblLabel, 4, 0, 1, 1)
        self.edtLabel = QtGui.QLineEdit(self.grpMain)
        self.edtLabel.setObjectName(_fromUtf8("edtLabel"))
        self.gridLayout.addWidget(self.edtLabel, 4, 1, 1, 5)
        self.lblNote = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblNote.sizePolicy().hasHeightForWidth())
        self.lblNote.setSizePolicy(sizePolicy)
        self.lblNote.setObjectName(_fromUtf8("lblNote"))
        self.gridLayout.addWidget(self.lblNote, 5, 0, 1, 1)
        self.edtNote = QtGui.QLineEdit(self.grpMain)
        self.edtNote.setObjectName(_fromUtf8("edtNote"))
        self.gridLayout.addWidget(self.edtNote, 5, 1, 1, 5)
        self.verticalLayout_3.addWidget(self.grpMain)
        self.tabWidget = QtGui.QTabWidget(self.splitter_2)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setUsesScrollButtons(True)
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setTabsClosable(False)
        self.tabWidget.setMovable(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tabActions = QtGui.QWidget()
        self.tabActions.setObjectName(_fromUtf8("tabActions"))
        self.verticalLayout = QtGui.QVBoxLayout(self.tabActions)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(self.tabActions)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.tblActions = CTableView(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblActions.sizePolicy().hasHeightForWidth())
        self.tblActions.setSizePolicy(sizePolicy)
        self.tblActions.setObjectName(_fromUtf8("tblActions"))
        self.widget = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.widget)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setSpacing(4)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.tblProps = CActionPropertiesTableView(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblProps.sizePolicy().hasHeightForWidth())
        self.tblProps.setSizePolicy(sizePolicy)
        self.tblProps.setObjectName(_fromUtf8("tblProps"))
        self.gridLayout_2.addWidget(self.tblProps, 0, 0, 1, 11)
        self.verticalLayout.addWidget(self.splitter)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.btnSaveAsTemplate = QtGui.QPushButton(self.tabActions)
        self.btnSaveAsTemplate.setObjectName(_fromUtf8("btnSaveAsTemplate"))
        self.gridLayout_5.addWidget(self.btnSaveAsTemplate, 0, 2, 1, 1)
        self.btnCloneValues = QtGui.QPushButton(self.tabActions)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.btnCloneValues.sizePolicy().hasHeightForWidth())
        self.btnCloneValues.setSizePolicy(sizePolicy)
        self.btnCloneValues.setObjectName(_fromUtf8("btnCloneValues"))
        self.gridLayout_5.addWidget(self.btnCloneValues, 0, 3, 1, 1)
        self.btnFillPropertiesValue = QtGui.QPushButton(self.tabActions)
        self.btnFillPropertiesValue.setObjectName(
            _fromUtf8("btnFillPropertiesValue"))
        self.gridLayout_5.addWidget(self.btnFillPropertiesValue, 0, 4, 1, 1)
        self.btnEditEvent = QtGui.QPushButton(self.tabActions)
        self.btnEditEvent.setObjectName(_fromUtf8("btnEditEvent"))
        self.gridLayout_5.addWidget(self.btnEditEvent, 0, 6, 1, 1)
        self.btnAmbCard = QtGui.QPushButton(self.tabActions)
        self.btnAmbCard.setObjectName(_fromUtf8("btnAmbCard"))
        self.gridLayout_5.addWidget(self.btnAmbCard, 0, 5, 1, 1)
        self.btnShowSnapshots = QtGui.QPushButton(self.tabActions)
        self.btnShowSnapshots.setObjectName(_fromUtf8("btnShowSnapshots"))
        self.gridLayout_5.addWidget(self.btnShowSnapshots, 0, 7, 1, 1)
        self.btnFindSnapshots = QtGui.QPushButton(self.tabActions)
        self.btnFindSnapshots.setObjectName(_fromUtf8("btnFindSnapshots"))
        self.gridLayout_5.addWidget(self.btnFindSnapshots, 0, 8, 1, 1)
        self.btnLoadTemplate = CActionTemplateChooseButton(self.tabActions)
        self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate"))
        self.gridLayout_5.addWidget(self.btnLoadTemplate, 0, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 0, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 10, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout_5)
        self.tabWidget.addTab(self.tabActions, _fromUtf8(""))
        self.tabProbes = QtGui.QWidget()
        self.tabProbes.setObjectName(_fromUtf8("tabProbes"))
        self.gridLayout_4 = QtGui.QGridLayout(self.tabProbes)
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.tblTreeProbe = CJobTicketProbeTreeView(self.tabProbes)
        self.tblTreeProbe.setObjectName(_fromUtf8("tblTreeProbe"))
        self.gridLayout_4.addWidget(self.tblTreeProbe, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tabProbes, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.splitter_2)
        self.buttonBox = QtGui.QDialogButtonBox(JobTicketEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)
        self.lblTissueType.setBuddy(self.cmbTissueType)
        self.lblTissueDateTime.setBuddy(self.edtTissueDate)
        self.lblTissueExternalId.setBuddy(self.edtTissueExternalId)
        self.lblTissueNote.setBuddy(self.edtTissueNote)
        self.lblTissueAmount.setBuddy(self.edtTissueAmount)
        self.lblTissyeExecPerson.setBuddy(self.cmbTissueExecPerson)
        self.lblTissueUnit.setBuddy(self.cmbTissueUnit)
        self.lblBegDateTime.setBuddy(self.edtBegDate)
        self.lblEndDatetime.setBuddy(self.edtEndDate)
        self.lblStatus.setBuddy(self.cmbStatus)
        self.lblLabel.setBuddy(self.edtLabel)
        self.lblNote.setBuddy(self.edtNote)

        self.retranslateUi(JobTicketEditorDialog)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               JobTicketEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               JobTicketEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(JobTicketEditorDialog)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueType,
                                          self.edtTissueDate)
        JobTicketEditorDialog.setTabOrder(self.edtTissueDate,
                                          self.edtTissueTime)
        JobTicketEditorDialog.setTabOrder(self.edtTissueTime,
                                          self.cmbTissueExecPerson)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueExecPerson,
                                          self.edtTissueAmount)
        JobTicketEditorDialog.setTabOrder(self.edtTissueAmount,
                                          self.cmbTissueUnit)
        JobTicketEditorDialog.setTabOrder(self.cmbTissueUnit,
                                          self.edtTissueExternalId)
        JobTicketEditorDialog.setTabOrder(self.edtTissueExternalId,
                                          self.btnPrintTissueLabel)
        JobTicketEditorDialog.setTabOrder(self.btnPrintTissueLabel,
                                          self.edtTissueNumber)
        JobTicketEditorDialog.setTabOrder(self.edtTissueNumber,
                                          self.edtTissueNote)
        JobTicketEditorDialog.setTabOrder(self.edtTissueNote, self.edtBegDate)
        JobTicketEditorDialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        JobTicketEditorDialog.setTabOrder(self.edtBegTime,
                                          self.btnSetBegDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetBegDateTime,
                                          self.edtEndDate)
        JobTicketEditorDialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        JobTicketEditorDialog.setTabOrder(self.edtEndTime,
                                          self.btnSetEndDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetEndDateTime,
                                          self.cmbStatus)
        JobTicketEditorDialog.setTabOrder(self.cmbStatus, self.edtLabel)
        JobTicketEditorDialog.setTabOrder(self.edtLabel, self.edtNote)
        JobTicketEditorDialog.setTabOrder(self.edtNote, self.tabWidget)
        JobTicketEditorDialog.setTabOrder(self.tabWidget, self.tblActions)
        JobTicketEditorDialog.setTabOrder(self.tblActions, self.tblProps)
        JobTicketEditorDialog.setTabOrder(self.tblProps, self.tblTreeProbe)
        JobTicketEditorDialog.setTabOrder(self.tblTreeProbe, self.buttonBox)

    def retranslateUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setWindowTitle(
            _translate("JobTicketEditorDialog", "ChangeMe!", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "JobTicketEditorDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpTissue.setTitle(
            _translate("JobTicketEditorDialog", "Биоматериал", None))
        self.lblTissueType.setText(
            _translate("JobTicketEditorDialog", "Тип биоматериала", None))
        self.lblTissueDateTime.setText(
            _translate("JobTicketEditorDialog", "Дата и время", None))
        self.lblTissueExternalId.setText(
            _translate("JobTicketEditorDialog", "&Идентификатор", None))
        self.lblTissueNote.setText(
            _translate("JobTicketEditorDialog", "Примечание", None))
        self.lblTissueAmount.setText(
            _translate("JobTicketEditorDialog", "Количество", None))
        self.lblTissyeExecPerson.setText(
            _translate("JobTicketEditorDialog", "Исполнитель", None))
        self.lblTissueUnit.setText(
            _translate("JobTicketEditorDialog", "Ед. измерения", None))
        self.lblTissueNumber.setText(
            _translate("JobTicketEditorDialog", "Номер", None))
        self.btnPrintTissueLabel.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.grpMain.setTitle(
            _translate("JobTicketEditorDialog", "Основная информация", None))
        self.lblDatetime.setText(
            _translate("JobTicketEditorDialog", "Плановые дата и время", None))
        self.lblDatetimeValue.setText(
            _translate("JobTicketEditorDialog", "01.12.2009 19:30", None))
        self.lblBegDateTime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время начала выполнения", None))
        self.edtBegTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.btnSetBegDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.lblOrgStructure.setText(
            _translate("JobTicketEditorDialog", "Подразделение", None))
        self.lblOrgStructureValue.setText(
            _translate("JobTicketEditorDialog", "Лаборатория", None))
        self.lblEndDatetime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время окончания выполнения", None))
        self.edtEndTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.btnSetEndDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.lblJobType.setText(
            _translate("JobTicketEditorDialog", "Работа", None))
        self.lblJobTypeValue.setText(
            _translate("JobTicketEditorDialog", "анализ крови", None))
        self.lblStatus.setText(
            _translate("JobTicketEditorDialog", "Состояние", None))
        self.cmbStatus.setItemText(
            0, _translate("JobTicketEditorDialog", "Ожидание", None))
        self.cmbStatus.setItemText(
            1, _translate("JobTicketEditorDialog", "Выполняется", None))
        self.cmbStatus.setItemText(
            2, _translate("JobTicketEditorDialog", "Закончено", None))
        self.lblLabel.setText(
            _translate("JobTicketEditorDialog", "Отметка", None))
        self.lblNote.setText(
            _translate("JobTicketEditorDialog", "Примечание", None))
        self.btnSaveAsTemplate.setText(
            _translate("JobTicketEditorDialog", "Сохранить шаблон", None))
        self.btnCloneValues.setText(
            _translate("JobTicketEditorDialog", "Размножить значения свойств",
                       None))
        self.btnFillPropertiesValue.setText(
            _translate("JobTicketEditorDialog", "Заполнить значения проб",
                       None))
        self.btnEditEvent.setText(
            _translate("JobTicketEditorDialog", "Перейти в обращение", None))
        self.btnAmbCard.setText(
            _translate("JobTicketEditorDialog", "Медицинская карта", None))
        self.btnShowSnapshots.setText(
            _translate("JobTicketEditorDialog", "Показать снимки", None))
        self.btnFindSnapshots.setText(
            _translate("JobTicketEditorDialog", "Поиск снимков", None))
        self.btnLoadTemplate.setText(
            _translate("JobTicketEditorDialog", "Загрузить шаблон", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabActions),
            _translate("JobTicketEditorDialog", "&Действия", None))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tabProbes),
            _translate("JobTicketEditorDialog", "&Пробы", None))
Exemplo n.º 3
0
class Ui_JobTicketEditorDialog(object):
    def setupUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setObjectName(_fromUtf8("JobTicketEditorDialog"))
        JobTicketEditorDialog.resize(1299, 734)
        JobTicketEditorDialog.setSizeGripEnabled(False)
        self.verticalLayout = QtGui.QVBoxLayout(JobTicketEditorDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.splitter = QtGui.QSplitter(JobTicketEditorDialog)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.txtClientInfoBrowser = CTextBrowser(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.txtClientInfoBrowser.sizePolicy().hasHeightForWidth())
        self.txtClientInfoBrowser.setSizePolicy(sizePolicy)
        self.txtClientInfoBrowser.setMinimumSize(QtCore.QSize(0, 100))
        self.txtClientInfoBrowser.setFocusPolicy(QtCore.Qt.ClickFocus)
        self.txtClientInfoBrowser.setReadOnly(True)
        self.txtClientInfoBrowser.setTextInteractionFlags(
            QtCore.Qt.TextBrowserInteraction)
        self.txtClientInfoBrowser.setObjectName(
            _fromUtf8("txtClientInfoBrowser"))
        self.grpMain = QtGui.QGroupBox(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.grpMain.sizePolicy().hasHeightForWidth())
        self.grpMain.setSizePolicy(sizePolicy)
        self.grpMain.setObjectName(_fromUtf8("grpMain"))
        self.gridLayout = QtGui.QGridLayout(self.grpMain)
        self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.gridLayout.setMargin(4)
        self.gridLayout.setSpacing(4)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.lblJobTypeValue = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblJobTypeValue.sizePolicy().hasHeightForWidth())
        self.lblJobTypeValue.setSizePolicy(sizePolicy)
        self.lblJobTypeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblJobTypeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblJobTypeValue.setObjectName(_fromUtf8("lblJobTypeValue"))
        self.gridLayout.addWidget(self.lblJobTypeValue, 2, 1, 1, 1)
        self.edtEndTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndTime.sizePolicy().hasHeightForWidth())
        self.edtEndTime.setSizePolicy(sizePolicy)
        self.edtEndTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtEndTime.setCurrentSectionIndex(0)
        self.edtEndTime.setObjectName(_fromUtf8("edtEndTime"))
        self.gridLayout.addWidget(self.edtEndTime, 1, 4, 1, 1)
        self.lblJobType = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblJobType.sizePolicy().hasHeightForWidth())
        self.lblJobType.setSizePolicy(sizePolicy)
        self.lblJobType.setObjectName(_fromUtf8("lblJobType"))
        self.gridLayout.addWidget(self.lblJobType, 2, 0, 1, 1)
        self.btnSetEndDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetEndDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetEndDateTime.setObjectName(_fromUtf8("btnSetEndDateTime"))
        self.gridLayout.addWidget(self.btnSetEndDateTime, 1, 5, 1, 1)
        self.edtBegTime = QtGui.QTimeEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegTime.sizePolicy().hasHeightForWidth())
        self.edtBegTime.setSizePolicy(sizePolicy)
        self.edtBegTime.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
        self.edtBegTime.setCurrentSectionIndex(0)
        self.edtBegTime.setObjectName(_fromUtf8("edtBegTime"))
        self.gridLayout.addWidget(self.edtBegTime, 0, 4, 1, 1)
        self.lblEndDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblEndDatetime.sizePolicy().hasHeightForWidth())
        self.lblEndDatetime.setSizePolicy(sizePolicy)
        self.lblEndDatetime.setObjectName(_fromUtf8("lblEndDatetime"))
        self.gridLayout.addWidget(self.lblEndDatetime, 1, 2, 1, 1)
        self.lblOrgStructureValue = QtGui.QLabel(self.grpMain)
        self.lblOrgStructureValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblOrgStructureValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblOrgStructureValue.setObjectName(
            _fromUtf8("lblOrgStructureValue"))
        self.gridLayout.addWidget(self.lblOrgStructureValue, 1, 1, 1, 1)
        self.lblBegDateTime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblBegDateTime.sizePolicy().hasHeightForWidth())
        self.lblBegDateTime.setSizePolicy(sizePolicy)
        self.lblBegDateTime.setObjectName(_fromUtf8("lblBegDateTime"))
        self.gridLayout.addWidget(self.lblBegDateTime, 0, 2, 1, 1)
        self.lblDatetimeValue = QtGui.QLabel(self.grpMain)
        self.lblDatetimeValue.setFrameShape(QtGui.QFrame.StyledPanel)
        self.lblDatetimeValue.setFrameShadow(QtGui.QFrame.Sunken)
        self.lblDatetimeValue.setObjectName(_fromUtf8("lblDatetimeValue"))
        self.gridLayout.addWidget(self.lblDatetimeValue, 0, 1, 1, 1)
        self.btnSetBegDateTime = QtGui.QToolButton(self.grpMain)
        self.btnSetBegDateTime.setArrowType(QtCore.Qt.LeftArrow)
        self.btnSetBegDateTime.setObjectName(_fromUtf8("btnSetBegDateTime"))
        self.gridLayout.addWidget(self.btnSetBegDateTime, 0, 5, 1, 1)
        self.lblDatetime = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblDatetime.sizePolicy().hasHeightForWidth())
        self.lblDatetime.setSizePolicy(sizePolicy)
        self.lblDatetime.setObjectName(_fromUtf8("lblDatetime"))
        self.gridLayout.addWidget(self.lblDatetime, 0, 0, 1, 1)
        self.edtBegDate = CDateEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtBegDate.sizePolicy().hasHeightForWidth())
        self.edtBegDate.setSizePolicy(sizePolicy)
        self.edtBegDate.setCalendarPopup(True)
        self.edtBegDate.setObjectName(_fromUtf8("edtBegDate"))
        self.gridLayout.addWidget(self.edtBegDate, 0, 3, 1, 1)
        self.lblOrgStructure = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblOrgStructure.sizePolicy().hasHeightForWidth())
        self.lblOrgStructure.setSizePolicy(sizePolicy)
        self.lblOrgStructure.setObjectName(_fromUtf8("lblOrgStructure"))
        self.gridLayout.addWidget(self.lblOrgStructure, 1, 0, 1, 1)
        self.edtEndDate = CDateEdit(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.edtEndDate.sizePolicy().hasHeightForWidth())
        self.edtEndDate.setSizePolicy(sizePolicy)
        self.edtEndDate.setCalendarPopup(True)
        self.edtEndDate.setObjectName(_fromUtf8("edtEndDate"))
        self.gridLayout.addWidget(self.edtEndDate, 1, 3, 1, 1)
        self.lblStatus = QtGui.QLabel(self.grpMain)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.lblStatus.sizePolicy().hasHeightForWidth())
        self.lblStatus.setSizePolicy(sizePolicy)
        self.lblStatus.setObjectName(_fromUtf8("lblStatus"))
        self.gridLayout.addWidget(self.lblStatus, 2, 2, 1, 1)
        self.cmbStatus = QtGui.QComboBox(self.grpMain)
        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.cmbStatus.addItem(_fromUtf8(""))
        self.gridLayout.addWidget(self.cmbStatus, 2, 3, 1, 3)
        self.gridWidget = QtGui.QWidget(self.splitter)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(
            self.gridWidget.sizePolicy().hasHeightForWidth())
        self.gridWidget.setSizePolicy(sizePolicy)
        self.gridWidget.setObjectName(_fromUtf8("gridWidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.gridWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.splitter_2 = QtGui.QSplitter(self.gridWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.splitter_2.sizePolicy().hasHeightForWidth())
        self.splitter_2.setSizePolicy(sizePolicy)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.tblTreeProbe = CJobTicketProbeTreeView2(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblTreeProbe.sizePolicy().hasHeightForWidth())
        self.tblTreeProbe.setSizePolicy(sizePolicy)
        self.tblTreeProbe.setObjectName(_fromUtf8("tblTreeProbe"))
        self.tblProps = CActionPropertiesTableView(self.splitter_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.tblProps.sizePolicy().hasHeightForWidth())
        self.tblProps.setSizePolicy(sizePolicy)
        self.tblProps.setObjectName(_fromUtf8("tblProps"))
        self.verticalLayout_2.addWidget(self.splitter_2)
        self.gridLayout_5 = QtGui.QGridLayout()
        self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5"))
        self.btnSaveAsTemplate = QtGui.QPushButton(self.gridWidget)
        self.btnSaveAsTemplate.setObjectName(_fromUtf8("btnSaveAsTemplate"))
        self.gridLayout_5.addWidget(self.btnSaveAsTemplate, 0, 2, 1, 1)
        self.btnEditEvent = QtGui.QPushButton(self.gridWidget)
        self.btnEditEvent.setObjectName(_fromUtf8("btnEditEvent"))
        self.gridLayout_5.addWidget(self.btnEditEvent, 0, 5, 1, 1)
        self.btnAmbCard = QtGui.QPushButton(self.gridWidget)
        self.btnAmbCard.setObjectName(_fromUtf8("btnAmbCard"))
        self.gridLayout_5.addWidget(self.btnAmbCard, 0, 4, 1, 1)
        self.btnLoadTemplate = CActionTemplateChooseButton(self.gridWidget)
        self.btnLoadTemplate.setObjectName(_fromUtf8("btnLoadTemplate"))
        self.gridLayout_5.addWidget(self.btnLoadTemplate, 0, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem1, 0, 7, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridLayout_5.addItem(spacerItem2, 0, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout_5)
        self.verticalLayout.addWidget(self.splitter)
        self.buttonBox = QtGui.QDialogButtonBox(JobTicketEditorDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)
        self.lblEndDatetime.setBuddy(self.edtEndDate)
        self.lblBegDateTime.setBuddy(self.edtBegDate)
        self.lblStatus.setBuddy(self.cmbStatus)

        self.retranslateUi(JobTicketEditorDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               JobTicketEditorDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               JobTicketEditorDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(JobTicketEditorDialog)
        JobTicketEditorDialog.setTabOrder(self.edtBegDate, self.edtBegTime)
        JobTicketEditorDialog.setTabOrder(self.edtBegTime,
                                          self.btnSetBegDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetBegDateTime,
                                          self.edtEndDate)
        JobTicketEditorDialog.setTabOrder(self.edtEndDate, self.edtEndTime)
        JobTicketEditorDialog.setTabOrder(self.edtEndTime,
                                          self.btnSetEndDateTime)
        JobTicketEditorDialog.setTabOrder(self.btnSetEndDateTime,
                                          self.buttonBox)

    def retranslateUi(self, JobTicketEditorDialog):
        JobTicketEditorDialog.setWindowTitle(
            _translate("JobTicketEditorDialog", "ChangeMe!", None))
        self.txtClientInfoBrowser.setHtml(
            _translate(
                "JobTicketEditorDialog",
                "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Noto Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>",
                None))
        self.grpMain.setTitle(
            _translate("JobTicketEditorDialog", "Основная информация", None))
        self.lblJobTypeValue.setText(
            _translate("JobTicketEditorDialog", "анализ крови", None))
        self.edtEndTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.lblJobType.setText(
            _translate("JobTicketEditorDialog", "Работа", None))
        self.btnSetEndDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.edtBegTime.setDisplayFormat(
            _translate("JobTicketEditorDialog", "HH:mm", None))
        self.lblEndDatetime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время окончания выполнения", None))
        self.lblOrgStructureValue.setText(
            _translate("JobTicketEditorDialog", "Лаборатория", None))
        self.lblBegDateTime.setText(
            _translate("JobTicketEditorDialog",
                       "Дата и время начала выполнения", None))
        self.lblDatetimeValue.setText(
            _translate("JobTicketEditorDialog", "01.12.2009 19:30", None))
        self.btnSetBegDateTime.setText(
            _translate("JobTicketEditorDialog", "...", None))
        self.lblDatetime.setText(
            _translate("JobTicketEditorDialog", "Плановые дата и время", None))
        self.lblOrgStructure.setText(
            _translate("JobTicketEditorDialog", "Подразделение", None))
        self.lblStatus.setText(
            _translate("JobTicketEditorDialog", "Состояние", None))
        self.cmbStatus.setItemText(
            0, _translate("JobTicketEditorDialog", "Ожидание", None))
        self.cmbStatus.setItemText(
            1, _translate("JobTicketEditorDialog", "Выполняется", None))
        self.cmbStatus.setItemText(
            2, _translate("JobTicketEditorDialog", "Закончено", None))
        self.btnSaveAsTemplate.setText(
            _translate("JobTicketEditorDialog", "Сохранить шаблон", None))
        self.btnEditEvent.setText(
            _translate("JobTicketEditorDialog", "Перейти в обращение", None))
        self.btnAmbCard.setText(
            _translate("JobTicketEditorDialog", "Медицинская карта", None))
        self.btnLoadTemplate.setText(
            _translate("JobTicketEditorDialog", "Загрузить шаблон", None))