]>
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_
15 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
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_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
53 * ctSettingsDialog class declaration
56 class ctSettingsDialog
: public wxDialog
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
);
66 /// Creates the controls and sizers
67 void CreateControls();
69 ////@begin ctSettingsDialog event handler declarations
71 /// Event handler for wxID_OK
72 void OnOk( wxCommandEvent
& event
);
74 /// Event handler for wxID_CANCEL
75 void OnCancel( wxCommandEvent
& event
);
77 /// Event handler for wxID_HELP
78 void OnHelp( wxCommandEvent
& event
);
80 ////@end ctSettingsDialog event handler declarations
82 ////@begin ctSettingsDialog member function declarations
84 ////@end ctSettingsDialog member function declarations
86 /// Should we show tooltips?
87 static bool ShowToolTips();
89 DECLARE_CLASS( ctSettingsDialog
)
94 * ctGeneralSettingsDialog class declaration
97 class ctGeneralSettingsDialog
: public wxPanel
101 ctGeneralSettingsDialog( wxWindow
* parent
, wxWindowID id
= -1, const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
, long style
= wxNO_BORDER
|wxTAB_TRAVERSAL
);
103 /// Creates the controls and sizers
104 void CreateControls();
106 ////@begin ctGeneralSettingsDialog event handler declarations
108 ////@end ctGeneralSettingsDialog event handler declarations
110 ////@begin ctGeneralSettingsDialog member function declarations
112 ////@end ctGeneralSettingsDialog member function declarations
114 /// Should we show tooltips?
115 static bool ShowToolTips();
117 DECLARE_CLASS( ctGeneralSettingsDialog
)
118 DECLARE_EVENT_TABLE()
122 * ctLocationSettingsDialog class declaration
125 class ctLocationSettingsDialog
: public wxPanel
129 ctLocationSettingsDialog( wxWindow
* parent
, wxWindowID id
= -1, const wxPoint
& pos
= wxDefaultPosition
, const wxSize
& size
= wxDefaultSize
, long style
= wxNO_BORDER
|wxTAB_TRAVERSAL
);
131 /// Creates the controls and sizers
132 void CreateControls();
134 ////@begin ctLocationSettingsDialog event handler declarations
136 /// Update event handler for ID_WXWIN_HIERARCHY
137 void OnUpdateWxwinHierarchy( wxUpdateUIEvent
& event
);
139 /// Event handler for ID_CHOOSE_WXWIN_HIERARCHY
140 void OnChooseWxwinHierarchy( wxCommandEvent
& event
);
142 /// Update event handler for ID_CHOOSE_WXWIN_HIERARCHY
143 void OnUpdateChooseWxwinHierarchy( wxUpdateUIEvent
& event
);
145 ////@end ctLocationSettingsDialog event handler declarations
147 ////@begin ctLocationSettingsDialog member function declarations
149 ////@end ctLocationSettingsDialog member function declarations
151 /// Should we show tooltips?
152 static bool ShowToolTips();
154 DECLARE_CLASS( ctLocationSettingsDialog
)
155 DECLARE_EVENT_TABLE()
159 // _SETTINGSDIALOG_H_