#include <itemdocument.h>
Collaboration diagram for Canvas:

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 | |
| ItemDocument * | p_itemDocument |
| QString | m_message |
| QTimer * | m_pMessageTimeout |
Definition at line 396 of file itemdocument.h.
| 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.
1.5.1