Debian Codegraph @

wxcrafter/src/EventsEditorDlg.h

raw
1 #ifndef EVENTSEDITORDLG_H
2 #define EVENTSEDITORDLG_H
3
4 #include "events_database.h"
5 #include "wxcrafter.h"
6 #include <entry.h>
7
8 class wxcWidget;
9 class wxCrafterPlugin;
10
11 class EventsEditorPane : public EventsEditorPaneBase
12 {
13 wxcWidget* m_control;
14 wxCrafterPlugin* m_plugin;
15
16 public:
17 static wxString PANE_NAME;
18
19 protected:
20 void DoInitialize();
21
22 protected:
23 void OnWidgetSelected(wxCommandEvent& e);
24 void OnProjectClosed(wxCommandEvent& e);
25 void OnUpdatePanes(wxCommandEvent& e); // Called when the current control has been altered
26 void OnValueChanged(wxPropertyGridEvent& e);
27 void OnDoubleClick(wxPropertyGridEvent& e);
28
29 public:
30 EventsEditorPane(wxWindow* parent, wxcWidget* control, wxCrafterPlugin* plugin);
31 virtual ~EventsEditorPane();
32 void OpenFunction(const wxString& kind, const wxString& fooname);
33 void Save();
34 void InitEventsForWidget(wxcWidget* control);
35 void Clear();
36 void SplitterPositionChanged();
37 };
38 #endif // EVENTSEDITORDLG_H