KWidgetsAddons
ktooltipwidget.cpp
219 QObject::disconnect(windowHandle()->transientParent(), &QWindow::activeChanged, this, &QWidget::hide);
void hideLater()
Hide the tooltip after a delay of hideDelay() ms (to allow interaction with the tooltip's widget).
Definition ktooltipwidget.cpp:187
void hidden()
The tooltip has been hidden and the tooltip's widget is no longer visible.
void showAt(const QPoint &pos, QWidget *content, QWindow *transientParent)
Show a tooltip containing content.
Definition ktooltipwidget.cpp:164
void showBelow(const QRect &rect, QWidget *content, QWindow *transientParent)
Show a tooltip containing content centered below rect.
Definition ktooltipwidget.cpp:170
void setHideDelay(int delay)
Set after how many ms hideLater() will hide the tooltip.
Definition ktooltipwidget.cpp:200
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
QMargins contentsMargins() const const
void removeWidget(QWidget *widget)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void destroyed(QObject *obj)
bool disconnect(const QMetaObject::Connection &connection)
QObject * parent() const const
bool setProperty(const char *name, QVariant &&value)
bool isNull() const const
int x() const const
int bottom() const const
QPoint center() const const
int left() const const
int right() const const
int top() const const
geometry
int height() const const
QSize shrunkBy(QMargins margins) const const
int width() const const
PM_ToolTipLabelFrameWidth
PE_PanelTipLabel
virtual int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const const=0
void initFrom(const QWidget *widget)
WA_TranslucentBackground
ToolTip
void setInterval(int msec)
void setSingleShot(bool singleShot)
void timeout()
virtual bool event(QEvent *event) override
void hide()
QLayout * layout() const const
void setMaximumSize(const QSize &)
virtual void paintEvent(QPaintEvent *event)
void move(const QPoint &)
rect
void setAttribute(Qt::WidgetAttribute attribute, bool on)
void setParent(QWidget *parent)
void show()
sizeHint
QStyle * style() const const
bool isVisible() const const
void setWindowFlags(Qt::WindowFlags type)
QWindow * windowHandle() const const
void activeChanged()
QScreen * screen() const const
void setTransientParent(QWindow *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:49:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 1 2024 18:49:18 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.