-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.py
33 lines (26 loc) · 857 Bytes
/
main.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
import sys
from PyQt5.QtChart import QCandlestickSeries, QChart, QChartView, QCandlestickSet
from PyQt5.QtWidgets import QApplication, QMainWindow
from PyQt5.QtCore import Qt, QPointF, QDateTime
from PyQt5 import QtChart as qc
from datetime import datetime
from PyQt5.QtGui import QPainter
from GUI.Widgets_item import *
def main():
app = QApplication(sys.argv)
window = QMainWindow()
window.setGeometry(100, 100, 200, 400)
window.setStyleSheet(
f"font: 10pt '{namespace.Fonts.SEBANG_BOLD.value}';"
'font-weight: bold;'
'letter-spacing: 1.0px;'
'color: white;'
)
# window.setWindowFlags(Qt.WindowType.FramelessWindowHint)
# central widget
w = Window()
window.setCentralWidget(w)
window.show()
sys.exit(app.exec_())
if __name__ == '__main__':
main()