Browse Source

Set more qt metadata

master
Nils 3 years ago
parent
commit
ace8096dd5
  1. 6
      qtgui/mainwindow.py

6
qtgui/mainwindow.py

@ -116,10 +116,12 @@ class MainWindow(QtWidgets.QMainWindow):
self.qtApp.setWindowIcon(QtGui.QIcon(":icon.png")) #non-template part of the program
self.qtApp.setApplicationName(f"{METADATA['name']}")
self.qtApp.setApplicationDisplayName(f"{METADATA['name']}")
self.qtApp.setOrganizationName("Laborejo Software Suite")
self.qtApp.setOrganizationDomain("laborejo.org")
self.qtApp.setApplicationVersion(METADATA["version"])
QtGui.QIcon.setThemeName("hicolor") #audio applications can be found here. We have no need for other icons.
logger.info("Init MainWindow")
QtGui.QIcon.setThemeName("hicolor") #audio applications can be found here. We have no need for other icons.
#QtGui.QIcon.setFallbackThemeName("hicolor") #only one, not a list. This is the fallback if the theme can't be found. Not if icons can't be found in a theme.
#iconPaths = QtGui.QIcon.themeSearchPaths()
#iconPaths += ["/usr/share/icons/hicolor", "/usr/share/pixmaps"]

Loading…
Cancel
Save