mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
refs #452 details textbox for logs
* details can be displayed en detail * feature can be switched on/off via context menu * signals in view to select message
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6ca0d480d3
commit
25471730e3
@@ -15,7 +15,7 @@
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "enableforruntime.h"
|
||||
#include "blackmisc/statusmessagelist.h"
|
||||
|
||||
#include "blackgui/menudelegate.h"
|
||||
#include <QFrame>
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -25,7 +25,6 @@ namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
{
|
||||
|
||||
//! GUI displaying log and status messages
|
||||
class BLACKGUI_EXPORT CLogComponent :
|
||||
public QFrame,
|
||||
@@ -52,7 +51,19 @@ namespace BlackGui
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CLogComponent> ui;
|
||||
|
||||
//! Custom menu for the log component
|
||||
class CLogMenu : public BlackGui::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
//! Constructor
|
||||
CLogMenu(CLogComponent *parent) : IMenuDelegate(parent) {}
|
||||
|
||||
//! \copydoc IMenuDelegate::customMenu
|
||||
virtual void customMenu(QMenu &menu) const override;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
} // ns
|
||||
} // ns
|
||||
#endif // guard
|
||||
|
||||
Reference in New Issue
Block a user