|
@@ -12,7 +12,7 @@ from PyQt5.QtGui import QIcon, QPixmap
|
|
|
from PyQt5.QtWidgets import QApplication, QTreeWidgetItem
|
|
from PyQt5.QtWidgets import QApplication, QTreeWidgetItem
|
|
|
|
|
|
|
|
from core.checking import TestResult
|
|
from core.checking import TestResult
|
|
|
-from core.constants import MAIN, RSCDIR
|
|
|
|
|
|
|
+from core.constants import MAIN, RSCDIR, VERSION
|
|
|
from ui.dlg_contact import DlgContact
|
|
from ui.dlg_contact import DlgContact
|
|
|
|
|
|
|
|
|
|
|
|
@@ -45,6 +45,7 @@ class DlgMain(QtWidgets.QDialog):
|
|
|
self.ui = Ui_Main()
|
|
self.ui = Ui_Main()
|
|
|
self.ui.setupUi(self)
|
|
self.ui.setupUi(self)
|
|
|
|
|
|
|
|
|
|
+ self.setWindowTitle(f"MnCheck v{VERSION}")
|
|
|
self.setWindowIcon(QIcon(MAIN / "icon.png"))
|
|
self.setWindowIcon(QIcon(MAIN / "icon.png"))
|
|
|
|
|
|
|
|
self.ui.btn_run.setIcon(QIcon(RSCDIR / "play.png"))
|
|
self.ui.btn_run.setIcon(QIcon(RSCDIR / "play.png"))
|
|
@@ -53,10 +54,6 @@ class DlgMain(QtWidgets.QDialog):
|
|
|
self.ui.btn_help.setIcon(QIcon(RSCDIR / "question.png"))
|
|
self.ui.btn_help.setIcon(QIcon(RSCDIR / "question.png"))
|
|
|
self.ui.btn_help.clicked.connect(self.show_help)
|
|
self.ui.btn_help.clicked.connect(self.show_help)
|
|
|
|
|
|
|
|
- self.ui.btn_settings.setIcon(QIcon(RSCDIR / "settings.png"))
|
|
|
|
|
- self.ui.btn_settings.clicked.connect(self.show_settings)
|
|
|
|
|
-
|
|
|
|
|
- self.ui.btn_settings.setIcon(QIcon(RSCDIR / "settings.png"))
|
|
|
|
|
self.ui.btn_contact.clicked.connect(self.show_contact)
|
|
self.ui.btn_contact.clicked.connect(self.show_contact)
|
|
|
|
|
|
|
|
for i, schema_name in enumerate(self.available_schemas):
|
|
for i, schema_name in enumerate(self.available_schemas):
|