marble
FileViewFloatItem.cpp
Go to the documentation of this file.
101 path.addRoundedRect( QRectF( 0.0, 0.0, paintedSize.width() - 1, paintedSize.height() - 1 ), 6, 6 );
233 tr("All Supported Files (*.gpx *.kml *.pnt);;GPS Data (*.gpx);;Google Earth KML (*.kml);PNT Data (*.pnt)"));
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void paintContent(GeoPainter *painter, ViewportParams *viewport, const QString &renderPos, GeoSceneLayer *layer=0)
Definition: FileViewFloatItem.cpp:111
Type type() const
QRect toRect() const
bool end()
void setCursor(const QCursor &)
QString guiString() const
String that should be displayed in GUI.
Definition: FileViewFloatItem.cpp:59
A painter that allows to draw geometric primitives on the map.
Definition: GeoPainter.h:98
virtual void setModel(QAbstractItemModel *model)
QWidget * childAt(int x, int y) const
QSizeF size() const
void addRoundedRect(const QRectF &rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode)
virtual bool eventFilter(QObject *object, QEvent *e)
Definition: AbstractFloatItem.cpp:163
QWidget * viewport() const
typedef RenderFlags
virtual QPainterPath backgroundShape() const
Returns the shape of the background.
Definition: FileViewFloatItem.cpp:97
QString tr(const char *sourceText, const char *disambiguation, int n)
void update()
QString name() const
Returns the user-visible name of the plugin.
Definition: FileViewFloatItem.cpp:54
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
virtual bool event(QEvent *e)
void resize(int w, int h)
void addGeoDataFile(const QString &filename)
Handle file loading into the treeModel.
Definition: MarbleModel.cpp:725
bool eventFilter(QObject *object, QEvent *e)
Definition: FileViewFloatItem.cpp:130
void update(const QModelIndex &index)
QRectF paintedRect() const
Definition: FrameGraphicsItem.cpp:185
The abstract class for float item plugins.
Definition: AbstractFloatItem.h:45
QPointF topLeft() const
bool isEmpty() const
bool sendEvent(QObject *receiver, QEvent *event)
QStringList backendTypes() const
Returns the name(s) of the backend that the plugin can render This method should return the name of t...
Definition: FileViewFloatItem.cpp:49
QPaintDevice * device() const
virtual QVariant data(const QModelIndex &index, int role) const =0
QScrollBar * verticalScrollBar() const
A public class that controls what is visible in the viewport of a Marble map.
Definition: ViewportParams.h:44
QPointF positivePosition() const
Return the positive position of the ScreenGraphicsItem.
Definition: ScreenGraphicsItem.cpp:49
~FileViewFloatItem()
Definition: FileViewFloatItem.cpp:44
void setFixedSize(const QSize &s)
void setContextMenuPolicy(Qt::ContextMenuPolicy policy)
This file contains the headers for ViewportParams.
virtual QModelIndex indexAt(const QPoint &p) const
QPoint toPoint() const
FileViewFloatItem(const QPointF &point=QPointF(-1, 10), const QSizeF &size=QSizeF(110.0, 250.0))
Definition: FileViewFloatItem.cpp:34
QString description() const
Returns a user description of the plugin.
Definition: FileViewFloatItem.cpp:69
Provides a float item with a list of opened files.
Definition: FileViewFloatItem.h:31
QScrollBar * horizontalScrollBar() const
This file contains the headers for MarbleWidget.
bool contains(const QPointF &point) const
QString getOpenFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFlags< QFileDialog::Option > options)
void changeViewport(ViewportParams *viewport)
Definition: FileViewFloatItem.cpp:105
QAbstractItemModel * model() const
bool isInitialized() const
Definition: FileViewFloatItem.cpp:92
qreal height() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool begin(QPaintDevice *device)
void setResizeMode(ResizeMode mode)
QString toString() const
qreal width() const
void render(QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 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:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.