I created an Application using Qt Creator/Designer under Windows 8 and Qt 5
it starts as follow
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
#MainWindow.setApplicationName("Facturo-Pro") # this doesn't work
MainWindow.setWindowIcon(QtGui.QIcon('icons/app.png'))
MainWindow.setObjectName("MainWindow")
MainWindow.setMinimumSize(QtCore.QSize(800, 600))
MainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
i want to set the application name which should be shown on the window title and task bar
i tried to use
QtCore.QCoreApplication.setOrganizationName("Moose Soft")
QtCore.QCoreApplication.setApplicationName("Facturo-Pro")
or
QtCore.QSettings("my app","my org")
but it didn't work, in task bar and window title i see "python"
i don't want to use setWindowTitle()
because i want to use
MainWindow.setWindowFilePath(self.currentFile)
so i will later just update the FilePath and when editing the it a "*" will be shown on the window title!