ToolMap
Loading...
Searching...
No Matches
preference_dlg.h
1/***************************************************************************
2 preference_dlg.h
3 Display Preference dialog
4 -------------------
5 copyright : (C) 2011 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17#ifndef _PREFERENCE_DLG_H_
18#define _PREFERENCE_DLG_H_
19
20// For compilers that support precompilation, includes "wx/wx.h".
21#include <wx/wxprec.h>
22
23// Include wxWidgets' headers
24#ifndef WX_PRECOMP
25#include <wx/wx.h>
26#endif
27
28#include <wx/clrpicker.h>
29#include <wx/config.h>
30#include <wx/fileconf.h>
31#include <wx/notebook.h>
32
33class PreferenceDLG : public wxDialog {
34 private:
35 wxCheckBox* m_UpdateCheckCtrl;
36 wxTextCtrl* m_ProxyInfoCtrl;
37 wxColourPickerCtrl* m_SelColourCtrl;
38 wxCheckBox* m_SelOutlineCtrl;
39 wxCheckBox* m_RelPathCtrl;
40 wxCheckBox* m_BuildOverviewCtrl;
41 wxCheckBox* m_ctrl_debug_error;
42 wxCheckBox* m_ctrl_debug_query;
43
44 wxSlider* m_WaitingTimeCtrl;
45 wxRadioButton* m_RamCtrl;
46 wxRadioButton* m_MemoryCtrl;
47
48 void _CreateControls();
49
50 public:
51 PreferenceDLG(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Preferences"),
52 const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
53 long style = wxDEFAULT_DIALOG_STYLE);
54
56
57 virtual bool TransferDataToWindow();
58
59 virtual bool TransferDataFromWindow();
60};
61
62#endif
Definition preference_dlg.h:33