Beispiel #1
0
def launch():
	freeze_support()
	check_app_running()
	me = singleton.SingleInstance()
	windows_appusermodelid()
	app = QtGui.QApplication(sys.argv)
	QtGui.QApplication.setQuitOnLastWindowClosed(False)
	if check_settings() == False or is_user_info_invalid() == True:
		waiting = WaitingWindow()
	else:
		main = MainWindow()
	sys.exit(app.exec_())
Beispiel #2
0
def launch():
    freeze_support()
    check_app_running()
    me = singleton.SingleInstance()
    if sys.platform == "win32":
        windows_appusermodelid()
    app = QApplication(sys.argv)
    app.setWindowIcon(QtGui.QIcon(resource_path("icons/windows_icon.ico")))
    QApplication.setQuitOnLastWindowClosed(False)
    if check_settings() == False or is_user_info_invalid() == True:
        waiting = WaitingWindow()
    else:
        main = MainWindow()
    sys.exit(app.exec_())
Beispiel #3
0
def launch():
	freeze_support()
	check_app_running()
	me = singleton.SingleInstance()
	if sys.platform == 'win32':
		windows_appusermodelid()
	app = QApplication(sys.argv)
	app.setWindowIcon(QtGui.QIcon(resource_path('icons/windows_icon.ico')))
	QApplication.setQuitOnLastWindowClosed(False)
	if check_settings() == False or is_user_info_invalid() == True:
		waiting = WaitingWindow()
	else:
		main = MainWindow()
	sys.exit(app.exec_())
Beispiel #4
0
 def check_db(self):
     if check_settings() == True and is_user_info_invalid() == False:
         time.sleep(0.2)
         self.caught_credentials()
Beispiel #5
0
	def check_db(self):
		if check_settings() == True and is_user_info_invalid() == False:
			time.sleep(0.2)
			self.caught_credentials()