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 );
134 void setView(
const QString &caption,
const QString &text = QString() );
139 virtual void setView(
const QString &caption,
const QString &text,
const QPixmap &icon );
161 KVBox * standardView(
const QString& caption,
const QString& text,
162 const QPixmap& icon,
QWidget *parent = 0L );
180 virtual void setAutoDelete(
bool autoDelete );
186 bool autoDelete()
const;
196 QRect defaultArea()
const;
201 QPoint anchor()
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 );
401 QPoint calculateNearbyPoint(
const QRect &target);
406 virtual void mouseReleaseEvent( QMouseEvent *e );
417 virtual void paintEvent( QPaintEvent* pe );
420 void init( WId window );
427 #endif // KPASSIVEPOPUP_H void message(KMessage::MessageType messageType, const QString &text, const QString &caption=QString())
A container widget which arranges its children vertically.
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Mon May 15 2017 14:46:05 by
doxygen 1.8.13 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.