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 )
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 );
234 static KPassivePopup *message(
const QString &caption,
const QString &text,
243 static KPassivePopup *message(
const QString &caption,
const QString &text,
252 static KPassivePopup *message(
const QString &caption,
const QString &text,
254 QWidget *parent,
int timeout = -1 );
262 static KPassivePopup *message(
const QString &caption,
const QString &text,
272 static KPassivePopup *message(
const QString &caption,
const QString &text,
274 WId parent,
int timeout = -1 );
298 static KPassivePopup *message(
int popupStyle,
const QString &caption,
const QString &text,
307 static KPassivePopup *message(
int popupStyle,
const QString &caption,
const QString &text,
316 static KPassivePopup *message(
int popupStyle,
const QString &caption,
const QString &text,
318 QWidget *parent,
int timeout = -1 );
326 static KPassivePopup *message(
int popupStyle,
const QString &caption,
const QString &text,
336 static KPassivePopup *message(
int popupStyle,
const QString &caption,
const QString &text,
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);
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 );
A container widget which arranges its children vertically.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.11.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.