marble
CompassFloatItem.cpp
Go to the documentation of this file.
117 path.addEllipse( QRectF( QPointF( marginLeft() + padding() + ( contentRect.width() - compassLength ) / 2,
176 painter->drawPixmap( QPoint( static_cast<int>( compassRect.width() - compassLength ) / 2, fontheight + 5 ), m_compass );
220 if ( m_uiConfigWidget && m_themeIndex >= 0 && m_themeIndex < m_uiConfigWidget->m_themeList->count() ) {
virtual QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: AbstractFloatItem.cpp:70
QDialog * configDialog()
Returns a pointer to the configuration dialog of the plugin.
Definition: CompassFloatItem.cpp:181
Definition: PluginInterface.h:28
virtual void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: AbstractFloatItem.cpp:77
QPainterPath backgroundShape() const
Returns the shape of the background.
Definition: CompassFloatItem.cpp:110
void setSettings(const QHash< QString, QVariant > &settings)
Set the settings of the plugin.
Definition: CompassFloatItem.cpp:209
void changeViewport(ViewportParams *viewport)
Definition: CompassFloatItem.cpp:123
QBrush background() const
Returns the background brush of the item.
Definition: FrameGraphicsItem.cpp:160
void settingsChanged(QString nameId)
This signal is emitted if the settings of the RenderPlugin changed.
The abstract class for float item plugins.
Definition: AbstractFloatItem.h:48
QString guiString() const
String that should be displayed in GUI.
Definition: CompassFloatItem.cpp:62
QString name() const
Returns the user-visible name of the plugin.
Definition: CompassFloatItem.cpp:57
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:171
QHash< QString, QVariant > settings() const
Settings of the plugin.
Definition: CompassFloatItem.cpp:200
QString copyrightYears() const
Definition: CompassFloatItem.cpp:82
bool isInitialized() const
Definition: CompassFloatItem.cpp:105
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
This file contains the headers for ViewportParams.
QString description() const
Returns a user description of the plugin.
Definition: CompassFloatItem.cpp:77
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:96
QList< PluginAuthor > pluginAuthors() const
Definition: CompassFloatItem.cpp:87
void paintContent(QPainter *painter)
Here the items paint their content.
Definition: CompassFloatItem.cpp:132
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: CompassFloatItem.cpp:52
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.