]> git.saurik.com Git - wxWidgets.git/blob - utils/configtool/src/settingsdialog.h
Inital fill in background, removed tabs, -1->wxID_ANY, TRUE->true, FALSE->false
[wxWidgets.git] / utils / configtool / src / settingsdialog.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settingsdialog.h
3 // Purpose:
4 // Author:
5 // Modified by:
6 // Created:
7 // RCS-ID:
8 // Copyright:
9 // Licence:
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _SETTINGSDIALOG_H_
13 #define _SETTINGSDIALOG_H_
14
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
16 #pragma interface "settingsdialog.cpp"
17 #endif
18
19 /*!
20 * Includes
21 */
22
23 ////@begin includes
24 ////@end includes
25
26 /*!
27 * Forward declarations
28 */
29
30 ////@begin forward declarations
31 class ctGeneralSettingsDialog;
32 class ctLocationSettingsDialog;
33 ////@end forward declarations
34
35 /*!
36 * Control identifiers
37 */
38
39 ////@begin control identifiers
40 #define ID_SETTINGS_DIALOG 10000
41 #define ID_NOTEBOOK 10001
42 #define ID_GENERAL_SETTINGS_DIALOG 10005
43 #define ID_LOAD_LAST_DOCUMENT 10006
44 #define ID_SHOW_TOOLTIPS 10007
45 #define ID_DEFAULT_FILE_KIND 10003
46 #define ID_LOCATION_SETTINGS_DIALOG 10008
47 #define ID_WXWIN_HIERARCHY 10010
48 #define ID_CHOOSE_WXWIN_HIERARCHY 10011
49 #define ID_USE_WXWIN 10012
50 ////@end control identifiers
51
52 /*!
53 * ctSettingsDialog class declaration
54 */
55
56 class ctSettingsDialog: public wxDialog
57 {
58 public:
59 /// Constructor
60 ctSettingsDialog( wxWindow* parent, wxWindowID id = -1,
61 const wxString& caption = _("Configuration Settings"),
62 const wxPoint& pos = wxDefaultPosition,
63 const wxSize& size = wxDefaultSize,
64 long style = wxCAPTION|wxSYSTEM_MENU );
65
66 /// Creates the controls and sizers
67 void CreateControls();
68
69 ////@begin ctSettingsDialog event handler declarations
70
71 /// Event handler for wxID_OK
72 void OnOk( wxCommandEvent& event );
73
74 /// Event handler for wxID_CANCEL
75 void OnCancel( wxCommandEvent& event );
76
77 /// Event handler for wxID_HELP
78 void OnHelp( wxCommandEvent& event );
79
80 ////@end ctSettingsDialog event handler declarations
81
82 ////@begin ctSettingsDialog member function declarations
83
84 ////@end ctSettingsDialog member function declarations
85
86 /// Should we show tooltips?
87 static bool ShowToolTips();
88
89 DECLARE_CLASS( ctSettingsDialog )
90 DECLARE_EVENT_TABLE()
91 };
92
93 /*!
94 * ctGeneralSettingsDialog class declaration
95 */
96
97 class ctGeneralSettingsDialog: public wxPanel
98 {
99 public:
100 /// Constructor
101 ctGeneralSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL );
102
103 /// Creates the controls and sizers
104 void CreateControls();
105
106 ////@begin ctGeneralSettingsDialog event handler declarations
107
108 ////@end ctGeneralSettingsDialog event handler declarations
109
110 ////@begin ctGeneralSettingsDialog member function declarations
111
112 ////@end ctGeneralSettingsDialog member function declarations
113
114 /// Should we show tooltips?
115 static bool ShowToolTips();
116
117 DECLARE_CLASS( ctGeneralSettingsDialog )
118 DECLARE_EVENT_TABLE()
119 };
120
121 /*!
122 * ctLocationSettingsDialog class declaration
123 */
124
125 class ctLocationSettingsDialog: public wxPanel
126 {
127 public:
128 /// Constructor
129 ctLocationSettingsDialog( wxWindow* parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxNO_BORDER|wxTAB_TRAVERSAL );
130
131 /// Creates the controls and sizers
132 void CreateControls();
133
134 ////@begin ctLocationSettingsDialog event handler declarations
135
136 /// Update event handler for ID_WXWIN_HIERARCHY
137 void OnUpdateWxwinHierarchy( wxUpdateUIEvent& event );
138
139 /// Event handler for ID_CHOOSE_WXWIN_HIERARCHY
140 void OnChooseWxwinHierarchy( wxCommandEvent& event );
141
142 /// Update event handler for ID_CHOOSE_WXWIN_HIERARCHY
143 void OnUpdateChooseWxwinHierarchy( wxUpdateUIEvent& event );
144
145 ////@end ctLocationSettingsDialog event handler declarations
146
147 ////@begin ctLocationSettingsDialog member function declarations
148
149 ////@end ctLocationSettingsDialog member function declarations
150
151 /// Should we show tooltips?
152 static bool ShowToolTips();
153
154 DECLARE_CLASS( ctLocationSettingsDialog )
155 DECLARE_EVENT_TABLE()
156 };
157
158 #endif
159 // _SETTINGSDIALOG_H_