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-g8feb16b)
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>
14
15#include "dialog_shim.h"
16#include <wx/string.h>
17#include <wx/stattext.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/listctrl.h>
23#include <wx/button.h>
24#include <wx/bitmap.h>
25#include <wx/image.h>
26#include <wx/icon.h>
27#include <wx/sizer.h>
28#include <wx/bmpbuttn.h>
29#include <wx/dialog.h>
30
32
33
38{
39 private:
40
41 protected:
42 wxStaticText* m_availableListLabel;
43 wxStaticText* m_enabledListLabel;
44 wxListCtrl* m_availableListBox;
45 wxButton* m_btnAdd;
46 wxButton* m_btnRemove;
47 wxListCtrl* m_enabledListBox;
50 wxStdDialogButtonSizer* m_sdbSizer;
51 wxButton* m_sdbSizerOK;
53
54 // Virtual event handlers, override them in your derived class
55 virtual void onAvailableListItemSelected( wxListEvent& event ) = 0;
56 virtual void onAddItem( wxCommandEvent& event ) = 0;
57 virtual void onRemoveItem( wxCommandEvent& event ) = 0;
58 virtual void onEnabledListItemSelected( wxListEvent& event ) = 0;
59 virtual void onMoveUp( wxCommandEvent& event ) = 0;
60 virtual void onMoveDown( wxCommandEvent& event ) = 0;
61
62
63 public:
64 wxBoxSizer* m_ButtonsSizer;
65
66 EDA_REORDERABLE_LIST_DIALOG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 580,260 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
67
69
70};
71
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
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
A bitmap button widget that behaves like a standard dialog button except with an icon.