mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 15:15:50 +08:00
refs #506, using filters in view/logcomponet
This commit is contained in:
committed by
Mathew Sutcliffe
parent
67216876f1
commit
63dab2dd28
@@ -28,11 +28,9 @@ class QPoint;
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CLogComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Menus { class CMenuActions; }
|
||||
|
||||
namespace Components
|
||||
{
|
||||
//! Text edit for our log component
|
||||
@@ -60,7 +58,7 @@ namespace BlackGui
|
||||
explicit CLogComponent(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CLogComponent();
|
||||
virtual ~CLogComponent();
|
||||
|
||||
//! Display log
|
||||
void displayLog(bool attention = false);
|
||||
@@ -94,6 +92,9 @@ namespace BlackGui
|
||||
private:
|
||||
QScopedPointer<Ui::CLogComponent> ui;
|
||||
|
||||
//! Status messages changed
|
||||
void onStatusMessageDataChanged(int count, bool withFilter);
|
||||
|
||||
//! Custom menu for the log component
|
||||
class CLogMenu : public BlackGui::Menus::IMenuDelegate
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user