22 #ifndef QTPDCOM_MESSAGE_MODEL_IMPL 23 #define QTPDCOM_MESSAGE_MODEL_IMPL 28 #include <pdcom5/MessageManagerBase.h> 59 static QString
wrapText(
const QString &,
unsigned int = 78);
QList< PdCom::Message > resetMessagesList
list of history messages that were reset
Definition: MessageModelImpl.h:98
QList< MessageItem * > MessageItemList
Definition: MessageModelImpl.h:69
List of Messages.
Definition: MessageModel.h:42
QHash< Message::Type, QIcon > IconHash
Icon hash type.
Definition: MessageModelImpl.h:72
MessageModel *const parent
Definition: MessageModelImpl.h:62
Process * process
Definition: MessageModelImpl.h:100
Impl(MessageModel *)
Constructor.
Definition: MessageModelImpl.cpp:36
uint32_t historicSeqNo
Definition: MessageModelImpl.h:87
MessageManager * messageManager
Definition: MessageModelImpl.h:84
PdCom::Process implementation for Qt.
Definition: Process.h:70
QMap< QString, MessageHash > MessageMap
Definition: MessageModelImpl.h:66
MessageMap messageMap
Definition: MessageModelImpl.h:67
void stateChanged()
Reacts on process values changes of all messages to watch.
Definition: MessageModelImpl.cpp:329
MessageItemList messageItemList
Definition: MessageModelImpl.h:70
Definition: BroadcastModel.h:32
bool(* lessThan)(const MessageItem *, const MessageItem *)
Definition: MessageModelImpl.h:95
MessageItem * announcedMessageItem
Recently announced message.
Definition: MessageModelImpl.h:82
static QString wrapText(const QString &, unsigned int=78)
Returns a wrapped version of a string.
Definition: MessageModelImpl.cpp:221
void announce()
Announce next best message as current message.
Definition: MessageModelImpl.cpp:275
void addProcessMessage(const PdCom::Message &)
Called from the PdCom interface, if a new message appears via processMessage() or in context of activ...
Definition: MessageModelImpl.cpp:112
Definition: MessageItem.h:37
Process message.
Definition: Message.h:37
bool canFetchMore
Definition: MessageModelImpl.h:86
void getHistoryMessage()
Spin up a FutureWatcher and connect its signals.
Definition: MessageModelImpl.cpp:248
int rowLimit
Definition: MessageModelImpl.h:85
void processMessage(PdCom::Message message)
Definition: MessageModelImpl.cpp:385
QString lang
Definition: MessageModelImpl.h:83
QHash< Message::Type, QString > IconPathHash
Icon hash type (with path).
Definition: MessageModelImpl.h:78
IconHash iconHash
Icons for message types.
Definition: MessageModelImpl.h:74
~Impl()
Destructor.
Definition: MessageModelImpl.cpp:50
Definition: MessageManager.h:66
void activeMessagesReply(std::vector< PdCom::Message >)
Definition: MessageModelImpl.cpp:465
void processReset()
Definition: MessageModelImpl.cpp:504
void addHistoricMessage(const PdCom::Message &, const PdCom::Message &)
Called from the PdCom interface, if a historic message appears via getMessageReply().
Definition: MessageModelImpl.cpp:196
Definition: MessageModelImpl.h:41
void getMessageReply(PdCom::Message message)
Definition: MessageModelImpl.cpp:401
IconPathHash iconPathHash
Icons for message types (with path).
Definition: MessageModelImpl.h:80
void insertItem(MessageItem *)
Insert a message item.
Definition: MessageModelImpl.cpp:57
void reloadActiveMessages()
Definition: MessageModelImpl.cpp:544
QHash< int, Message * > MessageHash
Definition: MessageModelImpl.h:65