ToolMap
Loading...
Searching...
No Matches
tmsymboldlgpointmultiple.h
1/***************************************************************************
2 tmSymbolDLGPointMultiplemultiple.h
3 Display Multiple Point Symbology dialog
4 -------------------
5 copyright : (C) 2011 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#ifndef _TM_SYMBOLDLGPOINT_MULTIPLE_H_
18#define _TM_SYMBOLDLGPOINT_MULTIPLE_H_
19
20#include <wx/wxprec.h>
21
22#ifndef WX_PRECOMP
23#include <wx/wx.h>
24#endif
25
26#include <wx/notebook.h>
27#include <wx/spinctrl.h>
28
29#include "tmsymboldlgpoint.h" // tmSymbolDlg declaration
30
32 public:
33 int m_PanelNo;
34
35 // multiple symbology
36 long m_QueryID;
37 wxColour m_SelColourMultiple;
38 int m_SelRadiusMultiple;
39 bool m_SelVisible;
40
41 wxColour m_UnSelColourMultiple;
42 int m_UnSelRadiusMultiple;
43 int m_UnSelVisible;
44
46 m_PanelNo = 0;
47 m_QueryID = wxNOT_FOUND;
48 m_SelColourMultiple = *wxBLUE;
49 m_SelRadiusMultiple = 5;
50 m_SelVisible = true;
51 m_UnSelColourMultiple = *wxGREEN;
52 m_UnSelRadiusMultiple = 5;
53 m_UnSelVisible = true;
54 }
55};
56
58 private:
59 wxColourPickerCtrl* m_PointColourCtrl;
60 wxSpinCtrl* m_PointWidthCtrl;
61 tmSliderWithText* m_TransparencySlider;
62
63 wxNotebook* m_SymbologyTypeCtrl;
64 wxChoice* m_MQueryCtrl;
65 wxColourPickerCtrl* m_MSelColourCtrl;
66 wxSpinCtrl* m_MSelWidthCtrl;
67 wxCheckBox* m_MSelVisibleCtrl;
68 wxColourPickerCtrl* m_MUnSelColourCtrl;
69 wxSpinCtrl* m_MUnSelWidthCtrl;
70 wxCheckBox* m_MUnSelVisibleCtrl;
71
73 TOC_GENERIC_NAME m_TocType;
74
75 void _Init();
76
77 void CreateControlsPoint();
78
79 virtual bool TransferDataToWindow();
80
81 virtual bool TransferDataFromWindow();
82
83 DECLARE_DYNAMIC_CLASS(tmSymbolDLGPointMultiple)
84
85 public:
88
90
91 tmSymbolDLGPointMultiple(wxWindow* parent, wxWindowID id = SYMBOL_TMSYMBOLDLG_IDNAME,
92 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE,
93 const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
94 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE, long style = SYMBOL_TMSYMBOLDLG_STYLE);
95
96 bool Create(wxWindow* parent, wxWindowID id = SYMBOL_TMSYMBOLDLG_IDNAME,
97 const wxString& caption = SYMBOL_TMSYMBOLDLG_TITLE, const wxPoint& pos = SYMBOL_TMSYMBOLDLG_POSITION,
98 const wxSize& size = SYMBOL_TMSYMBOLDLG_SIZE, long style = SYMBOL_TMSYMBOLDLG_STYLE);
99
100 void SetDialogData(const tmSymbolDataPointMultiple& data) {
101 m_DlgData = data;
102 }
103
104 tmSymbolDataPointMultiple GetDialogData() {
105 return m_DlgData;
106 }
107
108 void SetTocType(TOC_GENERIC_NAME toctype) {
109 m_TocType = toctype;
110 }
111};
112
113#endif
Definition tmsliderwithtxt.h:47
Definition tmsymboldlgpointmultiple.h:57
tmSymbolDLGPointMultiple()
Constructors.
Definition tmsymboldlgpointmultiple.cpp:23
Definition tmsymboldlg.h:55
Definition tmsymboldlgpointmultiple.h:31
Definition tmsymboldlgpoint.h:67