Example #1
0
def main():
	with qtimer.create_qtimer(CONFIG_PATH, DEFAULT_CONFIG_PATH) as backend:
		app = QApplication(sys.argv)
		window = QTimerMainWindow(backend)
		window.show()
		sys.exit(app.exec_())
Example #2
0
def main():
	with create_qtimer(CONFIG_PATH) as core:
		cmd_line = QTimerCommandLine(core)
		args = cmd_line.parseArgs()
		cmd_line.executeCommand(args)