~ubuntu-branches/ubuntu/hardy/codeblocks/hardy-backports

« back to all changes in this revision

Viewing changes to src/plugins/contrib/wxSmith/wxwidgets/wxssizerparentqp.h

  • Committer: Bazaar Package Importer
  • Author(s): Michael Casadevall
  • Date: 2008-07-17 04:39:23 UTC
  • Revision ID: james.westby@ubuntu.com-20080717043923-gmsy5cwkdjswghkm
Tags: upstream-8.02
ImportĀ upstreamĀ versionĀ 8.02

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
* This file is part of wxSmith plugin for Code::Blocks Studio
 
3
* Copyright (C) 2006-2007  Bartlomiej Swiecki
 
4
*
 
5
* wxSmith is free software; you can redistribute it and/or modify
 
6
* it under the terms of the GNU General Public License as published by
 
7
* the Free Software Foundation; either version 3 of the License, or
 
8
* (at your option) any later version.
 
9
*
 
10
* wxSmith is distributed in the hope that it will be useful,
 
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
13
* GNU General Public License for more details.
 
14
*
 
15
* You should have received a copy of the GNU General Public License
 
16
* along with wxSmith. If not, see <http://www.gnu.org/licenses/>.
 
17
*
 
18
* $Revision: 4850 $
 
19
* $Id: wxssizerparentqp.h 4850 2008-01-29 21:45:49Z byo $
 
20
* $HeadURL: svn://svn.berlios.de/codeblocks/tags/8.02/src/plugins/contrib/wxSmith/wxwidgets/wxssizerparentqp.h $
 
21
*/
 
22
 
 
23
#ifndef WXSSIZERPARENTQP_H
 
24
#define WXSSIZERPARENTQP_H
 
25
 
 
26
//(*Headers(wxsSizerParentQP)
 
27
#include <wx/sizer.h>
 
28
#include <wx/checkbox.h>
 
29
#include <wx/spinctrl.h>
 
30
#include <wx/radiobut.h>
 
31
#include <wx/panel.h>
 
32
//*)
 
33
 
 
34
#include "wxssizer.h"
 
35
#include "../wxsadvqppchild.h"
 
36
 
 
37
class wxsSizerParentQP: public wxsAdvQPPChild
 
38
{
 
39
        public:
 
40
 
 
41
                wxsSizerParentQP(wxsAdvQPP* parent,wxsSizerExtra* Extra,wxWindowID id = -1);
 
42
                virtual ~wxsSizerParentQP();
 
43
 
 
44
                //(*Identifiers(wxsSizerParentQP)
 
45
                static const long ID_CHECKBOX1;
 
46
                static const long ID_CHECKBOX2;
 
47
                static const long ID_CHECKBOX3;
 
48
                static const long ID_CHECKBOX4;
 
49
                static const long ID_SPINCTRL1;
 
50
                static const long ID_CHECKBOX7;
 
51
                static const long ID_RADIOBUTTON4;
 
52
                static const long ID_RADIOBUTTON5;
 
53
                static const long ID_RADIOBUTTON6;
 
54
                static const long ID_RADIOBUTTON7;
 
55
                static const long ID_RADIOBUTTON8;
 
56
                static const long ID_RADIOBUTTON9;
 
57
                static const long ID_RADIOBUTTON10;
 
58
                static const long ID_RADIOBUTTON11;
 
59
                static const long ID_RADIOBUTTON12;
 
60
                static const long ID_CHECKBOX6;
 
61
                static const long ID_CHECKBOX5;
 
62
                static const long ID_SPINCTRL2;
 
63
                //*)
 
64
 
 
65
        protected:
 
66
 
 
67
                //(*Handlers(wxsSizerParentQP)
 
68
                void OnBrdChange(wxCommandEvent& event);
 
69
                void OnBrdSizeChange(wxSpinEvent& event);
 
70
                void OnPlaceChange(wxCommandEvent& event);
 
71
                void OnProportionChange(wxSpinEvent& event);
 
72
                void OnBrdDlgChange(wxCommandEvent& event);
 
73
                //*)
 
74
 
 
75
                //(*Declarations(wxsSizerParentQP)
 
76
                wxRadioButton* PlaceCB;
 
77
                wxCheckBox* PlaceShp;
 
78
                wxCheckBox* BrdLeft;
 
79
                wxSpinCtrl* BrdSize;
 
80
                wxCheckBox* BrdTop;
 
81
                wxCheckBox* BrdRight;
 
82
                wxFlexGridSizer* FlexGridSizer3;
 
83
                wxRadioButton* PlaceRT;
 
84
                wxRadioButton* PlaceRC;
 
85
                wxCheckBox* PlaceExp;
 
86
                wxRadioButton* PlaceCT;
 
87
                wxCheckBox* BrdDlg;
 
88
                wxStaticBoxSizer* StaticBoxSizer3;
 
89
                wxCheckBox* BrdBottom;
 
90
                wxRadioButton* PlaceLB;
 
91
                wxRadioButton* PlaceRB;
 
92
                wxRadioButton* PlaceCC;
 
93
                wxBoxSizer* BoxSizer1;
 
94
                wxSpinCtrl* Proportion;
 
95
                wxFlexGridSizer* FlexGridSizer1;
 
96
                wxRadioButton* PlaceLT;
 
97
                wxRadioButton* PlaceLC;
 
98
                wxGridSizer* GridSizer2;
 
99
                //*)
 
100
 
 
101
        virtual void Update();
 
102
 
 
103
        private:
 
104
 
 
105
        void ReadData();
 
106
        void SaveData();
 
107
 
 
108
        wxsSizerExtra* m_Extra;
 
109
 
 
110
                DECLARE_EVENT_TABLE()
 
111
};
 
112
 
 
113
#endif