mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 21:56:43 +08:00
refs #562, allow to validate models
* GUI part * allow to merge a list of messages into one * validation function
This commit is contained in:
@@ -130,6 +130,18 @@ namespace BlackMisc
|
||||
return patternNames;
|
||||
}
|
||||
|
||||
void CStatusMessage::prependMessage(const QString &msg)
|
||||
{
|
||||
if (msg.isEmpty()) { return; }
|
||||
this->m_message = msg + this->m_message;
|
||||
}
|
||||
|
||||
void CStatusMessage::appendMessage(const QString &msg)
|
||||
{
|
||||
if (msg.isEmpty()) { return; }
|
||||
this->m_message += msg;
|
||||
}
|
||||
|
||||
void CStatusMessage::markAsHandledBy(const QObject *object) const
|
||||
{
|
||||
this->m_handledByObjects.push_back(quintptr(object));
|
||||
|
||||
Reference in New Issue
Block a user