-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguisetup.py
52 lines (39 loc) · 1.04 KB
/
guisetup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import sys
sys.path.append('gui')
from mainwindow import *
from userdialog import *
from classes import *
from datafunc import *
from bookadd import *
filename_book = "books.csv"
filename_person = "users.csv"
filename_data = "data.csv"
filename = "data.csv"
duetime = 14
a = parse_data(filename_book, filename_person, filename_data)
a.parse_books()
a.parse_person()
a.parse_data()
app = QtWidgets.QApplication(sys.argv)
MainWindow = QtWidgets.QMainWindow()
ui = Ui_MainWindow(filename, duetime, a)
ui.setupUi(MainWindow)
MainWindow.show()
sys.exit(app.exec_())
#NOTE:
# Col 1 ID, Col 2 Title, Col 3 Author, Col 4 ISBN, Col 5 Location
#TODO:
# Implement bring back books -DONE
# Book add - DONE
# Implement book csv standared - Done
# csv append - DONE
# Loging system - DONE
# Implement settings
# default thingss
# Implement books due
# Email
# Due books list
# Implement Dues system
# csv
# Refresh main window for added books and data
# Add user functionality