Ejemplo n.º 1
0
    def __init__(self, common_model, pt_model):

        self._model_ui = main_app_Model()
        self._common_mod = common_model
        self._pt_model = pt_model

        self._config = self._model_ui._conf_data['PrincingValConfig']
	def __init__(self, QMainWindow):

		self.ParentWindow = QMainWindow
		self._templates = OrderedDict()
		self._open_doc = defaultdict(lambda: 'open ')
		self._open_doc['Windows'] = 'start'

		self._model_ui = main_app_Model()
		self._common_mod = Common_Model()

		# Initialize Dialogs

		self.Dialog = QDialog(self.ParentWindow)
		self.dialog_ui = Pricing_Template_Dialog()
		self.dialog_ui.setupUi(self.Dialog)

		self.Dialog_warn = QDialog(self.ParentWindow)
		self.dialog_warn_ui = Template_Warning_Dialog()
		self.dialog_warn_ui.setupUi(self.Dialog_warn)

		self.Dialog_finish = QDialog(self.ParentWindow)
		self.Dialog_fin_ui = PricingTemplate_finish()
		self.Dialog_fin_ui.setupUi(self.Dialog_finish)

		self.Dialog_report = QDialog(self.ParentWindow)
		self.Dialog_report_ui = Pricing_Template_Report()
		self.Dialog_report_ui.setupUi(self.Dialog_report)

		self.Dialog_select = QDialog(self.ParentWindow)
		self.Dialog_select_ui = Pricing_Template_Select()
		self.Dialog_select_ui.setupUi(self.Dialog_select)

		self._config = self._model_ui._conf_data['PricingTempConfig']

		self.replyBtn = None
Ejemplo n.º 3
0
    def __init__(self):
        super().__init__()

        self._app_model = main_app_Model()
        self._pt_ctrl = Pricing_Template_Controller(self, self._app_model)
        self._ct_ctrl = Contract_Template_Controller(self, self._app_model)

        self._ui = MainView_UI()
        self._ui.setupUi(self)

        # Setup Connections

        self._setupConnections()
    def __init__(self, QMainWindow):

        self.ParentWindow = QMainWindow

        self._model_ui = main_app_Model()
        self._common_mod = Common_Model()

        # Initialize Dialogs

        self.Dialog = QDialog(self.ParentWindow)
        self.dialog_ui = Contract_Template_Dialog()
        self.dialog_ui.setupUi(self.Dialog)

        self._ct_config = self._model_ui._conf_data['ContractTempConfig']
        self._dc_config = self._model_ui._conf_data['DebitCreditConfig']
        self._cv1_config = self._model_ui._conf_data[
            'ContractPreValStep1Config']
        self._cv3_config = self._model_ui._conf_data[
            'ContractPreValStep3Config']

        self.replyBtn = None