-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInfoPane.h
More file actions
52 lines (43 loc) · 1.1 KB
/
Copy pathInfoPane.h
File metadata and controls
52 lines (43 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//InfoPane.h
#pragma once
#include "InfoWidget.h"
#include <QListWidget.h>
#include "InfoTreeWidget.h"
#include <QKeyEvent>
#include <QGeocoordinate.h>
#include <qvariant.h>
#include "aliases.h"
class CInfoPane : public QWidget
{
Q_OBJECT
//Constructor
public:
explicit CInfoPane(QWidget* parent = nullptr);
//Methods
public:
void SaveFocus();
void RestoreFocus();
private:
void SetupInfoPane();
void SetupConnects();
//Slots
public slots:
void UpdateInfoPane();
void ReceiveInfoData(NRList& results);
void childLocationSelected(const QGeoCoordinate& coordinate);
void onTabChanged(int index);
protected:
void keyPressEvent(QKeyEvent* event) override;
signals:
void GetBorderingRelations(NRList& relResults);
void GetContainedPoints(NRList& cityResults);
void GetLayers( GLList& layerResults);
void locationSelected(const QGeoCoordinate& coordinate);
//Member variables
private:
QTabWidget* m_pInfoTabWidget;
CInfoWidget* m_pInfoBorders;
CInfoWidget* m_pInfoContains;
CInfoTreeWidget* m_pInfoMap;
QWidget* m_pLastFocusedWidget;
};