diff options
author | Joris | 2020-06-01 09:11:02 +0200 |
---|---|---|
committer | Joris | 2020-06-01 09:11:02 +0200 |
commit | 3844f76d18e376777ca4d7c124df6d6b4896a361 (patch) | |
tree | 425a2380f960f81f929b1b1b6e860bd42626127d /src/gui/window.py | |
parent | adfab777568215d3c72facf07b734c1ff6046d78 (diff) |
Separate tasks panel on status
Diffstat (limited to 'src/gui/window.py')
-rw-r--r-- | src/gui/window.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/window.py b/src/gui/window.py index efacfd4..35670c7 100644 --- a/src/gui/window.py +++ b/src/gui/window.py @@ -4,6 +4,7 @@ import gui.tasks.widget import gui.tasks.widget import gui.tags.panel.widget import gui.signal +from model.status import Status def get(): window = QtWidgets.QMainWindow() @@ -27,9 +28,9 @@ def get(): tabs.currentChanged.connect(on_current_tab_changed) - tabs.addTab(gui.tasks.widget.widget(tabs, show_todo), "Todo") - tabs.addTab(gui.tasks.widget.widget(tabs, show_waiting), "Waiting") - tabs.addTab(gui.tasks.widget.widget(tabs, show_maybe), "Maybe") + tabs.addTab(gui.tasks.widget.widget(tabs, show_todo, Status.READY), "Todo") + tabs.addTab(gui.tasks.widget.widget(tabs, show_waiting, Status.WAITING), "Waiting") + tabs.addTab(gui.tasks.widget.widget(tabs, show_maybe, Status.MAYBE), "Maybe") tabs.addTab(gui.tags.panel.widget.widget(tabs), "Tags") return window |