renaming, disable delete detections btn
This commit is contained in:
parent
3206950f5e
commit
98900ff480
@ -144,8 +144,8 @@ class MainWindow(QMainWindow):
|
||||
about.show()
|
||||
|
||||
def on_help(self, s):
|
||||
help = HelpDialog(self)
|
||||
help.show()
|
||||
help_dlg = HelpDialog(self)
|
||||
help_dlg.show()
|
||||
|
||||
# @Slot(None)
|
||||
def exit_request(self):
|
@ -117,6 +117,7 @@ class SelectionControls(QWidget):
|
||||
deleteBtn.setSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding)
|
||||
deleteBtn.setStyleSheet(pushBtnStyle("red"))
|
||||
deleteBtn.setToolTip(f"DANGERZONE! Delete current selection of detections!")
|
||||
deleteBtn.setEnabled(False)
|
||||
deleteBtn.clicked.connect(self.on_Delete)
|
||||
|
||||
revertBtn = QPushButton("revert assignments")
|
||||
|
4
main.py
4
main.py
@ -9,7 +9,7 @@ from PySide6.QtWidgets import QApplication
|
||||
from PySide6.QtCore import QSettings
|
||||
from PySide6.QtGui import QIcon, QPalette
|
||||
|
||||
from fixtracks import fixtracks, info
|
||||
from fixtracks import info, mainwindow
|
||||
|
||||
logging.basicConfig(level=logging.INFO, force=True)
|
||||
|
||||
@ -47,7 +47,7 @@ app.setOrganizationDomain(info.organization_name)
|
||||
# icn = QIcon(":/icons/app_icon")
|
||||
# app.setWindowIcon(icn)
|
||||
# Create a Qt widget, which will be our window.
|
||||
window = fixtracks.MainWindow(is_dark_mode(app))
|
||||
window = mainwindow.MainWindow(is_dark_mode(app))
|
||||
window.setGeometry(100, 100, 1024, 768)
|
||||
window.setWindowTitle("FixTracks")
|
||||
window.setMinimumWidth(1024)
|
||||
|
Loading…
Reference in New Issue
Block a user