ToolMap
Loading...
Searching...
No Matches
querieswizard.h
1/***************************************************************************
2 querieswizard.h
3 Main part of the new query system
4 -------------------
5 copyright : (C) 2009 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 _QUERIESWIZARD_H
18#define _QUERIESWIZARD_H
19
20// For compilers that support precompilation, includes "wx/wx.h".
21#include <wx/wxprec.h>
22// Include wxWidgets' headers
23#ifndef WX_PRECOMP
24#include <wx/wx.h>
25#endif
26
27#include <wx/wizard.h>
28
29#include "../core/projectdefmemory.h"
30#include "../core/queriesdata.h"
31#include "../gis/tmlayerpropertiesdef.h"
32#include "queriespages.h"
33
35
37
38class DataBaseTM;
39
40class QueriesWizard : public wxWizard {
41 private:
42 DataBaseTM* m_pDB;
43 QueriesData* m_QueryData;
44 // Wizard's page
45 QueriesPageIntro* m_PageIntro;
46
47 public:
48 // Used by first panel
49 tmQUERIES_TYPE m_QueryType;
50 long m_QueryObjectGeomID;
51
52 public:
53 QueriesWizard(wxWindow* parent, DataBaseTM* database, int id = wxID_ANY);
54
55 virtual ~QueriesWizard();
56
57 virtual int ShowWizard();
58
59 inline QueriesData* GetData();
60};
61
62inline QueriesData* QueriesWizard::GetData() {
63 return m_QueryData;
64}
65
66#endif
Definition database_tm.h:80
Definition queriesdata.h:50
Definition queriespages.h:74
Definition queriespages.h:124
Definition querieswizard.h:40