14DIALOG_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 )
16 this->SetSizeHints( wxSize( -1,-1 ), wxDefaultSize );
22 m_splitter =
new wxSplitterWindow(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxSP_3DSASH|wxSP_LIVE_UPDATE );
27 wxBoxSizer* listPanelSizer;
28 listPanelSizer =
new wxBoxSizer( wxVERTICAL );
30 wxBoxSizer* m_leftColumn;
31 m_leftColumn =
new wxBoxSizer( wxVERTICAL );
33 wxBoxSizer* searchSizer;
34 searchSizer =
new wxBoxSizer( wxHORIZONTAL );
36 m_filterCtrl =
new wxSearchCtrl(
m_listPanel, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_PROCESS_ENTER );
41 searchSizer->Add(
m_filterCtrl, 1, wxALIGN_CENTER_VERTICAL, 1 );
44 searchSizer->Add( 10, 0, 0, wxEXPAND, 5 );
48 searchSizer->Add(
m_checkName, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
52 searchSizer->Add(
m_checkNet, 0, wxALIGN_CENTER_VERTICAL, 5 );
55 m_leftColumn->Add( searchSizer, 0, wxBOTTOM|wxEXPAND|wxTOP, 5 );
57 m_viewZonesOverview =
new wxDataViewCtrl(
m_listPanel, wxID_ANY, wxDefaultPosition, wxSize( -1,240 ), wxDV_HORIZ_RULES|wxDV_SINGLE|wxDV_VERT_RULES );
65 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.") );
70 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.") );
78 listPanelSizer->Add( m_leftColumn, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
85 wxBoxSizer* zonePanelSizer;
86 zonePanelSizer =
new wxBoxSizer( wxVERTICAL );
115 m_checkRepour =
new wxCheckBox(
this, wxID_ANY,
_(
"Refill zones"), wxDefaultPosition, wxDefaultSize, 0 );
116 m_checkRepour->SetToolTip(
_(
"Refill zones after changes made on board") );
123 m_updateDisplayedZones =
new wxButton(
this, wxID_ANY,
_(
"Update Displayed Zones"), wxDefaultPosition, wxDefaultSize, 0 );
124 m_updateDisplayedZones->SetToolTip(
_(
"Update filled areas shown in dialog, according to the new current settings") );