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//=============================================================================================================
33// QT INCLUDES
34//=============================================================================================================
35
36//=============================================================================================================
37// EIGEN INCLUDES
38//=============================================================================================================
39
40//=============================================================================================================
41// FORWARD DECLARATIONS
42//=============================================================================================================
43
44namespace Ui {
45 class ApplyToViewWidget;
46}
47
48//=============================================================================================================
49// DEFINE NAMESPACE DISPLIB
50//=============================================================================================================
51
52namespace DISPLIB
53{
54
55//=============================================================================================================
63{
64public:
65 //=========================================================================================================
73 ApplyToView(const QString& sSettingsPath = "",
74 QWidget *parent = 0,
75 Qt::WindowFlags f = Qt::Widget);
76
77 //=========================================================================================================
79
80 //=========================================================================================================
84 void saveSettings();
85
86 //=========================================================================================================
90 void loadSettings();
91
92 //=========================================================================================================
96 void selectAll(bool);
97
98 //=========================================================================================================
102 void selectClear(bool);
103
104 //=========================================================================================================
108 void clearView();
109
110 QList<QString> getSelectedViews();
111
112protected:
113 //=========================================================================================================
119 void updateGuiMode(GuiMode mode);
120
121 //=========================================================================================================
128
130
131 QList<QString> m_lViewList;
132
133 Ui::ApplyToViewWidget* m_pUi;
134
135};
136} //NAMESPACE
137
138#endif // APPLYTOVIEW_H
Common base widget for every dockable Quick-Control settings panel in DISPLIB.
Export macros and build-info hooks for the DISPLIB shared library.
#define DISPSHARED_EXPORT
Definition disp_global.h:38
2-D display widgets and visualisation helpers (charts, topography, colour maps).
AbstractView(QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
QList< QString > getSelectedViews()
Ui::ApplyToViewWidget * m_pUi
ApplyToView(const QString &sSettingsPath="", QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
ApplyToView.
void updateProcessingMode(ProcessingMode mode)
QList< QString > m_lViewList
void updateGuiMode(GuiMode mode)