KDEUI
kpassivepopup.h
Go to the documentation of this file.
112 explicit KPassivePopup( int popupStyle, QWidget *parent=0, Qt::WindowFlags f=0 ) KDE_DEPRECATED;
A dialog-like popup that displays messages without interrupting the user.
Definition kpassivepopup.h:80
void moveNear(const QRect &target)
Moves the popup to be adjacent to the icon of the specified rectangle.
Definition kpassivepopup.cpp:376
void setTimeout(int delay)
Sets the delay for the popup is removed automatically.
Definition kpassivepopup.cpp:240
QPoint calculateNearbyPoint(const QRect &target)
Calculates the position to place the popup near the specified rectangle.
Definition kpassivepopup.cpp:385
virtual void paintEvent(QPaintEvent *pe)
Overwrite to paint the border when PopupStyle == Balloon.
Definition kpassivepopup.cpp:438
virtual void hideEvent(QHideEvent *)
Reimplemented to destroy the object when autoDelete() is enabled.
Definition kpassivepopup.cpp:314
virtual void setAutoDelete(bool autoDelete)
Enables / disables auto-deletion of this widget when the timeout occurs.
Definition kpassivepopup.cpp:258
KPassivePopup(QWidget *parent=0, Qt::WindowFlags f=0)
Creates a popup for the specified widget.
Definition kpassivepopup.cpp:86
virtual void mouseReleaseEvent(QMouseEvent *e)
Reimplemented to detect mouse clicks.
Definition kpassivepopup.cpp:263
int timeout
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.