-
Notifications
You must be signed in to change notification settings - Fork 2
/
launch.py
31 lines (21 loc) · 844 Bytes
/
launch.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
#!/usr/bin/env python3
# Copyright © 2024, Eyoel Tadesse <eyoel_tadesse@proton.me>
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit
from PySide6.QtWidgets import QApplication
from PySide6.QtGui import QPalette, QColor
from PySide6.QtCore import Qt
import sys
from desktop.main import BIP38Application
def main() -> None:
qapp: QApplication = QApplication(sys.argv)
palette = QPalette()
palette.setColor(QPalette.Active, QPalette.Text, QColor(255, 255, 255))
palette.setColor(QPalette.Disabled, QPalette.Text, QColor(170, 170, 170))
qapp.setPalette(palette)
qapp.setStyle("Windows")
main_application: BIP38Application = BIP38Application()
main_application.app.show()
sys.exit(qapp.exec())
if __name__ == '__main__':
main()