In my ConfigWidget class I need to call another routine outside the class to initialize data - the routine is used when you run actions other than configuration as well. That routine needs the Calibre gui object in order to get information from Calibre. How do I refer to that gui object? e.g.
Code:
def ConfigWidget(QWidget):
...
my_initialize_routine()
def my_initialize_routine():
model = self.gui.library_view.model()
self.gui does not exist. I used to have the routine as part of the base object and could call it as self.plugin_action.my_initialize_routine().
Help
I know, I should just wait for kiwidude to release his updated plugins and then copy him