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