mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#define BLACKGUI_LOGCOMPONENT_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/loghistory.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
|
||||
#include <QFrame>
|
||||
@@ -94,24 +95,16 @@ namespace BlackGui
|
||||
//! Clear
|
||||
void clearMessages();
|
||||
|
||||
//! Append status message to console
|
||||
void appendStatusMessageToConsole(const BlackMisc::CStatusMessage &statusMessage);
|
||||
|
||||
//! Append plain text to console
|
||||
void appendPlainTextToConsole(const QString &text);
|
||||
|
||||
//! Append status message to list
|
||||
void appendStatusMessageToList(const BlackMisc::CStatusMessage &statusMessage);
|
||||
|
||||
//! Append status messages to list
|
||||
void appendStatusMessagesToList(const BlackMisc::CStatusMessageList &statusMessages);
|
||||
|
||||
signals:
|
||||
//! Make me visible
|
||||
void requestAttention();
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CLogComponent> ui;
|
||||
BlackMisc::CLogHistoryReplica m_history;
|
||||
|
||||
//! Status messages changed
|
||||
void onStatusMessageDataChanged(int count, bool withFilter);
|
||||
|
||||
Reference in New Issue
Block a user