]>
git.saurik.com Git - wxWidgets.git/blob - utils/configtool/src/settingsdialog.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: settingsdialog.h
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _SETTINGSDIALOG_H_
13 #define _SETTINGSDIALOG_H_
16 #pragma interface "settingsdialog.cpp"
27 * Forward declarations
30 ////@begin forward declarations
31 class ctGeneralSettingsDialog
;
32 class ctLocationSettingsDialog
;
33 ////@end forward declarations
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_LOCATION_SETTINGS_DIALOG 10008
46 #define ID_WXWIN_HIERARCHY 10010
47 #define ID_CHOOSE_WXWIN_HIERARCHY 10011
48 #define ID_USE_WXWIN 10012
49 ////@end control identifiers
52 * ctSettingsDialog class declaration
55 class ctSettingsDialog
: public wxDialog
59 ctSettingsDialog( wxWindow
* parent
, wxWindowID id
= -1,
60 const wxString
& caption
= _("Configuration Settings"),
61 const wxPoint
& pos
= wxDefaultPosition
,
62 const wxSize
& size
= wxDefaultSize
,
63 long style
= wxCAPTION
|wxSYSTEM_MENU
);
65 /// Creates the controls and sizers
66 void CreateControls();
68 ////@begin ctSettingsDialog event handler declarations
70 /// Event handler for wxID_OK
71 void OnOk( wxCommandEvent
& event
);
73 /// Event handler for wxID_CANCEL
74 void OnCancel( wxCommandEvent
& event
);
76 /// Event handler for wxID_HELP
77 void OnHelp( wxCommandEvent
& event
);
79 ////@end ctSettingsDialog event handler declarations
81 ////@begin ctSettingsDialog member function declarations
83 ////@end ctSettingsDialog member function declarations
85 /// Should we show tooltips?
86 static bool ShowToolTips();
88 DECLARE_CLASS( ctSettingsDialog
)
93 * ctGeneralSettingsDialog class declaration
96 class ctGeneralSettingsDialog
: public wxPanel
100 ctGeneralSettingsDialog( wxWindow
* parent
, wxWindowID id
= -1, const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
, long style
= wxNO_BORDER
|wxTAB_TRAVERSAL
);
102 /// Creates the controls and sizers
103 void CreateControls();
105 ////@begin ctGeneralSettingsDialog event handler declarations
107 ////@end ctGeneralSettingsDialog event handler declarations
109 ////@begin ctGeneralSettingsDialog member function declarations
111 ////@end ctGeneralSettingsDialog member function declarations
113 /// Should we show tooltips?
114 static bool ShowToolTips();
116 DECLARE_CLASS( ctGeneralSettingsDialog
)
117 DECLARE_EVENT_TABLE()
121 * ctLocationSettingsDialog class declaration
124 class ctLocationSettingsDialog
: public wxPanel
128 ctLocationSettingsDialog( wxWindow
* parent
, wxWindowID id
= -1, const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
, long style
= wxNO_BORDER
|wxTAB_TRAVERSAL
);
130 /// Creates the controls and sizers
131 void CreateControls();
133 ////@begin ctLocationSettingsDialog event handler declarations
135 /// Update event handler for ID_WXWIN_HIERARCHY
136 void OnUpdateWxwinHierarchy( wxUpdateUIEvent
& event
);
138 /// Event handler for ID_CHOOSE_WXWIN_HIERARCHY
139 void OnChooseWxwinHierarchy( wxCommandEvent
& event
);
141 /// Update event handler for ID_CHOOSE_WXWIN_HIERARCHY
142 void OnUpdateChooseWxwinHierarchy( wxUpdateUIEvent
& event
);
144 ////@end ctLocationSettingsDialog event handler declarations
146 ////@begin ctLocationSettingsDialog member function declarations
148 ////@end ctLocationSettingsDialog member function declarations
150 /// Should we show tooltips?
151 static bool ShowToolTips();
153 DECLARE_CLASS( ctLocationSettingsDialog
)
154 DECLARE_EVENT_TABLE()
158 // _SETTINGSDIALOG_H_