blob: aa22f7e2e0e2cc733da3dc7b77d4e78f006f5192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from PyQt5 import QtCore, QtWidgets
import gui.tasks.widget
def get(database):
window = QtWidgets.QMainWindow()
window.setWindowTitle("todo-next")
window.setMinimumSize(QtCore.QSize(640, 480))
centralWidget = QtWidgets.QWidget(window)
window.setCentralWidget(gui.tasks.widget.widget(database, centralWidget))
return window
|