12 #include "pluginapi.h"
34 virtual void deleteAboutData(
const AboutData* about)
const;
37 QString& caption, QPixmap& icon);
39 QString& caption, QPixmap& icon);
43 QByteArray pythonHome;
46 extern "C" PLUGIN_API
int scriptplugin_getPluginAPIVersion();
47 extern "C" PLUGIN_API
ScPlugin* scriptplugin_getPlugin();
48 extern "C" PLUGIN_API
void scriptplugin_freePlugin(
ScPlugin* plugin);
51 PyObject *scribus_retval(PyObject *
self, PyObject* args);
52 PyObject *scribus_getval(PyObject *
self);
virtual bool newPrefsPanelWidget(QWidget *parent, PrefsPanel *&panel, QString &caption, QPixmap &icon)
Create and return a prefs UI panel for the plugin.
Definition: scplugin.cpp:30
virtual bool cleanupPlugin()=0
Deactivates the plugin for unloading / program quit.
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
Abstract super class for all Scribus plug-ins.
Definition: scplugin.h:90
virtual void addToMainWindowMenu(ScribusMainWindow *)=0
Allow plugins to add to a main menu.
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
virtual bool initPlugin()=0
Initialize the plugin.
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
A plug-in that is resident for the lifetime of the app.
Definition: scplugin.h:454
A base class for all preferences panels.
Definition: prefspanel.h:21
Definition: prefs_pane.h:14
virtual const AboutData * getAboutData() const =0
Return descriptive information about the plug-in.
Definition: scriptplugin.h:22