Canvas Class Reference

#include <itemdocument.h>

Collaboration diagram for Canvas:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotSetAllChanged ()

Public Member Functions

 Canvas (ItemDocument *itemDocument, const char *name=0)
void setMessage (const QString &message)
virtual void update ()

Protected Member Functions

virtual void drawBackground (QPainter &painter, const QRect &clip)
virtual void drawForeground (QPainter &painter, const QRect &clip)

Protected Attributes

ItemDocumentp_itemDocument
QString m_message
QTimer * m_pMessageTimeout

Detailed Description

Author:
David Saxton

Definition at line 396 of file itemdocument.h.


Member Function Documentation

void Canvas::setMessage ( const QString &  message  ) 

Sets a message to be displayed on the canvas for a brief period of time. If this is called with an empty message, then any existing message will be removed.

Definition at line 1103 of file itemdocument.cpp.

References m_message, and m_pMessageTimeout.


The documentation for this class was generated from the following files:
Generated on Tue May 8 17:05:34 2007 for KTechLab by  doxygen 1.5.1