Version: 0.6.0
createcbdlg.h
1 /******************************************************************************
2  * Project: wxGIS (GIS Catalog)
3  * Purpose: create menu or toolbar dialog.
4  * Author: Dmitry Baryshnikov (aka Bishop), polimax@mail.ru
5  ******************************************************************************
6 * Copyright (C) 2009,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/commandbar.h"
23 
24 #include <wx/intl.h>
25 
26 #include <wx/string.h>
27 #include <wx/stattext.h>
28 #include <wx/gdicmn.h>
29 #include <wx/font.h>
30 #include <wx/colour.h>
31 #include <wx/settings.h>
32 #include <wx/textctrl.h>
33 #include <wx/choice.h>
34 #include <wx/sizer.h>
35 #include <wx/button.h>
36 #include <wx/dialog.h>
37 #include <wx/checkbox.h>
38 
47 class WXDLLIMPEXP_GIS_FRW wxGISCreateCommandBarDlg : public wxDialog
48 {
49  private:
50 
51  protected:
52  wxStaticText* m_staticText4;
53  wxTextCtrl* m_textCtrl3;
54  wxStaticText* m_staticText5;
55  wxTextCtrl* m_textCtrl4;
56  wxStaticText* m_staticText6;
57  wxChoice* m_choice1;
58  wxStaticText* m_staticText41;
59  wxCheckBox* m_checkLeftD;
60  wxStaticText* m_staticText51;
61  wxCheckBox* m_checkRightD;
62  wxStdDialogButtonSizer* m_sdbSizer1;
63  wxButton* m_sdbSizer1OK;
64  wxButton* m_sdbSizer1Cancel;
65  int m_nType;
66 public:
67  wxString m_sCommandbarName, m_sCommandbarCaption;
68  wxGISEnumCommandBars m_CommandbarType;
69  bool m_bLeftDockable, m_bRightDockable;
70 
71  public:
72  wxGISCreateCommandBarDlg( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create toolbar or menu"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 246,222 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
74  virtual bool TransferDataFromWindow();
75 };
76 
Definition: createcbdlg.h:47