KDEUI
Go to the documentation of this file.
22 #ifndef KPASSIVEPOPUP_H
23 #define KPASSIVEPOPUP_H
27 #include <QtGui/QFrame>
82 Q_PROPERTY (
bool autoDelete READ autoDelete WRITE setAutoDelete )
83 Q_PROPERTY (
int timeout READ timeout WRITE setTimeout )
84 Q_PROPERTY (
QRect defaultArea READ defaultArea )
107 #if 0 // These break macos and win32 where the definition of WId makes them ambiguous
112 explicit KPassivePopup(
int popupStyle,
QWidget *parent=0, Qt::WindowFlags f=0 ) KDE_DEPRECATED;
118 KPassivePopup(
int popupStyle, WId parent, Qt::WindowFlags f=0 ) KDE_DEPRECATED;
129 void setView(
QWidget *child );
139 virtual void setView(
const QString &caption,
const QString &text,
const QPixmap &icon );
162 const QPixmap& icon,
QWidget *parent = 0L );
180 virtual void setAutoDelete(
bool autoDelete );
186 bool autoDelete()
const;
196 QRect defaultArea()
const;
207 void setAnchor(
const QPoint& anchor );
254 QWidget *parent,
int timeout = -1 );
274 WId parent,
int timeout = -1 );
318 QWidget *parent,
int timeout = -1 );
338 WId parent,
int timeout = -1 );
350 void setTimeout(
int delay );
356 void setPopupStyle(
int popupstyle );
366 void show(
const QPoint &p);
368 virtual void setVisible(
bool visible);
379 void clicked(
const QPoint &pos );
385 virtual void positionSelf();
391 virtual void hideEvent( QHideEvent * );
396 void moveNear(
const QRect &target );
406 virtual void mouseReleaseEvent( QMouseEvent *e );
417 virtual void paintEvent( QPaintEvent* pe );
420 void init( WId window );
427 #endif // KPASSIVEPOPUP_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon May 5 2014 18:10:31 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.