Update .gitignore and format __main__.py
This commit is contained in:
parent
866f57569a
commit
d72d8c751d
1
.gitignore
vendored
1
.gitignore
vendored
@ -73,6 +73,7 @@ __pycache__/
|
|||||||
dist/*
|
dist/*
|
||||||
build/*
|
build/*
|
||||||
ui_*.py
|
ui_*.py
|
||||||
|
.ropeproject/
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
# --------
|
# --------
|
||||||
|
@ -1,14 +1,16 @@
|
|||||||
# This Python file uses the following encoding: utf-8
|
# coding=utf-8
|
||||||
|
|
||||||
from PySide6.QtWidgets import QApplication
|
from PySide6.QtWidgets import QApplication
|
||||||
from . import MainWindow
|
from . import MainWindow
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
widget = MainWindow()
|
widget = MainWindow()
|
||||||
widget.show()
|
widget.show()
|
||||||
sys.exit(app.exec())
|
sys.exit(app.exec())
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user