Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMailMessageDelegate class provides a visual representation of a message suitable for display in a list of messages. More...
#include <QMailMessageDelegate>
This class is under development and is subject to change.
Inherits QtopiaItemDelegate.
The QMailMessageDelegate class provides a visual representation of a message suitable for display in a list of messages.
The QMailMessageDelegate provides a common visual representation of a message suitable for display in a list of messages. This class inherits from QAbstractItemDelegate and is designed to be used in conjunction with the Qt view classes such as QListView.
QMailMessageDelegate supports more than one painting mode used to display message elements in different configurations.
See also QListView and QAbstractItemDelegate.
Represents the display modes of the delegate. The DisplayMode represents different message painting configurations of the delegate.
Constant | Value | Description |
---|---|---|
QMailMessageDelegate::AddressbookMode | 1 | The message entry is painted in the style used by the Addressbook application. The message entry is painted with an icon representing the message direction, the text of the message address, the message type icon and the text of the message subject underneath. |
QMailMessageDelegate::QtmailMode | 0 | The message entry is painted in the style used by the Qt Extended messaging application. The message entry is painted with an icon representing the message status, the message type icon, the text of the message address and the text of the message subject underneath. |
Creates a QMailMessageDelegate with parent parent that paints the contents of a message in the DisplayMode mode.
Deletes the QMailMessageDelegate.
Returns the display mode the delegate is painting in.
See also setDisplayMode().
Returns true if the delegate is displaying the selection state of messages.
See also setDisplaySelectionState().
Sets the display mode the delegate is painting to mode.
See also displayMode().
Sets the delegate to display message selection states if set is true.
See also displaySelectionState().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |