12 #ifndef hifi_LogDialog_h
13 #define hifi_LogDialog_h
15 #include "BaseLogDialog.h"
16 #include <SettingHandle.h>
23 class AbstractLoggerInterface;
25 class LogDialog :
public BaseLogDialog {
29 LogDialog(QWidget* parent, AbstractLoggerInterface* logger);
32 void appendLogLine(QString logLine)
override;
35 void handleRevealButton();
36 void handleShowSourceDebuggingCheckbox(
int);
37 void handleExtraDebuggingCheckbox(
int);
38 void handleKeepWindowOnTop(
int);
39 void handleDebugPrintBox(
int);
40 void handleInfoPrintBox(
int);
41 void handleCriticalPrintBox(
int);
42 void handleWarningPrintBox(
int);
43 void handleSuppressPrintBox(
int);
44 void handleFatalPrintBox(
int);
45 void handleUnknownPrintBox(
int);
46 void handleFilterDropdownChanged(
int);
47 void handleAllLogsButton();
51 void resizeEvent(QResizeEvent* event)
override;
52 void closeEvent(QCloseEvent* event)
override;
54 QString getCurrentLog()
override;
55 void updateMessageCount();
59 QCheckBox* _showSourceDebuggingBox;
60 QCheckBox* _extraDebuggingBox;
61 QCheckBox* _keepOnTopBox;
62 QPushButton* _revealLogButton;
63 QPushButton* _allLogsButton;
64 QCheckBox* _debugPrintBox;
65 QCheckBox* _infoPrintBox;
66 QCheckBox* _criticalPrintBox;
67 QCheckBox* _warningPrintBox;
68 QCheckBox* _suppressPrintBox;
69 QCheckBox* _fatalPrintBox;
70 QCheckBox* _unknownPrintBox;
71 QComboBox* _filterDropdown;
72 QLabel* _messageCount;
73 QString _filterSelection;
75 AbstractLoggerInterface* _logger;