Process message.
More...
#include <Message.h>
◆ Type
Message type.
| Enumerator |
|---|
| Information | Non-critical information.
|
| Warning | Warning, that does not influence the process flow.
|
| Error | Error, that influences the process flow.
|
| Critical | Critical error, that makes the process unable to run.
|
◆ Message()
| QtPdCom::Message::Message |
( |
QObject * | parent = nullptr | ) |
|
◆ ~Message()
| QtPdCom::Message::~Message |
( |
| ) |
|
◆ getDescription()
| QString QtPdCom::Message::getDescription |
( |
const QString & | lang = QString() | ) |
const |
◆ getIndex()
| int QtPdCom::Message::getIndex |
( |
| ) |
const |
◆ getPath()
| const QString & QtPdCom::Message::getPath |
( |
| ) |
const |
◆ getText()
| QString QtPdCom::Message::getText |
( |
const QString & | lang = QString() | ) |
const |
- Returns
- The message text. If the text is not available in the desired language, the default text (empty language) will be returned. If that is also not available, display the message path.
References impl.
Referenced by Q_ENUM(), and QtPdCom::QmlMessage::setMessage().
◆ getTime()
| double QtPdCom::Message::getTime |
( |
| ) |
const |
◆ getTimeString()
| QString QtPdCom::Message::getTimeString |
( |
| ) |
const |
Returns the message time as a string.
References impl.
Referenced by Q_ENUM().
◆ getType()
◆ isActive()
| bool QtPdCom::Message::isActive |
( |
| ) |
const |
◆ Q_ENUM()
| QtPdCom::Message::Q_ENUM |
( |
Type | | ) |
|
◆ stateChanged
| void QtPdCom::Message::stateChanged |
( |
| ) |
|
|
signal |
◆ MessageModel
◆ Impl
| class Q_DECL_HIDDEN QtPdCom::Message::Impl |
|
private |
◆ impl
| std::unique_ptr<Impl> QtPdCom::Message::impl |
|
private |
Referenced by QtPdCom::MessageModel::Impl::addHistoricMessage(), QtPdCom::MessageModel::Impl::addProcessMessage(), QtPdCom::MessageModel::connect(), getDescription(), getIndex(), getPath(), getText(), getTime(), getTimeString(), getType(), isActive(), QtPdCom::MessageModel::load(), Message(), and QtPdCom::MessageModel::Impl::stateChanged().
The documentation for this class was generated from the following files: