|
QtPdCom
1.5.2
|
#include <MessageModelImpl.h>


Classes | |
| struct | MessageItem |
Public Member Functions | |
| Impl (MessageModel *) | |
| Constructor. | |
| ~Impl () | |
| Destructor. | |
| void | insertItem (MessageItem *) |
| Insert a message item. | |
| void | addProcessMessage (const PdCom::Message &) |
| Called from the PdCom interface, if a new message appears via processMessage() or in context of activeMessagesReply(). | |
| void | addHistoricMessage (const PdCom::Message &, const PdCom::Message &) |
| Called from the PdCom interface, if a historic message appears via getMessageReply(). | |
Static Public Member Functions | |
| static QString | wrapText (const QString &, unsigned int=78) |
| Returns a wrapped version of a string. | |
Private Types | |
| typedef QHash< int, Message * > | MessageHash |
| typedef QMap< QString, MessageHash > | MessageMap |
| typedef QList< MessageItem * > | MessageItemList |
| typedef QHash< Message::Type, QIcon > | IconHash |
| Icon hash type. | |
| typedef QHash< Message::Type, QString > | IconPathHash |
| Icon hash type (with path). | |
Private Slots | |
| void | stateChanged () |
| Reacts on process values changes of all messages to watch. | |
| void | processMessage (PdCom::Message message) |
| void | getMessageReply (PdCom::Message message) |
| void | activeMessagesReply (std::vector< PdCom::Message >) |
| void | processReset () |
| void | reloadActiveMessages () |
Private Member Functions | |
| void | getHistoryMessage () |
| Spin up a FutureWatcher and connect its signals. | |
| void | announce () |
| Announce next best message as current message. | |
Private Attributes | |
| MessageModel *const | parent |
| MessageMap | messageMap |
| MessageItemList | messageItemList |
| IconHash | iconHash |
| Icons for message types. | |
| IconPathHash | iconPathHash |
| Icons for message types (with path). | |
| MessageItem * | announcedMessageItem |
| Recently announced message. | |
| QString | lang |
| MessageManager * | messageManager |
| int | rowLimit |
| bool | canFetchMore |
| uint32_t | historicSeqNo |
| bool(* | lessThan )(const MessageItem *, const MessageItem *) |
| QList< PdCom::Message > | resetMessagesList |
| list of history messages that were reset | |
| Process * | process = nullptr |
Friends | |
| class | MessageModel |
| class | Message |
|
private |
Icon hash type.
|
private |
Icon hash type (with path).
|
private |
|
private |
|
private |
| MessageModel::Impl::Impl | ( | MessageModel * | model | ) |
Constructor.
Destructor.
|
privateslot |
| void MessageModel::Impl::addHistoricMessage | ( | const PdCom::Message & | pdComMsg, |
| const PdCom::Message & | resetMsg ) |
Called from the PdCom interface, if a historic message appears via getMessageReply().
| void MessageModel::Impl::addProcessMessage | ( | const PdCom::Message & | pdComMsg | ) |
Called from the PdCom interface, if a new message appears via processMessage() or in context of activeMessagesReply().
|
private |
Announce next best message as current message.
|
private |
Spin up a FutureWatcher and connect its signals.
|
privateslot |
| void MessageModel::Impl::insertItem | ( | MessageItem * | msgItem | ) |
Insert a message item.
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
Reacts on process values changes of all messages to watch.
|
static |
Returns a wrapped version of a string.
|
friend |
|
friend |
Recently announced message.
|
private |
|
private |
Icons for message types.
Icons for message types (with path).
|
private |
|
private |
|
private |
|
private |
|
private |
list of history messages that were reset
|
private |