GlobeEngine
LegendPanel.h
Go to the documentation of this file.
1 #ifndef LEGENDPANEL_H
2 #define LEGENDPANEL_H
3 
4 #include "OpenGL_Includes.h"
5 #include "FeatureObject.h"
6 #include "LegendComboBoxModel.h"
7 #include "ModelLayer.h"
8 #include <QtQuick/QQuickView>
9 #include <QWidget>
10 
11 namespace geViewer {
12  class GlobeEngineUI;
13 
14  class LegendPanel : public QWidget
15  {
16  Q_OBJECT
17 
18  public:
19  LegendPanel(GlobeEngineUI* _parent, std::string _qmlpath);
20  ~LegendPanel();
21 
22  void update(const std::shared_ptr<geGIS::FeatureObject> _selectedFeature);
23 
24  void hidePanel();
25  void raisePanel();
26 
27  public slots:
30 
31  private:
32  GlobeEngineUI* parent;
33  QQuickView* legendview;
34 
35  LegendComboBoxModel* comboModel;
36  std::string qmlpath;
37 
38  geGIS::ModelLayerSelection currentSelection;
39  };
40 }
41 #endif
Definition: LegendComboBoxModel.h:17
Definition: FeaturePanel.h:10
void raisePanel()
Definition: LegendPanel.cpp:127
void update(const std::shared_ptr< geGIS::FeatureObject > _selectedFeature)
Definition: LegendPanel.cpp:46
void hidePanel()
Definition: LegendPanel.cpp:122
Definition: ModelLayer.h:85
Definition: LegendPanel.h:14
void changeFeatureSelection(geGIS::ModelLayerSelection _sel)
Definition: LegendPanel.cpp:111
void changeAttributeSelection(LegendAttributeSelection _attribute)
Definition: LegendPanel.cpp:77
Definition: LegendComboBoxModel.h:11
LegendPanel(GlobeEngineUI *_parent, std::string _qmlpath)
Definition: LegendPanel.cpp:15
~LegendPanel()
Definition: LegendPanel.cpp:41
Definition: GlobeEngineUI.h:29