v2.0.0
Loading...
Searching...
No Matches
applytoview.h
Go to the documentation of this file.
1//=============================================================================================================
21
22#ifndef APPLYTOVIEW_H
23#define APPLYTOVIEW_H
24
25//=============================================================================================================
26// INCLUDES
27//=============================================================================================================
28
29#include "../disp_global.h"
30#include "abstractview.h"
31
32#include <memory>
33
34//=============================================================================================================
35// QT INCLUDES
36//=============================================================================================================
37
38//=============================================================================================================
39// EIGEN INCLUDES
40//=============================================================================================================
41
42//=============================================================================================================
43// FORWARD DECLARATIONS
44//=============================================================================================================
45
46namespace Ui
47{
48class ApplyToViewWidget;
49}
50
51//=============================================================================================================
52// DEFINE NAMESPACE DISPLIB
53//=============================================================================================================
54
55namespace DISPLIB
56{
57
58//=============================================================================================================
66{
67public:
68 //=========================================================================================================
76 ApplyToView(const QString& sSettingsPath = "",
77 QWidget* parent = 0,
78 Qt::WindowFlags f = Qt::Widget);
79
80 //=========================================================================================================
82
83 //=========================================================================================================
87 void saveSettings();
88
89 //=========================================================================================================
93 void loadSettings();
94
95 //=========================================================================================================
99 void selectAll(bool);
100
101 //=========================================================================================================
105 void selectClear(bool);
106
107 //=========================================================================================================
111 void clearView();
112
113 QList<QString> getSelectedViews();
114
115protected:
116 //=========================================================================================================
122 void updateGuiMode(GuiMode mode);
123
124 //=========================================================================================================
131
133
134 QList<QString> m_lViewList;
135
136 std::unique_ptr<Ui::ApplyToViewWidget> m_pUi;
137};
138} //NAMESPACE
139
140#endif // APPLYTOVIEW_H
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
QList< QString > getSelectedViews()
ApplyToView(const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
ApplyToView.
std::unique_ptr< Ui::ApplyToViewWidget > m_pUi
void updateProcessingMode(ProcessingMode mode)
QList< QString > m_lViewList
void updateGuiMode(GuiMode mode)