17#ifndef _QUERIESPAGES_H
18#define _QUERIESPAGES_H
27#include <wx/spinctrl.h>
29#include "../core/prjdefmemmanage.h"
30#include "listgenreport.h"
31#include "querieswizard.h"
63const int QUERIES_MARGIN_SIZE = 20;
72WX_DECLARE_OBJARRAY(wxRadioButton*, wxArrayRadioButton);
77 wxArrayRadioButton m_RadioBtn;
92 int _GetRadioBoxSelection()
const;
104 virtual wxWizardPage* GetPrev()
const;
106 virtual wxWizardPage* GetNext()
const;
108 void CreateControls();
110 virtual bool TransferDataToWindow();
112 virtual bool TransferDataFromWindow();
117 QueriesLayerList(wxWindow* parent, wxWindowID
id, wxSize size = wxDefaultSize);
121 void SetSelection(
long index,
bool selected =
true);
130 PrjMemLayersArray m_Layers;
132 void _CreateControls();
139 virtual bool TransferDataToWindow();
141 virtual bool TransferDataFromWindow();
153 wxRadioBox* m_LayerType;
155 void _CreateControls();
162 virtual bool TransferDataToWindow();
164 virtual bool TransferDataFromWindow();
176 wxListBox* m_ListType;
178 PrjMemObjectsArray m_Objects;
180 void _CreateControls();
187 virtual bool TransferDataToWindow();
189 virtual bool TransferDataFromWindow();
195 wxChoice* m_SelTypeList;
197 PrjMemObjectsArray m_Types;
199 void _CreateControls();
206 virtual bool TransferDataToWindow();
208 virtual bool TransferDataFromWindow();
220 wxWizardPageSimple* m_PageName;
221 wxRadioBox* m_AdvAttribRadio;
225 void _CreateControls();
232 virtual bool TransferDataToWindow();
234 virtual bool TransferDataFromWindow();
241 wxListBox* m_AdvAttributs;
244 void _CreateControls();
246 void _LoadAttributs();
248 void OnReloadAttributs(wxCommandEvent& event);
250 void OnDeleteAttribut(wxKeyEvent& event);
254 wxWizardPageSimple* next);
258 virtual bool TransferDataToWindow();
260 virtual bool TransferDataFromWindow();
265 wxArrayInt m_TargetLayer;
267 wxArrayString m_Description;
271 void _Add(
int layertarger,
const wxString& description,
const wxString& sql);
278 void GetData(
int index,
int& layertarget, wxString& description, wxString& sql);
280 wxArrayString GetDescription();
286 wxListBox* m_ListGeneric;
290 void _CreateControls();
297 virtual bool TransferDataToWindow();
299 virtual bool TransferDataFromWindow();
305 wxRadioBox* m_LayerType;
307 void _CreateControls();
314 virtual bool TransferDataToWindow();
316 virtual bool TransferDataFromWindow();
322 wxTextCtrl* m_SQLText;
324 void _CreateControls();
331 virtual bool TransferDataToWindow();
333 virtual bool TransferDataFromWindow();
344 wxSpinCtrl* m_SpinLineSize;
347 void _CreateControls();
354 virtual bool TransferDataToWindow();
356 virtual bool TransferDataFromWindow();
367 wxSpinCtrl* m_SpinFewNodes;
370 void _CreateControls();
377 virtual bool TransferDataToWindow();
379 virtual bool TransferDataFromWindow();
384 wxTextCtrl* m_TextName;
385 wxCheckBox* m_RunQueryBox;
388 void _CreateControls();
395 virtual bool TransferDataToWindow();
397 virtual bool TransferDataFromWindow();
Definition database_tm.h:80
Manage a report list.
Definition listgenreport.h:63
Definition queriespages.h:65
Definition queriespages.h:115
Definition queriespages.h:216
Definition queriespages.h:237
Definition queriespages.h:302
Definition queriespages.h:263
Definition queriespages.h:283
Definition queriespages.h:341
Definition queriespages.h:364
Definition queriespages.h:74
Definition queriespages.h:124
Definition queriespages.h:382
Definition queriespages.h:149
Definition queriespages.h:172
Definition queriespages.h:319
Definition queriespages.h:192
Definition querieswizard.h:40