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?
|
This is what I've been using successfully for quite a while:
https://github.com/dougmassay/sigil-...s_light.py#L56