API Documentation
Loading...
Searching...
No Matches
LogManagerDialog.h
Go to the documentation of this file.
1#pragma once
2#include <NDEVR/QCustomTabWidget.h>
3#include <QTimer>
4namespace NDEVR
5{
6 class LogView;
7 class FileChooserDialog;
8 class Button;
9 class LogManager;
10
11 /**--------------------------------------------------------------------------------------------------
12 \brief A dialog which shows multiple log views, where each log is a tab.
13 **/
14 class NDEVR_WIDGETS_API LogManagerDialog : public QWidget
15 {
16 Q_OBJECT
17 public:
18 LogManagerDialog(QWidget* parent = nullptr);
19 void setLogManager(LogManager* manager);
20 void addLog(const String& name, ProgressInfo* log);
21 void addLogView(LogView* log_view);
22 QSize sizeHint() const override;
23 protected:
30 //Button* m_steps_recorder;
34 };
35}
#define NDEVR_WIDGETS_API
Definition DLLInfo.h:59
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:56
A core widget that allows the user to click one of many button types.
Definition Button.h:66
A hash-based key-value store, useful for quick associative lookups. Key features include:
Definition Dictionary.h:61
A dialog designed to allow the user to navigate a filesytem and select or create one or more files or...
Definition FileChooserDialog.h:79
A dialog which shows multiple log views, where each log is a tab.
Definition LogManagerDialog.h:15
void addLogView(LogView *log_view)
QTimer m_log_manager_check
Definition LogManagerDialog.h:27
void setLogManager(LogManager *manager)
QSize sizeHint() const override
QCustomTabWidget * m_tab_widget
Definition LogManagerDialog.h:32
FileChooserDialog * m_chooser_dialog
Definition LogManagerDialog.h:28
LogManagerDialog(QWidget *parent=nullptr)
void addLog(const String &name, ProgressInfo *log)
Button * m_choose_log
Definition LogManagerDialog.h:29
Dictionary< String, ProgressInfo * > m_logs
Definition LogManagerDialog.h:25
LogView * m_combined_log_view
Definition LogManagerDialog.h:33
LogManager * m_manager
Definition LogManagerDialog.h:31
Buffer< LogView * > m_log_view
Definition LogManagerDialog.h:26
A class that has any number of children that also feed into the log. Can be used to easily collect lo...
Definition LogManager.h:14
A table showing a specific log that allows the user to scroll around to view various log entries.
Definition LogView.h:56
A light-weight base class for Log that allows processes to update, without the need for additional in...
Definition ProgressInfo.hpp:48
A tab widget provides a tab area and a "page area" that is used to display pages related to each tab....
Definition QCustomTabWidget.h:45
The core String class for the NDEVR API.
Definition String.h:69
Definition ACIColor.h:37