View Single Post
Old 06-26-2025, 11:35 AM   #20
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Just updated Post #1 with version 0.0.4
Many thanks to Doitsu for his help and suggestions.

The GetFileName-Dialog is realized with imports from plugin_utils.py
relevant code:
Code:
    #--------------------------------------
    # file selection dialog
    # Code courtesy of Doitsu / KindleGenQt
    #--------------------------------------
    def GetFileName():
        ''' simple file selection dialog box '''
        fpath = None
        if not PluginApplication.instance():
            app = PluginApplication(sys.argv, bk)
        else:
            app = PluginApplication.instance()
        dlg = QtWidgets.QFileDialog()
        .....
        if dlg.exec():
        ....
Mark Nord is offline   Reply With Quote