31 #ifndef SWRI_CONSOLE_CONSOLE_WINDOW_H_ 32 #define SWRI_CONSOLE_CONSOLE_WINDOW_H_ 34 #include <QtWidgets/QMainWindow> 36 #include <QPushButton> 38 #include "ui_console_window.h" 45 class LogDatabaseProxyModel;
86 void setFont(
const QFont &font);
104 template <
typename T>
107 bool val = settings.value(key, element->isChecked()).toBool();
108 if (val != element->isChecked()) {
109 element->setChecked(val);
116 Ui::ConsoleWindow
ui;
124 #endif // SWRI_CONSOLE_CONSOLE_WINDOW_H_
void showLogContextMenu(const QPoint &point)
void nodeSelectionChanged()
ConsoleWindow(LogDatabase *db)
void toggleAlternateRowColors(bool)
NodeListModel * node_list_model_
void closeEvent(QCloseEvent *event)
QColor getButtonColor(const QPushButton *button) const
LogDatabaseProxyModel * db_proxy_
void loadColorButtonSetting(const QString &key, QPushButton *button)
void setFollowNewest(bool)
void updateExcludeLabel()
void loadBooleanSetting(const QString &key, T *element)
void updateButtonColor(QPushButton *widget, const QColor &color)
NodeClickHandler * node_click_handler_
void setFont(const QFont &font)
void excludeFilterUpdated(const QString &)
void updateIncludeLabel()
void includeFilterUpdated(const QString &)
void updateCurrentIndex(function sF)
void chooseButtonColor(QPushButton *widget)