Quote:
Originally Posted by Doitsu
I've got a cosmetic Sigil Qt question. When using file open/save dialog code such as the following code:
Code:
app = QtWidgets.QApplication(sys.argv)
fpath, seleted_filter = QtWidgets.QFileDialog.getSaveFileName(None, 'Save ePub3 as ...', suggest, "ePubs (*.epub)")
app.quit()
on Windows machines, an ugly Python icon is shown in the task bar.
Apparently, this can be prevented by specifying the parent control instead of None.
How do I get the parent control?
|
You could create a hidden QMainWindow to act as a parent but that just moves your problem to what to put as the parent of the QMainWindow I would guess.