KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_reorderable_list_dialog_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.h>
13#include "dialog_shim.h"
14#include <wx/string.h>
15#include <wx/stattext.h>
16#include <wx/gdicmn.h>
17#include <wx/font.h>
18#include <wx/colour.h>
19#include <wx/settings.h>
20#include <wx/listctrl.h>
21#include <wx/sizer.h>
22#include <wx/button.h>
23#include <wx/bitmap.h>
24#include <wx/image.h>
25#include <wx/icon.h>
26#include <wx/bmpbuttn.h>
27#include <wx/dialog.h>
28
30
31
36{
37 private:
38
39 protected:
40 wxStaticText* m_availableListLabel;
41 wxListCtrl* m_availableListBox;
42 wxButton* m_btnAdd;
43 wxButton* m_btnRemove;
44 wxStaticText* m_enabledListLabel;
45 wxListCtrl* m_enabledListBox;
46 wxBitmapButton* m_btnUp;
47 wxBitmapButton* m_btnDown;
48 wxStdDialogButtonSizer* m_sdbSizer;
49 wxButton* m_sdbSizerOK;
51
52 // Virtual event handlers, override them in your derived class
53 virtual void onAvailableListItemSelected( wxListEvent& event ) = 0;
54 virtual void onAddItem( wxCommandEvent& event ) = 0;
55 virtual void onRemoveItem( wxCommandEvent& event ) = 0;
56 virtual void onEnabledListItemSelected( wxListEvent& event ) = 0;
57 virtual void onMoveUp( wxCommandEvent& event ) = 0;
58 virtual void onMoveDown( wxCommandEvent& event ) = 0;
59
60
61 public:
62 wxBoxSizer* m_ButtonsSizer;
63
64 EDA_REORDERABLE_LIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
65
67
68};
69
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:83
Class EDA_REORDERABLE_LIST_DIALOG_BASE.
virtual void onMoveUp(wxCommandEvent &event)=0
virtual void onEnabledListItemSelected(wxListEvent &event)=0
virtual void onAddItem(wxCommandEvent &event)=0
virtual void onMoveDown(wxCommandEvent &event)=0
virtual void onRemoveItem(wxCommandEvent &event)=0
virtual void onAvailableListItemSelected(wxListEvent &event)=0