Version: 0.6.0
gxpropertypages.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: PropertyPages of Catalog.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2010,2012,2014 Dmitry Baryshnikov
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20  ****************************************************************************/
21 #pragma once
22 #include "wxgis/framework/propertypages.h"
23 #include "wxgis/catalogui/gxcatalogui.h"
24 #include "wxgis/framework/checklist.h"
25 #include "wxgis/framework/applicationbase.h"
26 
27 #include <wx/intl.h>
28 
29 #include <wx/string.h>
30 #include <wx/stattext.h>
31 #include <wx/gdicmn.h>
32 #include <wx/font.h>
33 #include <wx/colour.h>
34 #include <wx/settings.h>
35 #include "wx/listctrl.h"
36 #include <wx/button.h>
37 #include <wx/sizer.h>
38 #include <wx/statbox.h>
39 #include <wx/checkbox.h>
40 #include <wx/panel.h>
41 
49 class WXDLLIMPEXP_GIS_CLU wxGISCatalogGeneralPropertyPage :
50  public IPropertyPage
51 {
52  DECLARE_DYNAMIC_CLASS(wxGISCatalogGeneralPropertyPage)
53  enum
54  {
55  ID_ROOTLISTCTRL = wxID_HIGHEST + 4505,
56  ID_FACTORYLISTCTRL
57  };
58 
59 public:
62  virtual bool Create(wxGISApplicationBase* application, wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL, const wxString& name = wxT("General_Panel"));
63 // IPropertyPage
64  virtual wxString GetPageName(void){return wxString(_("General"));};
65  virtual void Apply(void);
66 protected:
67  wxGISCheckList* m_pRootItems;
68  wxGISCheckList* m_pFactoryItems;
69  wxButton* m_button2;
70  wxButton* m_button3;
71  wxCheckBox* m_checkBoxHideExt;
72  wxCheckBox* m_checkBoxLast;
73  wxCheckBox* m_checkBoxHidden;
74  wxGxCatalogUI* m_pCatalog;
75 };
Definition: applicationbase.h:65
virtual void Apply(void)=0
Executed when OK is pressed.
Definition: propertypages.h:54
Definition: gxcatalogui.h:34
Definition: checklist.h:33
virtual bool Create(wxGISApplicationBase *application, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("panel"))=0
A Create function.
Definition: propertypages.h:61
Definition: gxpropertypages.h:49