Version: 0.6.0
gisaboutdlg.h
1 /******************************************************************************
2  * Project: wxGIS
3  * Purpose: About Dialog class.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2010-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 
23 #include "wxgis/core/app.h"
24 
25 #include <wx/aui/auibook.h>
26 #include <wx/bitmap.h>
27 #include <wx/image.h>
28 #include <wx/icon.h>
29 #include <wx/statbmp.h>
30 #include <wx/gdicmn.h>
31 #include <wx/font.h>
32 #include <wx/colour.h>
33 #include <wx/settings.h>
34 #include <wx/string.h>
35 #include <wx/stattext.h>
36 #include <wx/sizer.h>
37 #include <wx/statline.h>
38 #include <wx/notebook.h>
39 #include <wx/dialog.h>
40 #include <wx/button.h>
41 #include <wx/generic/stattextg.h>
42 
47 class wxGISSimpleTextPanel : public wxPanel
48 {
49  enum
50  {
51  ID_EDIT = wxID_HIGHEST + 1
52  };
53 public:
54  wxGISSimpleTextPanel( wxString soText, wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 540,400 ), long style = wxTAB_TRAVERSAL );
55  virtual ~wxGISSimpleTextPanel();
56  virtual void edtUrlClickUrl(wxTextUrlEvent& event);
57 protected:
58  wxTextCtrl* m_pStaticText;
59 private:
60  DECLARE_EVENT_TABLE()
61 };
62 
63 
68 class wxGISAboutDialog: public wxDialog
69 {
70 public:
71  wxGISAboutDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("About"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 440,440 ), long style = wxDEFAULT_DIALOG_STYLE);
73 protected:
74  wxStaticBitmap* m_bitmap;
75  wxGenericStaticText* m_title;
76  wxStaticLine* m_staticline1;
77  wxStdDialogButtonSizer* m_sdbSizer;
78  wxButton* m_sdbSizerOK;
79  wxAuiNotebook* m_AuiNotebook;
80 };
wxGISAboutDialog(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("About"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(440, 440), long style=wxDEFAULT_DIALOG_STYLE)
Class wxGISAboutDialog.
Definition: gisaboutdlg.cpp:88
Definition: gisaboutdlg.h:68
wxGISSimpleTextPanel(wxString soText, wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(540, 400), long style=wxTAB_TRAVERSAL)
Class wxGISSimpleTextPanel.
Definition: gisaboutdlg.cpp:54
Definition: gisaboutdlg.h:47