Logo Search packages:      
Sourcecode: qterm version File versions  Download package

QTerm::PopupMessage Class Reference

#include <popupMessage.h>

Inheritance diagram for QTerm::PopupMessage:

List of all members.


Detailed Description

Widget that animates itself into a position relative to an anchor widget.

Definition at line 40 of file popupMessage.h.


Public Types

enum  MaskEffect { Plain, Slide, Dissolve }

Public Slots

void close ()
void display ()

Public Member Functions

void addWidget (QWidget *widget)
 PopupMessage (QWidget *parent, QWidget *anchor, int timeout=5000, const char *name=0)
virtual void reposition ()
void setImage (const QString &location)
void setMaskEffect (const MaskEffect type)
void setText (const QString &text)
void setTimeout (const int time)
void showCloseButton (const bool show)
void showCounter (const bool show)

Protected Member Functions

void countDown ()
void dissolveMask ()
 Gradually show widget by dissolving from background.
virtual bool event (QEvent *)
virtual bool eventFilter (QObject *, QEvent *)
void plainMask ()
 instantly display widget
virtual void resizeEvent (QResizeEvent *)
void slideMask ()
 animation to slide the widget into view
void timerEvent (QTimerEvent *)

Private Attributes

QWidget * m_anchor
QFrame * m_countdownFrame
int m_counter
int m_dissolveDelta
int m_dissolveSize
QVBoxLayout * m_layout
QBitmap m_mask
MaskEffect m_maskEffect
int m_offset
QWidget * m_parent
bool m_showCounter
int m_stage
int m_timeout
int m_timerId

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index