def __init__(self, force=None): super(Main, self).__init__() # Build the ui from ui converted file self.ui = Ui_Dialog() self.ui.setupUi(self) self.force = force self.connect_functions() qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.update_users()
def __init__(self, parent, verification_code): super(Main, self).__init__() # Build the ui from ui converted file QtWidgets.QDialog.__init__(self, parent) self.ui = Ui_Dialog() self.ui.setupUi(self) self.connect_functions() self.verification_code = verification_code self.qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(self.qtHandler) self.show=0
def __init__(self): super(Main, self).__init__() # Build the ui from ui converted file self.ui = Ui_Dialog() self.ui.setupUi(self) self.init_show_pass_icon() self.connect_functions() self.show = 0 qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.ui.open_folder_pushButton.setIcon(QtGui.QIcon(defaults._folder_icon_))
def __init__(self): super(Main, self).__init__() # Build the ui from ui converted file self.ui = Ui_Dialog() self.ui.setupUi(self) qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.update_softwares() self.refresh_ui() self.connect_functions()
def __init__(self): super(Main, self).__init__() # Build the ui from ui converted file self.site = site() self.user = user() self.ui = Ui_Dialog() self.ui.setupUi(self) self.connect_functions() self.init_show_pass_icon() qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.show = 0
def __init__(self): super(Main, self).__init__() # Build the ui from ui converted file self.ui = Ui_Dialog() self.ui.setupUi(self) self.site = site() self.user = user() self.clean_projects() self.connect_functions() qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.ui.project_path_pushButton.setIcon( QtGui.QIcon(defaults._folder_icon_)) self.project_path = None self.project_name = None self.password = None
def __init__(self): super(Main, self).__init__() # Build the ui from ui converted file self.ui = Ui_Dialog() self.ui.setupUi(self) self.site = site() self.image_file = None self.get_session_name() self.connect_functions() self.refresh_promos() self.init_avatar_button() self.init_show_pass_icon() self.avatar = 0 qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.show = 0
def __init__(self, do_close=1): super(Main, self).__init__() self.ui = Ui_MainWindow() self.ui.setupUi(self) self.ui.file_viewer_plainTextEdit = script_editor.SimplePythonEditor( yaml=1, python=0) self.ui.file_viewer_plainTextEdit.drop_signal.connect(self.read_file) self.ui.file_viewer_plainTextEdit.setAcceptDrops(True) self.ui.verticalLayout.addWidget(self.ui.file_viewer_plainTextEdit) self.file = None qtHandler = log_to_gui.log_viewer(self.ui) logger.main_logger.addHandler(qtHandler) self.connect_functions() self.modified = 0 try: file = sys.argv[1] if os.path.isfile(file): self.open_file(file) except: pass self.do_close = do_close