forked from r1zekami/task_tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
75 lines (62 loc) · 2.2 KB
/
main.cpp
File metadata and controls
75 lines (62 loc) · 2.2 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#include "UI\w_login\loginwindow.h"
#include <QApplication>
#include <iostream>
#include <fstream>
#include <string>
#include <QStyleFactory>
#include "domain/database.h"
/*
TODO:
[
btn.pressed -> btn.clicked
jsnBoard and OpenedBoard does not affected by inner class changes
board owner button to boardedit
BoardEdit multi fix
Card management
Pictures Management
CardColourManagament
]
*/
int main(int argc, char *argv[])
{
Database::ParseBoardsData();
Database::ParseUserData();
//Database::AddNewCardToColumn("BIB", 3, "NewNeWnEw");
//Database::DeleteOwnerFromBoard("BIB", "notfound");
//Database::DeleteCardFromColumn("BIB", 0, 0);
QApplication a(argc, argv);
a.setStyle(QStyleFactory::create("Fusion"));
a.setStyleSheet("QMessageBox {"
"font: 600 10pt Montserrat SemiBold;"
"}"
"QMessageBox QPushButton {"
"border: 2px solid rgb(155, 144, 200);"
"border-radius: 8px;"
"padding-left: auto;"
"padding-right: auto;"
"color: rgb(0, 0, 0);"
"font: 600 10pt Montserrat SemiBold;"
"}"
"QInputDialog {"
"font: 600 10pt Montserrat SemiBold;"
"}"
"QInputDialog QPushButton {"
"border: 2px solid rgb(155, 144, 200);"
"border-radius: 8px;"
"padding-left: auto;"
"padding-right: auto;"
"color: rgb(0, 0, 0);"
"font: 600 10pt Montserrat SemiBold;"
"}"
"QInputDialog QLineEdit {"
"border: 2px solid rgb(156, 132, 192);"
"border-radius: 8px;"
"padding-left: auto;"
"padding-right: auto;"
"font: 600 10pt Montserrat SemiBold;"
"}"
);
LoginWindow w;
w.show();
return a.exec();
}