-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmyWindows.py
More file actions
52 lines (43 loc) · 1.53 KB
/
myWindows.py
File metadata and controls
52 lines (43 loc) · 1.53 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
from PyQt5.QtWidgets import QWidget, QMainWindow
from baseWindow import UIBaseWindow
from mainWindow import UIMainWindow
from reviewHistoryWindow import UIReviewHistoryWindow
from reviewWindow import UIReviewWindow
from viewAllWindow import UIViewAllWindow
from viewOrEdit import UIEditWindow
from writeWindow import UIWriteWindow
class myBase(QMainWindow, UIBaseWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setupUi(self)
class myMain(QWidget, UIMainWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setupUi(self)
# def closeEvent(self, a0: QtGui.QCloseEvent) -> None:
# sys.exit(0)
class myWrite(QWidget, UIWriteWindow):
def __init__(self, parent=None):
super().__init__(parent)
# self.setWindowModality(0)
self.setupUi(self)
class myViewAll(QWidget, UIViewAllWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setWindowModality(0)
self.setupUi(self)
class myEdit(QWidget, UIEditWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setWindowModality(0)
self.setupUi(self)
class myReview(QWidget, UIReviewWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setWindowModality(0)
self.setupUi(self)
class myReviewHistory(QWidget, UIReviewHistoryWindow):
def __init__(self, parent=None):
super().__init__(parent)
self.setWindowModality(0)
self.setupUi(self)