marble
PopupItem.cpp
Go to the documentation of this file.
357 bool const previousIsHtml = !m_content.isEmpty() && m_ui.webView->history()->currentItemIndex() == 1;
360 m_ui.goBackButton->setVisible( hasHistory && !currentIsHtml && ( previousIsHtml || !atStart ) );
QObject * child(const char *objName, const char *inheritsClass, bool recursiveSearch) const
void setBrush(ColorRole role, const QBrush &brush)
Type type() const
int width() const
void setCursor(const QCursor &)
Base class for all 2D labels (a.k.a.
Definition: BillboardGraphicsItem.h:32
void setColor(ColorGroup group, ColorRole role, const QColor &color)
void remove(const QString &key)
void repaintNeeded()
QList< QPointF > positions() const
Returns the absolute screen positions of the item.
Definition: BillboardGraphicsItem.cpp:103
int depth() const
QWidget * childAt(int x, int y) const
void setAttribute(Qt::WidgetAttribute attribute, bool on)
QPixmap fromImage(const QImage &image, QFlags< Qt::ImageConversionFlag > flags)
int height() const
void setPrintButtonVisible(bool display)
Sets visibility of the print button.
Definition: PopupItem.cpp:87
A widget class that displays a view of the earth.
Definition: MarbleWidget.h:104
virtual bool event(QEvent *e)
void clear()
int red() const
int width() const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
bool isEmpty() const
bool sendEvent(QObject *receiver, QEvent *event)
pos
virtual bool eventFilter(QObject *, QEvent *e)
Definition: PopupItem.cpp:226
Qt::Alignment alignment() const
Definition: BillboardGraphicsItem.cpp:128
int green() const
void setFixedSize(const QSize &s)
void hide()
int height() const
void setBackgroundColor(const QColor &color)
Sets background color of the bubble.
Definition: PopupItem.cpp:127
int blue() const
int width() const
void setCacheMode(CacheMode mode)
Set the cache mode of the item.
Definition: MarbleGraphicsItem.cpp:159
void setRect(int x, int y, int width, int height)
void setVisible(bool visible)
Makes the item visible or invisible, depending on visible.
Definition: MarbleGraphicsItem.cpp:182
QPixmap * find(const QString &key)
uchar * bits()
This file contains the headers for MarbleWidget.
int height() const
bool contains(const QPointF &point) const
void setContent(const QString &html, const QUrl &baseUrl=QUrl())
Set content of the popup.
Definition: PopupItem.cpp:106
const_iterator constEnd() const
const_iterator constBegin() const
qreal height() const
bool insert(const QString &key, const QPixmap &pixmap)
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual bool eventFilter(QObject *object, QEvent *e)
Definition: MarbleGraphicsItem.cpp:225
qreal width() const
void render(QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
bool isValid() const
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.