Scribus
Open source desktop publishing at your fingertips
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
colorwheel.h
1
/*
2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
6
*/
7
8
#ifndef COLORWHEEL_H
9
#define COLORWHEEL_H
10
11
#include "pluginapi.h"
12
#include "scplugin.h"
13
22
class
PLUGIN_API
ColorWheelPlugin
:
public
ScActionPlugin
23
{
24
Q_OBJECT
25
26
public
:
27
// Standard plugin implementation
28
ColorWheelPlugin
();
29
virtual
~
ColorWheelPlugin
();
30
virtual
bool
run
(
ScribusDoc
* doc, QString target = QString::null);
31
virtual
const
QString
fullTrName
()
const
;
32
virtual
const
AboutData
*
getAboutData
()
const
;
33
virtual
void
deleteAboutData(
const
AboutData
* about)
const
;
34
virtual
void
languageChange
();
35
virtual
void
addToMainWindowMenu
(
ScribusMainWindow
*) {};
36
37
// Special features (none)
38
};
39
40
extern
"C"
PLUGIN_API
int
colorwheel_getPluginAPIVersion();
41
extern
"C"
PLUGIN_API
ScPlugin
* colorwheel_getPlugin();
42
extern
"C"
PLUGIN_API
void
colorwheel_freePlugin(
ScPlugin
* plugin);
43
44
#endif
ScActionPlugin
A plug-in that performs a single action.
Definition:
scplugin.h:248
ColorWheelPlugin::addToMainWindowMenu
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition:
colorwheel.h:35
ScPlugin::fullTrName
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
ScPlugin
Abstract super class for all Scribus plug-ins.
Definition:
scplugin.h:90
ScribusMainWindow
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition:
scribus.h:123
ScActionPlugin::run
virtual bool run(ScribusDoc *doc, QString target=QString::null)=0
Run the plug-in's main action.
ScPlugin::languageChange
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
ScribusDoc
the Document Class
Definition:
scribusdoc.h:90
ScPlugin::AboutData
ScPlugin provides an interface to ask plugins for information about themselves.
Definition:
scplugin.h:103
ColorWheelPlugin
This is a simple "Color Theory" plugin for Scribus 1.3 and later. Harmonious colors are colors that w...
Definition:
colorwheel.h:22
ScPlugin::getAboutData
virtual const AboutData * getAboutData() const =0
Return descriptive information about the plug-in.
scribus
plugins
colorwheel
colorwheel.h
Generated on Tue Sep 29 2015 09:15:01 for Scribus by
1.8.9.1