plugIns.doxygen   plugIns.doxygen 
skipping to change at line 51 skipping to change at line 51
- <tt>C:/Documents and Settings/User/Application Data/Stellarium/</tt> (us er data directory) - <tt>C:/Documents and Settings/User/Application Data/Stellarium/</tt> (us er data directory)
- <tt>modules/</tt> - <tt>modules/</tt>
- <tt>MyPlugin/</tt> - <tt>MyPlugin/</tt>
- <tt>libMyPlugin.dll</tt> - <tt>libMyPlugin.dll</tt>
See the implementation of StelModuleMgr::getPluginsList() for more details. See the implementation of StelModuleMgr::getPluginsList() for more details.
@section code Coding @section code Coding
A plugin should contain a main class deriving from the StelModule class as well as an instance of the StelPluginInterface which allows Stellarium to l oad it. At startup, the StelModuleMgr will load the library, and an instanc e of the StelModule it contains will be instantiated and added to the list of other "normal" StelModules. A plugin should contain a main class deriving from the StelModule class as well as an instance of the StelPluginInterface which allows Stellarium to l oad it. At startup, the StelModuleMgr will load the library, and an instanc e of the StelModule it contains will be instantiated and added to the list of other "normal" StelModules.
<em>Plugin developers - please note that classes used in plugins must inher A plugin can interact with the users in many ways, not limited to:
it code from the core which is published under the GUN GPL. <b>If you distr - painting directly on the viewport like other StelModules (see the exampl
ibute a binary plugin, you must do so under the terms of the same GNU GPL l es below);
icense that Stellarium uses.</b> No sneaky closed-source shenanigans now.</ - defining <a href="http://doc.qt.nokia.com/latest/qaction.html">QActions<
em> /a> triggered with keyboard shortcut combinations with StelGui::addGuiActio
ns();
- buttons (StelButton) added to the bottom button bar (BottomStelBar; see
the examples below);
- windows (subclasses of StelDialog) that can be designed with Qt's UI edi
tor (see the examples and the configuration windows of the official plugins
);
- custom controls displayed anywhere on the screen based on any of the cla
sses that inherit <a href="http://doc.qt.nokia.com/latest/qgraphicsitem.htm
l">QGraphicsItem</a> (see <a href="http://doc.qt.nokia.com/latest/graphicsv
iew.html">the documentation of Qt's Graphics View Framework</a>). To get a
base widget to work on, use StelGui::getSkyGui().
<em>Plugin developers - please note that classes used in plugins must inher
it code from the core which is published under the GNU GPL. <strong>If you
distribute a binary plugin, you must do so under the terms of the same GNU
General Public License that Stellarium uses</strong> (as of August 2011, th
is is GNU GPL "version 2 or any later version"). No sneaky closed-source sh
enanigans now.</em>
@section examplePlugins Example Plugins @section examplePlugins Example Plugins
There are a few simple \b static plugins written and maintained by the Stel larium developer team that can serve as examples. There are a few simple \b static plugins written and maintained by the Stel larium developer team that can serve as examples.
- <a href="http://bazaar.launchpad.net/~stellarium/stellarium/trunk/files/ head%3A/plugins/HelloStelModule/">HelloStelModule plugin</a>: minimal plugi n, intended as an example. - <a href="http://bazaar.launchpad.net/~stellarium/stellarium/trunk/files/ head%3A/plugins/HelloStelModule/">HelloStelModule plugin</a>: minimal plugi n, intended as an example.
- <a href="http://bazaar.launchpad.net/%7Estellarium/stellarium/trunk/file s/head%3A/plugins/AngleMeasure/">AngleMeasure plugin</a>: simple plugin, in tended as a guide to new developers. - <a href="http://bazaar.launchpad.net/%7Estellarium/stellarium/trunk/file s/head%3A/plugins/AngleMeasure/">AngleMeasure plugin</a>: simple plugin, in tended as a guide to new developers.
- <a href="http://bazaar.launchpad.net/%7Estellarium/stellarium/trunk/file s/head%3A/plugins/CompassMarks/"> CompassMarks plugin</a>: simple plugin, i ntended as a guide to new developers. - <a href="http://bazaar.launchpad.net/%7Estellarium/stellarium/trunk/file s/head%3A/plugins/CompassMarks/"> CompassMarks plugin</a>: simple plugin, i ntended as a guide to new developers.
All static plugins incorporated in Stellarium's main code can be found in t he <a href="http://bazaar.launchpad.net/~stellarium/stellarium/trunk/files/ head%3A/plugins/">/plugins</a> subdirectory of Stellarium's code tree. Note that some of these plugins are under construction and have not been distri buted yet with an official release. All static plugins incorporated in Stellarium's main code can be found in t he <a href="http://bazaar.launchpad.net/~stellarium/stellarium/trunk/files/ head%3A/plugins/">/plugins</a> subdirectory of Stellarium's code tree. Note that some of these plugins are under construction and have not been distri buted yet with an official release.
 End of changes. 1 change blocks. 
5 lines changed or deleted 23 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/