12DIALOG_ZONE_MANAGER_BASE::DIALOG_ZONE_MANAGER_BASE( wxWindow* parent, wxWindowID
id,
const wxString& title,
const wxPoint& pos,
const wxSize& size,
long style ) :
DIALOG_SHIM( parent, id, title, pos, size, style )
14 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
19 bSizer12 =
new wxBoxSizer( wxVERTICAL );
24 bSizer7 =
new wxBoxSizer( wxVERTICAL );
34 m_btnMoveUp->SetToolTip(
_(
"Top zone has the highest priority. When a zone is inside another zone, if its priority is higher, its outlines are removed from the other zone.") );
39 m_btnMoveDown->SetToolTip(
_(
"Top zone has the highest priority. When a zone is inside another zone, if its priority is higher, its outlines are removed from the other zone.") );
54 m_filterCtrl =
new wxSearchCtrl(
this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
65 m_sizerTop->Add( bSizer7, 1, wxALL|wxEXPAND, 5 );
70 m_sizerProperties =
new wxStaticBoxSizer(
new wxStaticBox(
this, wxID_ANY,
_(
"Properties") ), wxVERTICAL );
79 bSizer61 =
new wxBoxSizer( wxHORIZONTAL );
81 m_checkRepour =
new wxCheckBox(
this, wxID_ANY,
_(
"Repour"), wxDefaultPosition, wxDefaultSize, 0 );
82 bSizer61->Add(
m_checkRepour, 0, wxALIGN_CENTER_VERTICAL|wxLEFT, 10 );
85 bSizer61->Add( 0, 0, 1, wxEXPAND, 5 );
96 bSizer61->Add(
m_sdbSizer, 0, wxALL|wxEXPAND, 5 );
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
virtual void onDialogResize(wxSizeEvent &event)
wxCheckBox * m_checkRepour
wxButton * m_sdbSizerApply
STD_BITMAP_BUTTON * m_btnMoveUp
virtual void OnFilterCtrlCancel(wxCommandEvent &event)
virtual void OnViewZonesOverviewOnLeftUp(wxMouseEvent &event)
virtual void OnTableCharHook(wxKeyEvent &event)
wxStaticBoxSizer * m_sizerProperties
~DIALOG_ZONE_MANAGER_BASE()
virtual void OnTableChar(wxKeyEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void OnRepourCheck(wxCommandEvent &event)
virtual void OnFilterCtrlTextChange(wxCommandEvent &event)
DIALOG_ZONE_MANAGER_BASE(wxWindow *parent, wxWindowID id=ID_DIALOG_COPPER_ZONE_BASE, const wxString &title=_("Zone Manager"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
virtual void OnDataViewCtrlSelectionChanged(wxDataViewEvent &event)
wxButton * m_sdbSizerCancel
wxBoxSizer * m_sizerZoneOP
wxBoxSizer * m_MainBoxSizer
wxSearchCtrl * m_filterCtrl
wxDataViewCtrl * m_viewZonesOverview
virtual void OnFilterCtrlSearch(wxCommandEvent &event)
STD_BITMAP_BUTTON * m_btnMoveDown
virtual void OnFilterCtrlEnter(wxCommandEvent &event)
virtual void OnButtonApplyClick(wxCommandEvent &event)