12#include "ui_logcomponent.h"
17#include "gui/menus/menuaction.h"
28using namespace swift::gui::menus;
36 Q_ASSERT_X(c, Q_FUNC_INFO,
"Custom menu");
53 [
this](
const CStatusMessage &message) { ui->comp_StatusMessages->appendStatusMessageToList(message); });
55 ui->comp_StatusMessages->appendStatusMessagesToList(messages);
59 m_history.setFilter(filter.value<CLogPattern>());
62 m_history.initialize(sApp->getDataLinkDBus());
77 ui->comp_StatusMessages->filterUseRadioButtonDescriptiveIcons(oneLetterText);
94 ui->comp_StatusMessages->setSorting(propertyIndex, order);
CConsoleTextEdit(QWidget *parent=nullptr)
Constructor.
void customMenuRequested(const QPoint &pos)
Custom menu.
void displayLog(bool attention=false)
Display log.
void filterUseRadioButtonDescriptiveIcons(bool oneLetterText)
Use icons with radio buttons.
void showDetails(bool details)
Show log details.
void setNoSorting()
Disable sorting.
void setSorting(const swift::misc::CPropertyIndex &propertyIndex, Qt::SortOrder order)
Sorting for view.
~CLogComponent()
Destructor.
void requestAttention()
Make me visible.
void setMaxLogMessages(int max)
Set max.log messages.
void showFilterBar()
Show a filter bar.
void hideFilterBar()
Hide a filter bar.
void clearMessages()
Clear.
CLogComponent(QWidget *parent=nullptr)
Constructor.
void showFilterDialog()
Show filter dialog and disable bar.
void filterChanged(const swift::misc::CVariant &filter)
The user changed their message filter.
static const QPixmap & delete16()
Delete.
void elementAdded(const swift::misc::CStatusMessage &msg)
Signal emitted for each new log message.
void elementsReplaced(const swift::misc::CStatusMessageList &msgs)
Signal emitted when the whole history is updated wholesale.
Value class for matching log messages based on their categories.
Streamable status message, e.g.
static constexpr auto SeverityInfo
Status severities.
Status messages, e.g. from Core -> GUI.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
Backend services of the swift project, like dealing with the network or the simulators.
High level reusable GUI components.
Views, mainly QTableView.
Free functions in swift::misc.
QFrame(QWidget *parent, Qt::WindowFlags f)
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
QObject * parent() const const
QPlainTextEdit(QWidget *parent)
QMenu * createStandardContextMenu()