forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakePluginUi.h
157 lines (138 loc) · 5.81 KB
/
CMakePluginUi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
//////////////////////////////////////////////////////////////////////
// This file was auto-generated by codelite's wxCrafter Plugin
// wxCrafter project file: CMakePlugin.wxcp
// Do not modify this file by hand!
//////////////////////////////////////////////////////////////////////
#ifndef CODELITE_CMAKEPLUGIN_CMAKEPLUGIN_BASE_CLASSES_H
#define CODELITE_CMAKEPLUGIN_CMAKEPLUGIN_BASE_CLASSES_H
#include <wx/settings.h>
#include <wx/xrc/xmlres.h>
#include <wx/xrc/xh_bmp.h>
#include <wx/dialog.h>
#include <wx/iconbndl.h>
#include <wx/artprov.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/filepicker.h>
#include <wx/choice.h>
#include <wx/arrstr.h>
#include <wx/button.h>
#include <wx/panel.h>
#include <wx/gauge.h>
#include <wx/srchctrl.h>
#include <wx/listbox.h>
#include <wx/checkbox.h>
#include <wx/combobox.h>
#include <wx/textctrl.h>
#include <wx/imaglist.h>
#include <wx/bitmap.h>
#include <map>
#include <wx/icon.h>
#if wxVERSION_NUMBER >= 2900
#include <wx/persist.h>
#include <wx/persist/toplevel.h>
#include <wx/persist/bookctrl.h>
#include <wx/persist/treebook.h>
#endif
class CMakeSettingsDialogBase : public wxDialog
{
protected:
wxStaticText* m_staticTextProgram;
wxFilePickerCtrl* m_filePickerProgram;
wxStaticText* m_staticTextDefaultGenerator;
wxChoice* m_choiceDefaultGenerator;
wxStdDialogButtonSizer* m_stdBtnSizer;
wxButton* m_buttonOk;
wxButton* m_buttonCancel;
protected:
public:
wxStaticText* GetStaticTextProgram() { return m_staticTextProgram; }
wxFilePickerCtrl* GetFilePickerProgram() { return m_filePickerProgram; }
wxStaticText* GetStaticTextDefaultGenerator() { return m_staticTextDefaultGenerator; }
wxChoice* GetChoiceDefaultGenerator() { return m_choiceDefaultGenerator; }
CMakeSettingsDialogBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("CMakePlugin Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
virtual ~CMakeSettingsDialogBase();
};
class CMakeHelpTabBase : public wxPanel
{
protected:
wxStaticText* m_staticTextVersion;
wxStaticText* m_staticTextVersionValue;
wxStaticText* m_staticText222;
wxChoice* m_choiceTopics;
wxButton* m_buttonReload;
wxGauge* m_gaugeLoad;
wxSearchCtrl* m_searchCtrlFilter;
wxListBox* m_listBoxList;
protected:
virtual void OnUpdateUi(wxUpdateUIEvent& event) { event.Skip(); }
virtual void OnChangeTopic(wxCommandEvent& event) { event.Skip(); }
virtual void OnReload(wxCommandEvent& event) { event.Skip(); }
virtual void OnSearch(wxCommandEvent& event) { event.Skip(); }
virtual void OnSearchCancel(wxCommandEvent& event) { event.Skip(); }
virtual void OnSelect(wxCommandEvent& event) { event.Skip(); }
virtual void OnInsert(wxCommandEvent& event) { event.Skip(); }
public:
wxStaticText* GetStaticTextVersion() { return m_staticTextVersion; }
wxStaticText* GetStaticTextVersionValue() { return m_staticTextVersionValue; }
wxStaticText* GetStaticText222() { return m_staticText222; }
wxChoice* GetChoiceTopics() { return m_choiceTopics; }
wxButton* GetButtonReload() { return m_buttonReload; }
wxGauge* GetGaugeLoad() { return m_gaugeLoad; }
wxSearchCtrl* GetSearchCtrlFilter() { return m_searchCtrlFilter; }
wxListBox* GetListBoxList() { return m_listBoxList; }
CMakeHelpTabBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxTAB_TRAVERSAL);
virtual ~CMakeHelpTabBase();
};
class CMakeProjectSettingsPanelBase : public wxPanel
{
protected:
wxCheckBox* m_checkBoxEnable;
wxStaticText* m_staticTextParent;
wxChoice* m_choiceParent;
wxStaticText* m_staticTextSourceDir;
wxDirPickerCtrl* m_dirPickerSourceDir;
wxStaticText* m_staticTextBuildDir;
wxDirPickerCtrl* m_dirPickerBuildDir;
wxStaticText* m_staticTextGenerator;
wxChoice* m_choiceGenerator;
wxStaticText* m_staticTextBuildType;
wxComboBox* m_comboBoxBuildType;
wxStaticText* m_staticTextArguments;
wxTextCtrl* m_textCtrlArguments;
protected:
virtual void OnCheck(wxUpdateUIEvent& event) { event.Skip(); }
virtual void OnCheck2(wxUpdateUIEvent& event) { event.Skip(); }
public:
wxCheckBox* GetCheckBoxEnable() { return m_checkBoxEnable; }
wxStaticText* GetStaticTextParent() { return m_staticTextParent; }
wxChoice* GetChoiceParent() { return m_choiceParent; }
wxStaticText* GetStaticTextSourceDir() { return m_staticTextSourceDir; }
wxDirPickerCtrl* GetDirPickerSourceDir() { return m_dirPickerSourceDir; }
wxStaticText* GetStaticTextBuildDir() { return m_staticTextBuildDir; }
wxDirPickerCtrl* GetDirPickerBuildDir() { return m_dirPickerBuildDir; }
wxStaticText* GetStaticTextGenerator() { return m_staticTextGenerator; }
wxChoice* GetChoiceGenerator() { return m_choiceGenerator; }
wxStaticText* GetStaticTextBuildType() { return m_staticTextBuildType; }
wxComboBox* GetComboBoxBuildType() { return m_comboBoxBuildType; }
wxStaticText* GetStaticTextArguments() { return m_staticTextArguments; }
wxTextCtrl* GetTextCtrlArguments() { return m_textCtrlArguments; }
CMakeProjectSettingsPanelBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(400,300), long style = wxTAB_TRAVERSAL);
virtual ~CMakeProjectSettingsPanelBase();
};
class cmakeImages : public wxImageList
{
protected:
// Maintain a map of all bitmaps representd by their name
std::map<wxString, wxBitmap> m_bitmaps;
protected:
public:
cmakeImages();
const wxBitmap& Bitmap(const wxString &name) const {
if ( !m_bitmaps.count(name) )
return wxNullBitmap;
return m_bitmaps.find(name)->second;
}
virtual ~cmakeImages();
};
#endif