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{
46class ApplyToViewWidget;
47}
48
49//=============================================================================================================
50// DEFINE NAMESPACE DISPLIB
51//=============================================================================================================
52
53namespace DISPLIB
54{
55
56//=============================================================================================================
64{
65public:
66 //=========================================================================================================
74 ApplyToView(const QString& sSettingsPath = "",
75 QWidget* parent = 0,
76 Qt::WindowFlags f = Qt::Widget);
77
78 //=========================================================================================================
80
81 //=========================================================================================================
85 void saveSettings();
86
87 //=========================================================================================================
91 void loadSettings();
92
93 //=========================================================================================================
97 void selectAll(bool);
98
99 //=========================================================================================================
103 void selectClear(bool);
104
105 //=========================================================================================================
109 void clearView();
110
111 QList<QString> getSelectedViews();
112
113protected:
114 //=========================================================================================================
120 void updateGuiMode(GuiMode mode);
121
122 //=========================================================================================================
129
131
132 QList<QString> m_lViewList;
133
134 Ui::ApplyToViewWidget* m_pUi;
135};
136} //NAMESPACE
137
138#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()
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)