| 1 |
////////////////////////////////////////////////////////////////////// |
| 2 |
// This file was auto-generated by codelite's wxCrafter Plugin |
| 3 |
// wxCrafter project file: GUI.wxcp |
| 4 |
// Do not modify this file by hand! |
| 5 |
////////////////////////////////////////////////////////////////////// |
| 6 |
|
| 7 |
#ifndef _CODELITE_DATABASEEXPLORER_GUI_BASE_CLASSES_H |
| 8 |
#define _CODELITE_DATABASEEXPLORER_GUI_BASE_CLASSES_H |
| 9 |
|
| 10 |
#include "clTableWithPagination.h" |
| 11 |
#include "clThemedTreeCtrl.h" |
| 12 |
#include <map> |
| 13 |
#include <wx/arrstr.h> |
| 14 |
#include <wx/artprov.h> |
| 15 |
#include <wx/aui/auibar.h> |
| 16 |
#include <wx/button.h> |
| 17 |
#include <wx/checkbox.h> |
| 18 |
#include <wx/choice.h> |
| 19 |
#include <wx/dataview.h> |
| 20 |
#include <wx/dialog.h> |
| 21 |
#include <wx/filepicker.h> |
| 22 |
#include <wx/frame.h> |
| 23 |
#include <wx/gbsizer.h> |
| 24 |
#include <wx/iconbndl.h> |
| 25 |
#include <wx/imaglist.h> |
| 26 |
#include <wx/infobar.h> |
| 27 |
#include <wx/listbox.h> |
| 28 |
#include <wx/listctrl.h> |
| 29 |
#include <wx/menu.h> |
| 30 |
#include <wx/notebook.h> |
| 31 |
#include <wx/panel.h> |
| 32 |
#include <wx/pen.h> |
| 33 |
#include <wx/radiobox.h> |
| 34 |
#include <wx/radiobut.h> |
| 35 |
#include <wx/settings.h> |
| 36 |
#include <wx/sizer.h> |
| 37 |
#include <wx/splitter.h> |
| 38 |
#include <wx/statbox.h> |
| 39 |
#include <wx/stattext.h> |
| 40 |
#include <wx/stc/stc.h> |
| 41 |
#include <wx/textctrl.h> |
| 42 |
#include <wx/toolbar.h> |
| 43 |
#include <wx/treectrl.h> |
| 44 |
#include <wx/xrc/xh_bmp.h> |
| 45 |
#include <wx/xrc/xmlres.h> |
| 46 |
#if wxVERSION_NUMBER >= 2900 |
| 47 |
#include <wx/persist.h> |
| 48 |
#include <wx/persist/bookctrl.h> |
| 49 |
#include <wx/persist/toplevel.h> |
| 50 |
#include <wx/persist/treebook.h> |
| 51 |
#endif |
| 52 |
|
| 53 |
#ifdef WXC_FROM_DIP |
| 54 |
#undef WXC_FROM_DIP |
| 55 |
#endif |
| 56 |
#if wxVERSION_NUMBER >= 3100 |
| 57 |
#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL) |
| 58 |
#else |
| 59 |
#define WXC_FROM_DIP(x) x |
| 60 |
#endif |
| 61 |
|
| 62 |
class _ImageExportDialog : public wxDialog |
| 63 |
{ |
| 64 |
protected: |
| 65 |
wxStaticText* m_staticText34; |
| 66 |
wxTextCtrl* m_textCtrlPath; |
| 67 |
wxButton* m_button29; |
| 68 |
wxRadioButton* m_radioBtnDefaultScale; |
| 69 |
wxRadioButton* m_radioBtnScaleCustom; |
| 70 |
wxTextCtrl* m_textCtrlScale; |
| 71 |
wxCheckBox* m_checkBoxBackground; |
| 72 |
wxStdDialogButtonSizer* m_sdbSizer2; |
| 73 |
wxButton* m_button126; |
| 74 |
wxButton* m_button127; |
| 75 |
|
| 76 |
protected: |
| 77 |
virtual void OnInit(wxInitDialogEvent& event) { event.Skip(); } |
| 78 |
virtual void OnBowseClick(wxCommandEvent& event) { event.Skip(); } |
| 79 |
virtual void OnUpdateCustomScale(wxUpdateUIEvent& event) { event.Skip(); } |
| 80 |
|
| 81 |
public: |
| 82 |
wxStaticText* GetStaticText34() { return m_staticText34; } |
| 83 |
wxTextCtrl* GetTextCtrlPath() { return m_textCtrlPath; } |
| 84 |
wxButton* GetButton29() { return m_button29; } |
| 85 |
wxRadioButton* GetRadioBtnDefaultScale() { return m_radioBtnDefaultScale; } |
| 86 |
wxRadioButton* GetRadioBtnScaleCustom() { return m_radioBtnScaleCustom; } |
| 87 |
wxTextCtrl* GetTextCtrlScale() { return m_textCtrlScale; } |
| 88 |
wxCheckBox* GetCheckBoxBackground() { return m_checkBoxBackground; } |
| 89 |
_ImageExportDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Export image"), |
| 90 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 91 |
long style = wxDEFAULT_DIALOG_STYLE); |
| 92 |
virtual ~_ImageExportDialog(); |
| 93 |
}; |
| 94 |
|
| 95 |
class _ThumbPane : public wxPanel |
| 96 |
{ |
| 97 |
protected: |
| 98 |
protected: |
| 99 |
public: |
| 100 |
_ThumbPane(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, |
| 101 |
const wxSize& size = wxSize(500, 300), long style = wxTAB_TRAVERSAL); |
| 102 |
virtual ~_ThumbPane(); |
| 103 |
}; |
| 104 |
|
| 105 |
class _SqlCommandPanel : public wxPanel |
| 106 |
{ |
| 107 |
protected: |
| 108 |
wxSplitterWindow* m_splitter1; |
| 109 |
wxPanel* m_panel13; |
| 110 |
wxStyledTextCtrl* m_scintillaSQL; |
| 111 |
wxPanel* m_panel14; |
| 112 |
clTableWithPagination* m_table; |
| 113 |
|
| 114 |
protected: |
| 115 |
public: |
| 116 |
wxStyledTextCtrl* GetScintillaSQL() { return m_scintillaSQL; } |
| 117 |
wxPanel* GetPanel13() { return m_panel13; } |
| 118 |
clTableWithPagination* GetTable() { return m_table; } |
| 119 |
wxPanel* GetPanel14() { return m_panel14; } |
| 120 |
wxSplitterWindow* GetSplitter1() { return m_splitter1; } |
| 121 |
_SqlCommandPanel(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, |
| 122 |
const wxSize& size = wxSize(-1, -1), long style = wxTAB_TRAVERSAL); |
| 123 |
virtual ~_SqlCommandPanel(); |
| 124 |
}; |
| 125 |
|
| 126 |
class _AdapterSelectDlg : public wxDialog |
| 127 |
{ |
| 128 |
protected: |
| 129 |
wxButton* m_btnSqlite; |
| 130 |
wxButton* m_btnMySql; |
| 131 |
wxButton* m_button24; |
| 132 |
|
| 133 |
protected: |
| 134 |
virtual void OnSqliteClick(wxCommandEvent& event) { event.Skip(); } |
| 135 |
virtual void OnMysqlClick(wxCommandEvent& event) { event.Skip(); } |
| 136 |
virtual void OnPostgresClick(wxCommandEvent& event) { event.Skip(); } |
| 137 |
|
| 138 |
public: |
| 139 |
wxButton* GetBtnSqlite() { return m_btnSqlite; } |
| 140 |
wxButton* GetBtnMySql() { return m_btnMySql; } |
| 141 |
wxButton* GetButton24() { return m_button24; } |
| 142 |
_AdapterSelectDlg(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Select dbAdapter"), |
| 143 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 144 |
long style = wxDEFAULT_DIALOG_STYLE); |
| 145 |
virtual ~_AdapterSelectDlg(); |
| 146 |
}; |
| 147 |
|
| 148 |
class _DbViewerPanel : public wxPanel |
| 149 |
{ |
| 150 |
protected: |
| 151 |
clThemedTreeCtrl* m_treeDatabases; |
| 152 |
|
| 153 |
protected: |
| 154 |
virtual void OnDnDStart(wxTreeEvent& event) { event.Skip(); } |
| 155 |
virtual void OnItemActivate(wxTreeEvent& event) { event.Skip(); } |
| 156 |
virtual void OnItemSelectionChange(wxTreeEvent& event) { event.Skip(); } |
| 157 |
virtual void OnContextMenu(wxTreeEvent& event) { event.Skip(); } |
| 158 |
virtual void OnItemRightClick(wxTreeEvent& event) { event.Skip(); } |
| 159 |
|
| 160 |
public: |
| 161 |
clThemedTreeCtrl* GetTreeDatabases() { return m_treeDatabases; } |
| 162 |
_DbViewerPanel(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, |
| 163 |
const wxSize& size = wxSize(200, 100), long style = wxTAB_TRAVERSAL); |
| 164 |
virtual ~_DbViewerPanel(); |
| 165 |
}; |
| 166 |
|
| 167 |
class _DBSettingsDialog : public wxDialog |
| 168 |
{ |
| 169 |
protected: |
| 170 |
wxNotebook* m_notebook2; |
| 171 |
wxPanel* m_Sqlite; |
| 172 |
wxStaticText* m_staticText11; |
| 173 |
wxFilePickerCtrl* m_filePickerSqlite; |
| 174 |
wxListCtrl* m_listCtrlRecentFiles; |
| 175 |
wxPanel* m_MySqlPanel; |
| 176 |
wxStaticText* m_staticText10; |
| 177 |
wxTextCtrl* m_txName; |
| 178 |
wxStaticText* m_staticText1; |
| 179 |
wxTextCtrl* m_txServer; |
| 180 |
wxStaticText* m_staticText2; |
| 181 |
wxTextCtrl* m_txUserName; |
| 182 |
wxStaticText* m_staticText3; |
| 183 |
wxTextCtrl* m_txPassword; |
| 184 |
wxListBox* m_listBox2; |
| 185 |
wxPanel* m_PostgrePanel; |
| 186 |
wxStaticText* m_staticText101; |
| 187 |
wxTextCtrl* m_txPgName; |
| 188 |
wxStaticText* m_staticText12; |
| 189 |
wxTextCtrl* m_txPgServer; |
| 190 |
wxStaticText* m_staticText35; |
| 191 |
wxTextCtrl* m_txPgPort; |
| 192 |
wxStaticText* m_staticText21; |
| 193 |
wxTextCtrl* m_txPgUserName; |
| 194 |
wxStaticText* m_staticText31; |
| 195 |
wxTextCtrl* m_txPgPassword; |
| 196 |
wxStaticText* m_staticText24; |
| 197 |
wxTextCtrl* m_txPgDatabase; |
| 198 |
wxListBox* m_listBoxPg; |
| 199 |
wxButton* m_button36; |
| 200 |
wxButton* m_button35; |
| 201 |
|
| 202 |
protected: |
| 203 |
virtual void OnItemActivated(wxListEvent& event) { event.Skip(); } |
| 204 |
virtual void OnItemSelected(wxListEvent& event) { event.Skip(); } |
| 205 |
virtual void OnItemKeyDown(wxListEvent& event) { event.Skip(); } |
| 206 |
virtual void OnMySqlPassKeyDown(wxKeyEvent& event) { event.Skip(); } |
| 207 |
virtual void OnHistoryClick(wxCommandEvent& event) { event.Skip(); } |
| 208 |
virtual void OnHistoryDClick(wxCommandEvent& event) { event.Skip(); } |
| 209 |
virtual void OnHistoruUI(wxUpdateUIEvent& event) { event.Skip(); } |
| 210 |
virtual void OnPgSqlKeyDown(wxKeyEvent& event) { event.Skip(); } |
| 211 |
virtual void OnPgHistoryClick(wxCommandEvent& event) { event.Skip(); } |
| 212 |
virtual void OnPgHistoryDClick(wxCommandEvent& event) { event.Skip(); } |
| 213 |
virtual void OnDlgOK(wxCommandEvent& event) { event.Skip(); } |
| 214 |
|
| 215 |
public: |
| 216 |
wxStaticText* GetStaticText11() { return m_staticText11; } |
| 217 |
wxFilePickerCtrl* GetFilePickerSqlite() { return m_filePickerSqlite; } |
| 218 |
wxListCtrl* GetListCtrlRecentFiles() { return m_listCtrlRecentFiles; } |
| 219 |
wxPanel* GetSqlite() { return m_Sqlite; } |
| 220 |
wxStaticText* GetStaticText10() { return m_staticText10; } |
| 221 |
wxTextCtrl* GetTxName() { return m_txName; } |
| 222 |
wxStaticText* GetStaticText1() { return m_staticText1; } |
| 223 |
wxTextCtrl* GetTxServer() { return m_txServer; } |
| 224 |
wxStaticText* GetStaticText2() { return m_staticText2; } |
| 225 |
wxTextCtrl* GetTxUserName() { return m_txUserName; } |
| 226 |
wxStaticText* GetStaticText3() { return m_staticText3; } |
| 227 |
wxTextCtrl* GetTxPassword() { return m_txPassword; } |
| 228 |
wxListBox* GetListBox2() { return m_listBox2; } |
| 229 |
wxPanel* GetMySqlPanel() { return m_MySqlPanel; } |
| 230 |
wxStaticText* GetStaticText101() { return m_staticText101; } |
| 231 |
wxTextCtrl* GetTxPgName() { return m_txPgName; } |
| 232 |
wxStaticText* GetStaticText12() { return m_staticText12; } |
| 233 |
wxTextCtrl* GetTxPgServer() { return m_txPgServer; } |
| 234 |
wxStaticText* GetStaticText35() { return m_staticText35; } |
| 235 |
wxTextCtrl* GetTxPgPort() { return m_txPgPort; } |
| 236 |
wxStaticText* GetStaticText21() { return m_staticText21; } |
| 237 |
wxTextCtrl* GetTxPgUserName() { return m_txPgUserName; } |
| 238 |
wxStaticText* GetStaticText31() { return m_staticText31; } |
| 239 |
wxTextCtrl* GetTxPgPassword() { return m_txPgPassword; } |
| 240 |
wxStaticText* GetStaticText24() { return m_staticText24; } |
| 241 |
wxTextCtrl* GetTxPgDatabase() { return m_txPgDatabase; } |
| 242 |
wxListBox* GetListBoxPg() { return m_listBoxPg; } |
| 243 |
wxPanel* GetPostgrePanel() { return m_PostgrePanel; } |
| 244 |
wxNotebook* GetNotebook2() { return m_notebook2; } |
| 245 |
wxButton* GetButton36() { return m_button36; } |
| 246 |
wxButton* GetButton35() { return m_button35; } |
| 247 |
_DBSettingsDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Connection settings"), |
| 248 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 249 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER); |
| 250 |
virtual ~_DBSettingsDialog(); |
| 251 |
}; |
| 252 |
|
| 253 |
class _ErdPanel : public wxPanel |
| 254 |
{ |
| 255 |
protected: |
| 256 |
wxAuiToolBar* m_toolBarErd; |
| 257 |
|
| 258 |
protected: |
| 259 |
virtual void OnMouseWheel(wxMouseEvent& event) { event.Skip(); } |
| 260 |
|
| 261 |
public: |
| 262 |
wxAuiToolBar* GetToolBarErd() { return m_toolBarErd; } |
| 263 |
_ErdPanel(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, |
| 264 |
const wxSize& size = wxSize(640, 480), long style = wxTAB_TRAVERSAL); |
| 265 |
virtual ~_ErdPanel(); |
| 266 |
}; |
| 267 |
|
| 268 |
class _CreateForeignKey : public wxDialog |
| 269 |
{ |
| 270 |
protected: |
| 271 |
wxStaticText* m_staticText15; |
| 272 |
wxTextCtrl* m_txSrcTable; |
| 273 |
wxStaticText* m_staticText17; |
| 274 |
wxChoice* m_cmbSrcCol; |
| 275 |
wxRadioBox* m_radioRelation; |
| 276 |
wxRadioBox* m_radioOnDelete; |
| 277 |
wxRadioBox* m_radioOnUpdate; |
| 278 |
wxStaticText* m_staticText16; |
| 279 |
wxTextCtrl* m_txDstTable; |
| 280 |
wxStaticText* m_staticText18; |
| 281 |
wxChoice* m_cmbDstCol; |
| 282 |
wxButton* m_btnCancel; |
| 283 |
wxButton* m_btnOK; |
| 284 |
|
| 285 |
protected: |
| 286 |
virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); } |
| 287 |
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } |
| 288 |
virtual void OnOKUI(wxUpdateUIEvent& event) { event.Skip(); } |
| 289 |
|
| 290 |
public: |
| 291 |
wxStaticText* GetStaticText15() { return m_staticText15; } |
| 292 |
wxTextCtrl* GetTxSrcTable() { return m_txSrcTable; } |
| 293 |
wxStaticText* GetStaticText17() { return m_staticText17; } |
| 294 |
wxChoice* GetCmbSrcCol() { return m_cmbSrcCol; } |
| 295 |
wxRadioBox* GetRadioRelation() { return m_radioRelation; } |
| 296 |
wxRadioBox* GetRadioOnDelete() { return m_radioOnDelete; } |
| 297 |
wxRadioBox* GetRadioOnUpdate() { return m_radioOnUpdate; } |
| 298 |
wxStaticText* GetStaticText16() { return m_staticText16; } |
| 299 |
wxTextCtrl* GetTxDstTable() { return m_txDstTable; } |
| 300 |
wxStaticText* GetStaticText18() { return m_staticText18; } |
| 301 |
wxChoice* GetCmbDstCol() { return m_cmbDstCol; } |
| 302 |
wxButton* GetBtnCancel() { return m_btnCancel; } |
| 303 |
wxButton* GetBtnOK() { return m_btnOK; } |
| 304 |
_CreateForeignKey(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Create foreign key"), |
| 305 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 306 |
long style = wxDEFAULT_DIALOG_STYLE); |
| 307 |
virtual ~_CreateForeignKey(); |
| 308 |
}; |
| 309 |
|
| 310 |
class _LogDialog : public wxDialog |
| 311 |
{ |
| 312 |
protected: |
| 313 |
wxTextCtrl* m_textCtrl11; |
| 314 |
wxButton* m_button18; |
| 315 |
|
| 316 |
protected: |
| 317 |
virtual void OnCloseClick(wxCommandEvent& event) { event.Skip(); } |
| 318 |
virtual void OnCloseUI(wxUpdateUIEvent& event) { event.Skip(); } |
| 319 |
|
| 320 |
public: |
| 321 |
wxTextCtrl* GetTextCtrl11() { return m_textCtrl11; } |
| 322 |
wxButton* GetButton18() { return m_button18; } |
| 323 |
_LogDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Database log"), |
| 324 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(640, 460), |
| 325 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxMAXIMIZE_BOX); |
| 326 |
virtual ~_LogDialog(); |
| 327 |
}; |
| 328 |
|
| 329 |
class _ViewSettings : public wxDialog |
| 330 |
{ |
| 331 |
protected: |
| 332 |
wxStaticText* m_staticText19; |
| 333 |
wxTextCtrl* m_txName; |
| 334 |
wxStyledTextCtrl* m_scintilla2; |
| 335 |
wxButton* m_btnOK; |
| 336 |
|
| 337 |
protected: |
| 338 |
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } |
| 339 |
|
| 340 |
public: |
| 341 |
wxStaticText* GetStaticText19() { return m_staticText19; } |
| 342 |
wxTextCtrl* GetTxName() { return m_txName; } |
| 343 |
wxStyledTextCtrl* GetScintilla2() { return m_scintilla2; } |
| 344 |
wxButton* GetBtnOK() { return m_btnOK; } |
| 345 |
_ViewSettings(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("View settings"), |
| 346 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(650, 450), |
| 347 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER | wxMAXIMIZE_BOX | wxMINIMIZE_BOX); |
| 348 |
virtual ~_ViewSettings(); |
| 349 |
}; |
| 350 |
|
| 351 |
class _ClassGenerateDialog : public wxDialog |
| 352 |
{ |
| 353 |
protected: |
| 354 |
wxStaticText* m_staticText30; |
| 355 |
wxTextCtrl* m_txPrefix; |
| 356 |
wxStaticText* m_staticText31; |
| 357 |
wxTextCtrl* m_txPostfix; |
| 358 |
wxStaticText* m_staticText28; |
| 359 |
wxDirPickerCtrl* m_dirPicker; |
| 360 |
wxStaticText* m_staticText34; |
| 361 |
wxTextCtrl* m_txVirtualDir; |
| 362 |
wxButton* m_btnBrowseVirtualDir; |
| 363 |
wxStaticText* m_staticText36; |
| 364 |
wxChoice* m_choiceTemplates; |
| 365 |
wxStaticText* m_staticText29; |
| 366 |
wxTextCtrl* m_textLog; |
| 367 |
wxButton* m_button26; |
| 368 |
wxButton* m_button25; |
| 369 |
|
| 370 |
protected: |
| 371 |
virtual void OnBtnBrowseClick(wxCommandEvent& event) { event.Skip(); } |
| 372 |
virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); } |
| 373 |
virtual void OnGenerateClick(wxCommandEvent& event) { event.Skip(); } |
| 374 |
|
| 375 |
public: |
| 376 |
wxStaticText* GetStaticText30() { return m_staticText30; } |
| 377 |
wxTextCtrl* GetTxPrefix() { return m_txPrefix; } |
| 378 |
wxStaticText* GetStaticText31() { return m_staticText31; } |
| 379 |
wxTextCtrl* GetTxPostfix() { return m_txPostfix; } |
| 380 |
wxStaticText* GetStaticText28() { return m_staticText28; } |
| 381 |
wxDirPickerCtrl* GetDirPicker() { return m_dirPicker; } |
| 382 |
wxStaticText* GetStaticText34() { return m_staticText34; } |
| 383 |
wxTextCtrl* GetTxVirtualDir() { return m_txVirtualDir; } |
| 384 |
wxButton* GetBtnBrowseVirtualDir() { return m_btnBrowseVirtualDir; } |
| 385 |
wxStaticText* GetStaticText36() { return m_staticText36; } |
| 386 |
wxChoice* GetChoiceTemplates() { return m_choiceTemplates; } |
| 387 |
wxStaticText* GetStaticText29() { return m_staticText29; } |
| 388 |
wxTextCtrl* GetTextLog() { return m_textLog; } |
| 389 |
wxButton* GetButton26() { return m_button26; } |
| 390 |
wxButton* GetButton25() { return m_button25; } |
| 391 |
_ClassGenerateDialog(wxWindow* parent, wxWindowID id = wxID_ANY, |
| 392 |
const wxString& title = _("Class generator dialog"), const wxPoint& pos = wxDefaultPosition, |
| 393 |
const wxSize& size = wxSize(-1, -1), long style = wxDEFAULT_DIALOG_STYLE); |
| 394 |
virtual ~_ClassGenerateDialog(); |
| 395 |
}; |
| 396 |
|
| 397 |
class _CodePreviewDialog : public wxDialog |
| 398 |
{ |
| 399 |
protected: |
| 400 |
wxStyledTextCtrl* m_scintilla3; |
| 401 |
wxButton* m_button14; |
| 402 |
|
| 403 |
protected: |
| 404 |
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } |
| 405 |
|
| 406 |
public: |
| 407 |
wxStyledTextCtrl* GetScintilla3() { return m_scintilla3; } |
| 408 |
wxButton* GetButton14() { return m_button14; } |
| 409 |
_CodePreviewDialog(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("SQL Preview"), |
| 410 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500, 470), |
| 411 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER); |
| 412 |
virtual ~_CodePreviewDialog(); |
| 413 |
}; |
| 414 |
|
| 415 |
class _TableSettings : public wxDialog |
| 416 |
{ |
| 417 |
protected: |
| 418 |
wxInfoBar* m_infobar; |
| 419 |
wxStaticText* m_staticText23; |
| 420 |
wxTextCtrl* m_textName; |
| 421 |
wxSplitterWindow* m_splitter27; |
| 422 |
wxPanel* m_splitterPage31; |
| 423 |
wxStaticText* m_staticText55; |
| 424 |
wxAuiToolBar* m_auibar39; |
| 425 |
wxDataViewListCtrl* m_dvColumns; |
| 426 |
wxPanel* m_splitterPage35; |
| 427 |
wxStaticText* m_staticText57; |
| 428 |
wxAuiToolBar* m_auibar45; |
| 429 |
wxDataViewListCtrl* m_dvKeys; |
| 430 |
wxStaticText* m_staticText125; |
| 431 |
wxChoice* m_choiceLocalCol; |
| 432 |
wxStaticText* m_staticText131; |
| 433 |
wxChoice* m_choiceRefTable; |
| 434 |
wxStaticText* m_staticText135; |
| 435 |
wxChoice* m_choiceRefCol; |
| 436 |
wxRadioBox* m_radioOnUpdate; |
| 437 |
wxRadioBox* m_radioOnDelete; |
| 438 |
wxButton* m_button51; |
| 439 |
wxButton* m_button53; |
| 440 |
|
| 441 |
protected: |
| 442 |
virtual void OnInit(wxInitDialogEvent& event) { event.Skip(); } |
| 443 |
virtual void OnAddColumnClick(wxCommandEvent& event) { event.Skip(); } |
| 444 |
virtual void OnRemoveColumnClick(wxCommandEvent& event) { event.Skip(); } |
| 445 |
virtual void OnUpdateColumns(wxUpdateUIEvent& event) { event.Skip(); } |
| 446 |
virtual void OnMoveUpClick(wxCommandEvent& event) { event.Skip(); } |
| 447 |
virtual void OnUpdateMoveUp(wxUpdateUIEvent& event) { event.Skip(); } |
| 448 |
virtual void OnMoveDownClick(wxCommandEvent& event) { event.Skip(); } |
| 449 |
virtual void OnUpdateMoveDown(wxUpdateUIEvent& event) { event.Skip(); } |
| 450 |
virtual void OnColumnChanged(wxDataViewEvent& event) { event.Skip(); } |
| 451 |
virtual void OnAddKeyClick(wxCommandEvent& event) { event.Skip(); } |
| 452 |
virtual void OnRemoveKeyClick(wxCommandEvent& event) { event.Skip(); } |
| 453 |
virtual void OnUpdateKeys(wxUpdateUIEvent& event) { event.Skip(); } |
| 454 |
virtual void OnKeySelected(wxDataViewEvent& event) { event.Skip(); } |
| 455 |
virtual void OnKeyChanged(wxDataViewEvent& event) { event.Skip(); } |
| 456 |
virtual void OnLocalColSelected(wxCommandEvent& event) { event.Skip(); } |
| 457 |
virtual void OnRefTableSelected(wxCommandEvent& event) { event.Skip(); } |
| 458 |
virtual void OnRefColSelected(wxCommandEvent& event) { event.Skip(); } |
| 459 |
virtual void OnRadioUpdateSelected(wxCommandEvent& event) { event.Skip(); } |
| 460 |
virtual void OnRadioDeleteSelected(wxCommandEvent& event) { event.Skip(); } |
| 461 |
virtual void OnCancelClick(wxCommandEvent& event) { event.Skip(); } |
| 462 |
virtual void OnOKClick(wxCommandEvent& event) { event.Skip(); } |
| 463 |
|
| 464 |
public: |
| 465 |
wxInfoBar* GetInfobar() { return m_infobar; } |
| 466 |
wxStaticText* GetStaticText23() { return m_staticText23; } |
| 467 |
wxTextCtrl* GetTextName() { return m_textName; } |
| 468 |
wxStaticText* GetStaticText55() { return m_staticText55; } |
| 469 |
wxAuiToolBar* GetAuibar39() { return m_auibar39; } |
| 470 |
wxDataViewListCtrl* GetDvColumns() { return m_dvColumns; } |
| 471 |
wxPanel* GetSplitterPage31() { return m_splitterPage31; } |
| 472 |
wxStaticText* GetStaticText57() { return m_staticText57; } |
| 473 |
wxAuiToolBar* GetAuibar45() { return m_auibar45; } |
| 474 |
wxDataViewListCtrl* GetDvKeys() { return m_dvKeys; } |
| 475 |
wxStaticText* GetStaticText125() { return m_staticText125; } |
| 476 |
wxChoice* GetChoiceLocalCol() { return m_choiceLocalCol; } |
| 477 |
wxStaticText* GetStaticText131() { return m_staticText131; } |
| 478 |
wxChoice* GetChoiceRefTable() { return m_choiceRefTable; } |
| 479 |
wxStaticText* GetStaticText135() { return m_staticText135; } |
| 480 |
wxChoice* GetChoiceRefCol() { return m_choiceRefCol; } |
| 481 |
wxRadioBox* GetRadioOnUpdate() { return m_radioOnUpdate; } |
| 482 |
wxRadioBox* GetRadioOnDelete() { return m_radioOnDelete; } |
| 483 |
wxPanel* GetSplitterPage35() { return m_splitterPage35; } |
| 484 |
wxSplitterWindow* GetSplitter27() { return m_splitter27; } |
| 485 |
wxButton* GetButton51() { return m_button51; } |
| 486 |
wxButton* GetButton53() { return m_button53; } |
| 487 |
_TableSettings(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Table settings"), |
| 488 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1, -1), |
| 489 |
long style = wxDEFAULT_DIALOG_STYLE | wxRESIZE_BORDER); |
| 490 |
virtual ~_TableSettings(); |
| 491 |
}; |
| 492 |
|
| 493 |
class DbExplorerFrameBase : public wxFrame |
| 494 |
{ |
| 495 |
protected: |
| 496 |
protected: |
| 497 |
public: |
| 498 |
DbExplorerFrameBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT(""), |
| 499 |
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(500, 300), |
| 500 |
long style = wxDEFAULT_FRAME_STYLE); |
| 501 |
virtual ~DbExplorerFrameBase(); |
| 502 |
}; |
| 503 |
|
| 504 |
#endif |