Anubis - Bachelor thesis project

anubis.py
Go to the documentation of this file.
1 # Anubis is a program to control industrial cameras and train and use artificial neural networks
2 # Copyright (C) 2021 Lukaszczyk Jakub
3 #
4 # This program is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 3 of the License, or
7 # any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program. If not, see <https://www.gnu.org/licenses/>.
16
17
18 """!@brief Main application file used to start and properly close the application
19 """
20
21 from PyQt5 import QtWidgets
22 from interface import Ui_MainWindow
23
24 #Start the app. UI and its behavior is defined in interface.py
25 if __name__ == "__main__":
26 import sys
27 app = QtWidgets.QApplication(sys.argv)
28 MainWindow = QtWidgets.QMainWindow()
29 ui = Ui_MainWindow()
30 ui.setupUi(MainWindow)
31 MainWindow.show()
32 sys.exit(app.exec_())
interface.Ui_MainWindow
Main class for user interface.
Definition: interface.py:34