Ejemplo n.º 1
0
    def __init__(self, sobject, parent=None):
        super(self.__class__, self).__init__(parent=parent)

        self.setupUi(self)
        self.dock_widget = None

        self.sobject = sobject

        # Query to get all task for current sobject
        self.sobject.get_tasks()

        self.users = tc.users_query()
        self.priority = tc.task_priority_query(
            self.sobject.info['__search_key__'])
        self.task_process = tc.task_process_query(
            self.sobject.info['__search_key__'])
        # print(self.task_process)

        self.initial_fill_info()

        self.ui_richedit = richedit_widget.Ui_richeditWidget(
            self.descriptionTextEdit)
        self.editorLayout.addWidget(self.ui_richedit)

        self.add_process_items()

        self.ui_actions()
Ejemplo n.º 2
0
    def __init__(self, name_index_context=None, parent=None):
        super(self.__class__, self).__init__(parent=parent)

        self.settings = QtCore.QSettings('TACTIC Handler',
                                         'TACTIC Handling Tool')

        # self vars
        self.tab_name, self.tab_index, self.context_items = name_index_context
        self.toggle = False

        self.setupUi(self)
        self.setObjectName(self.tab_name)
        env.Inst().ui_checkout_tree.setdefault(self.tab_name, self)
        self.add_items_to_context_combo_box()
        self.create_search_group_box()
        self.create_refresh_popup()

        self.controls_actions()

        self.ui_richedit = richedit_widget.Ui_richeditWidget(
            self.descriptionTextEdit)

        self.editorLayout.addWidget(self.ui_richedit)

        # self.readSettings()
        self.saverole = QtCore.Qt.UserRole
        self.expanded = []
Ejemplo n.º 3
0
    def __init__(self, parent=None):
        super(self.__class__, self).__init__(parent=parent)

        self.setupUi(self)
        self.task_item = None

        self.ui_richedit = richedit_widget.Ui_richeditWidget(
            self.replyTextEdit, False)
        self.editorLayout.addWidget(self.ui_richedit)

        self.controls_actions()
Ejemplo n.º 4
0
 def create_rich_edit(self):
     self.ui_richedit = ui_richedit_classes.Ui_richeditWidget(self.descriptionTextEdit, parent=self.descriptionTextEdit)
     self.editorLayout.addWidget(self.ui_richedit)
 def create_richedit(self):
     self.ui_richedit = richedit_widget.Ui_richeditWidget(
         self.descriptionTextEdit)
     self.editorLayout.addWidget(self.ui_richedit)