Marble
PopupItem.cpp
66 m_ui.webView->page()->settings()->setAttribute(QWebEngineSettings::LocalContentCanAccessFileUrls, true);
75 connect(m_ui.webView->page(), SIGNAL(titleChanged(QString)), m_ui.titleText, SLOT(setText(QString)));
156 data[i] = qRgba(col.red() * val / 255, col.green() * val / 255, col.blue() * val / 255, qAlpha(data[i]));
166 popupRect.setRect(image.width() - 13, -10, size().width() - (image.width() - 3), size().height());
167 qDrawBorderPixmap(painter, popupRect, QMargins(20, 20, 20, 20), pixmap(QStringLiteral("marble/webpopup/webpopup2")));
181 qDrawBorderPixmap(painter, popupRect, QMargins(20, 20, 20, 20), pixmap(QStringLiteral("marble/webpopup/webpopup2")));
190 painter->drawPixmap(size().width() - image.width(), size().height() / 2 - image.height() / 2 + 23, image);
197 qDrawBorderPixmap(painter, popupRect, QMargins(20, 20, 20, 20), pixmap(QStringLiteral("marble/webpopup/webpopup2")));
198 painter->drawPixmap(size().width() / 2 - image.width(), size().height() - image.height(), image);
202 popupRect.setRect(-10, image.height() - 13, size().width(), size().height() - image.height() + 3);
203 qDrawBorderPixmap(painter, popupRect, QMargins(20, 20, 20, 20), pixmap(QStringLiteral("marble/webpopup/webpopup2")));
208 qDrawBorderPixmap(painter, popupRect, QMargins(20, 20, 20, 20), pixmap(QStringLiteral("marble/webpopup/webpopup2")));
232 if (e->type() == QEvent::MouseButtonDblClick || e->type() == QEvent::MouseMove || e->type() == QEvent::MouseButtonPress
248 QMouseEvent shiftedEvent = QMouseEvent(e->type(), shiftedPos, event->globalPos(), event->button(), event->buttons(), event->modifiers());
348 bool const previousIsHtml = !m_content.isEmpty() && m_ui.webView->page()->history()->currentItemIndex() == 1;
This file contains the headers for MarbleWidget.
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
void update(Part *part, const QByteArray &data, qint64 dataSize)
KDOCTOOLS_EXPORT QString transform(const QString &file, const QString &stylesheet, const QList< const char * > ¶ms=QList< const char * >())
Binds a QML item to a specific geodetic location in screen coordinates.
Definition AbstractDataPlugin.cpp:23
void clicked(bool checked)
int blue() const const
int green() const const
bool isValid() const const
int red() const const
bool sendEvent(QObject *receiver, QEvent *event)
bool openUrl(const QUrl &url)
Accepted
ContextMenu
Type type() const const
uchar * bits()
int depth() const const
int height() const const
int width() const const
const_iterator constBegin() const const
const_iterator constEnd() const const
void drawImage(const QPoint &point, const QImage &image)
void drawPixmap(const QPoint &point, const QPixmap &pixmap)
Base
void setBrush(ColorGroup group, ColorRole role, const QBrush &brush)
void setColor(ColorGroup group, ColorRole role, const QColor &color)
QPixmap fromImage(QImage &&image, Qt::ImageConversionFlags flags)
int height() const const
int width() const const
bool find(const Key &key, QPixmap *pixmap)
Key insert(const QPixmap &pixmap)
void remove(const Key &key)
int height() const const
void setRect(int x, int y, int width, int height)
int width() const const
AlignRight
black
NoScrollPhase
WA_DontShowOnScreen
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
QWidget * childAt(const QPoint &p) const const
cursor
pos
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:37:03 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.