marble
ProgressFloatItem.cpp
Go to the documentation of this file.
132 connect( manager, SIGNAL(progressChanged(int,int)), this, SLOT(handleProgress(int,int)) , Qt::UniqueConnection );
133 connect( manager, SIGNAL(jobRemoved()), this, SLOT(removeProgressItem()), Qt::UniqueConnection );
void addEllipse(const QRectF &boundingRectangle)
QString guiString() const
String that should be displayed in GUI.
Definition: ProgressFloatItem.cpp:91
void setInterval(int msec)
void setPointSize(int pointSize)
void setRenderHint(RenderHint hint, bool on)
void repaintNeeded(QRegion dirtyRegion=QRegion())
This signal is emitted if an update of the view is needed.
A float item that shows a pie-chart progress indicator when downloads are active. ...
Definition: ProgressFloatItem.h:27
QPainterPath backgroundShape() const
Returns the shape of the background.
Definition: ProgressFloatItem.cpp:153
This file contains the headers for MarbleModel.
QString description() const
Returns a user description of the plugin.
Definition: ProgressFloatItem.cpp:106
Definition: PluginInterface.h:28
void save()
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
QString copyrightYears() const
Definition: ProgressFloatItem.cpp:111
void unlock()
void addText(const QPointF &point, const QFont &font, const QString &text)
~ProgressFloatItem()
Definition: ProgressFloatItem.cpp:76
QString tr(const char *sourceText, const char *disambiguation, int n)
void adjust(qreal dx1, qreal dy1, qreal dx2, qreal dy2)
QRect boundingRect(QChar ch) const
void setFont(const QFont &font)
QString number(int n, int base)
QString fromUtf8(const char *str, int size)
void fill(uint pixelValue)
void setPen(const QColor &color)
void drawEllipse(const QRectF &rectangle)
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: ProgressFloatItem.cpp:81
The abstract class for float item plugins.
Definition: AbstractFloatItem.h:45
QRectF contentRect() const
Returns the rect of the content in item coordinates.
Definition: FrameGraphicsItem.cpp:167
void setBrush(const QBrush &brush)
void lock()
ProgressFloatItem(const MarbleModel *marbleModel=0)
Definition: ProgressFloatItem.cpp:30
This file contains the headers for ViewportParams.
void stop()
void drawPie(const QRectF &rectangle, int startAngle, int spanAngle)
void restore()
void paintContent(QPainter *painter)
Here the items paint their content.
Definition: ProgressFloatItem.cpp:168
The data model (not based on QAbstractModel) for a MarbleWidget.
Definition: MarbleModel.h:97
int width() const
qreal width() const
void drawPath(const QPainterPath &path)
QList< PluginAuthor > pluginAuthors() const
Definition: ProgressFloatItem.cpp:116
This file contains the headers for MarbleWidget.
void start(int msec)
qreal height() const
QString name() const
Returns the user-visible name of the plugin.
Definition: ProgressFloatItem.cpp:86
HttpDownloadManager * downloadManager()
Return the downloadmanager to load missing tiles.
Definition: MarbleModel.cpp:466
bool isActive() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
int pointSize() const
bool isInitialized() const
Definition: ProgressFloatItem.cpp:148
This class manages scheduled downloads.
Definition: HttpDownloadManager.h:44
void setSingleShot(bool singleShot)
void setVisible(bool visible)
Set visibility of the float item.
Definition: AbstractFloatItem.cpp:130
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.