KiCad PCB EDA Suite
Loading...
Searching...
No Matches
eda_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>
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/textctrl.h>
22
#include <wx/sizer.h>
23
#include <wx/button.h>
24
#include <wx/dialog.h>
25
27
28
32
class
EDA_LIST_DIALOG_BASE
:
public
DIALOG_SHIM
33
{
34
private
:
35
36
protected
:
37
wxStaticText*
m_listLabel
;
38
wxListCtrl*
m_listBox
;
39
wxTextCtrl*
m_filterBox
;
40
wxStdDialogButtonSizer*
m_sdbSizer
;
41
wxButton*
m_sdbSizerOK
;
42
wxButton*
m_sdbSizerCancel
;
43
44
// Virtual event handlers, override them in your derived class
45
virtual
void
onSize
( wxSizeEvent& event ) = 0;
46
virtual
void
onListItemActivated
( wxListEvent& event ) = 0;
47
virtual
void
textChangeInFilterBox
( wxCommandEvent& event ) = 0;
48
49
50
public
:
51
wxBoxSizer*
m_ButtonsSizer
;
52
53
EDA_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 );
54
55
~EDA_LIST_DIALOG_BASE
();
56
57
};
58
DIALOG_SHIM
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition:
dialog_shim.h:88
EDA_LIST_DIALOG_BASE
Class EDA_LIST_DIALOG_BASE.
Definition:
eda_list_dialog_base.h:33
EDA_LIST_DIALOG_BASE::m_ButtonsSizer
wxBoxSizer * m_ButtonsSizer
Definition:
eda_list_dialog_base.h:51
EDA_LIST_DIALOG_BASE::onListItemActivated
virtual void onListItemActivated(wxListEvent &event)=0
EDA_LIST_DIALOG_BASE::m_listBox
wxListCtrl * m_listBox
Definition:
eda_list_dialog_base.h:38
EDA_LIST_DIALOG_BASE::m_listLabel
wxStaticText * m_listLabel
Definition:
eda_list_dialog_base.h:37
EDA_LIST_DIALOG_BASE::textChangeInFilterBox
virtual void textChangeInFilterBox(wxCommandEvent &event)=0
EDA_LIST_DIALOG_BASE::m_sdbSizerOK
wxButton * m_sdbSizerOK
Definition:
eda_list_dialog_base.h:41
EDA_LIST_DIALOG_BASE::m_filterBox
wxTextCtrl * m_filterBox
Definition:
eda_list_dialog_base.h:39
EDA_LIST_DIALOG_BASE::m_sdbSizerCancel
wxButton * m_sdbSizerCancel
Definition:
eda_list_dialog_base.h:42
EDA_LIST_DIALOG_BASE::onSize
virtual void onSize(wxSizeEvent &event)=0
EDA_LIST_DIALOG_BASE::~EDA_LIST_DIALOG_BASE
~EDA_LIST_DIALOG_BASE()
Definition:
eda_list_dialog_base.cpp:64
EDA_LIST_DIALOG_BASE::m_sdbSizer
wxStdDialogButtonSizer * m_sdbSizer
Definition:
eda_list_dialog_base.h:40
dialog_shim.h
src
common
dialogs
eda_list_dialog_base.h
Generated on Thu Nov 21 2024 00:06:36 for KiCad PCB EDA Suite by
1.9.6