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