kpassivepopup.cpp
114 topLayout = new TQVBoxLayout( this, d->popupStyle == Balloon ? 22 : KDialog::marginHint(), KDialog::spacingHint() );
507KPassivePopup *KPassivePopup::message( const TQString &text, TQWidget *parent, const char *name )
524KPassivePopup *KPassivePopup::message( int popupStyle, const TQString &caption, const TQString &text,
537KPassivePopup *KPassivePopup::message( int popupStyle, const TQString &text, TQWidget *parent, const char *name )
542KPassivePopup *KPassivePopup::message( int popupStyle, const TQString &caption, const TQString &text,
548KPassivePopup *KPassivePopup::message( int popupStyle, const TQString &caption, const TQString &text,
static int marginHint()
Return the number of pixels you shall use between a dialog edge and the outermost widget(s) according...
Definition kdialog.cpp:104
static int spacingHint()
Return the number of pixels you shall use between widgets inside a dialog according to the KDE standa...
Definition kdialog.cpp:110
A dialog-like popup that displays messages without interupting the user.
Definition kpassivepopup.h:67
TQVBox * standardView(const TQString &caption, const TQString &text, const TQPixmap &icon, TQWidget *parent=0L)
Returns a widget that is used as standard view if one of the setView() methods taking the TQString ar...
Definition kpassivepopup.cpp:138
void moveNear(TQRect target)
Moves the popup to be adjacent to the icon of the specified rectangle.
Definition kpassivepopup.cpp:357
KPassivePopup(TQWidget *parent=0, const char *name=0, WFlags f=0)
Creates a popup for the specified widget.
Definition kpassivepopup.cpp:49
int timeout() const
Returns the delay before the popup is removed automatically.
Definition kpassivepopup.h:157
void setTimeout(int delay)
Sets the delay for the popup is removed automatically.
Definition kpassivepopup.cpp:223
void setView(TQWidget *child)
Sets the main view to be the specified widget (which must be a child of the popup).
Definition kpassivepopup.cpp:108
virtual void paintEvent(TQPaintEvent *pe)
Overwrite to paint the border when PopupStyle == Balloon.
Definition kpassivepopup.cpp:409
virtual void setAutoDelete(bool autoDelete)
Enables / disables auto-deletion of this widget when the timeout occurs.
Definition kpassivepopup.cpp:236
virtual void mouseReleaseEvent(TQMouseEvent *e)
Reimplemented to detect mouse clicks.
Definition kpassivepopup.cpp:241
TQRect defaultArea() const
If no relative window (eg taskbar button, system tray window) is available, use this rectangle (pass ...
Definition kpassivepopup.cpp:296
static KPassivePopup * message(const TQString &text, TQWidget *parent, const char *name=0)
Convenience method that displays popup with the specified message beside the icon of the specified wi...
Definition kpassivepopup.cpp:507
void setAnchor(const TQPoint &anchor)
Sets the anchor of this balloon.
Definition kpassivepopup.cpp:403
virtual void hideEvent(TQHideEvent *)
Reimplemented to destroy the object when autoDelete() is enabled.
Definition kpassivepopup.cpp:288
int x
int y
NETPoint pos
NETSize size
int height
int width