2024-02-24 15:10:50 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2025-06-21 16:12:47 +02:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty)
|
2024-02-24 15:10:50 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2025-06-21 16:12:47 +02:00
|
|
|
class PCB_LAYER_BOX_SELECTOR;
|
2024-06-02 17:41:38 +01:00
|
|
|
class STD_BITMAP_BUTTON;
|
|
|
|
|
2024-02-24 15:10:50 +00:00
|
|
|
#include "dialog_shim.h"
|
2024-06-02 17:41:38 +01:00
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/srchctrl.h>
|
2024-02-24 15:10:50 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/sizer.h>
|
2024-06-02 17:41:38 +01:00
|
|
|
#include <wx/dataview.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2024-02-24 15:10:50 +00:00
|
|
|
#include <wx/button.h>
|
2025-06-21 16:12:47 +02:00
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/bmpcbox.h>
|
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/gbsizer.h>
|
2025-07-12 16:22:00 +02:00
|
|
|
#include <wx/notebook.h>
|
2024-02-24 15:10:50 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_ZONE_MANAGER_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_ZONE_MANAGER_BASE : public DIALOG_SHIM
|
|
|
|
{
|
2024-03-03 12:09:01 -05:00
|
|
|
private:
|
2024-02-24 15:10:50 +00:00
|
|
|
|
2024-03-03 12:09:01 -05:00
|
|
|
protected:
|
|
|
|
wxBoxSizer* m_MainBoxSizer;
|
2025-07-12 16:22:00 +02:00
|
|
|
wxNotebook* m_notebook1;
|
2025-06-21 16:12:47 +02:00
|
|
|
wxPanel* m_zonePropertiesTab;
|
2024-03-03 12:09:01 -05:00
|
|
|
wxBoxSizer* m_sizerTop;
|
2024-06-02 17:41:38 +01:00
|
|
|
wxSearchCtrl* m_filterCtrl;
|
|
|
|
wxCheckBox* m_checkName;
|
|
|
|
wxCheckBox* m_checkNet;
|
2024-03-03 12:09:01 -05:00
|
|
|
wxDataViewCtrl* m_viewZonesOverview;
|
|
|
|
wxBoxSizer* m_sizerZoneOP;
|
|
|
|
STD_BITMAP_BUTTON* m_btnMoveUp;
|
|
|
|
STD_BITMAP_BUTTON* m_btnMoveDown;
|
2024-06-02 17:41:38 +01:00
|
|
|
wxBoxSizer* m_sizerProperties;
|
2025-06-21 16:12:47 +02:00
|
|
|
wxPanel* m_perLayerPropertiesTab;
|
|
|
|
wxStaticText* m_layerSelectorLabel;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_layerSelector;
|
|
|
|
wxStaticText* m_hatchingOffsetXLabel;
|
|
|
|
wxTextCtrl* m_hatchingOffsetXValue;
|
|
|
|
wxStaticText* m_hatchingOffsetXUnit;
|
|
|
|
wxStaticText* m_hatchingOffsetYLabel;
|
|
|
|
wxTextCtrl* m_hatchingOffsetYValue;
|
|
|
|
wxStaticText* m_hatchingOffsetYUnit;
|
2024-06-02 17:41:38 +01:00
|
|
|
wxBoxSizer* m_sizerBottom;
|
2024-03-03 12:09:01 -05:00
|
|
|
wxCheckBox* m_checkRepour;
|
2025-06-21 16:12:47 +02:00
|
|
|
wxCheckBox* m_prototypeFills;
|
2024-07-09 06:22:03 +02:00
|
|
|
wxButton* m_updateDisplayedZones;
|
2024-03-03 12:09:01 -05:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2024-02-24 15:10:50 +00:00
|
|
|
|
2024-03-03 12:09:01 -05:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2024-04-29 13:44:09 +02:00
|
|
|
virtual void onDialogResize( wxSizeEvent& event ) { event.Skip(); }
|
2024-03-03 12:09:01 -05:00
|
|
|
virtual void OnFilterCtrlCancel( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFilterCtrlSearch( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFilterCtrlTextChange( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFilterCtrlEnter( wxCommandEvent& event ) { event.Skip(); }
|
2024-06-02 17:41:38 +01:00
|
|
|
virtual void OnTableChar( wxKeyEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTableCharHook( wxKeyEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDataViewCtrlSelectionChanged( wxDataViewEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnViewZonesOverviewOnLeftUp( wxMouseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUpClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDownClick( wxCommandEvent& event ) { event.Skip(); }
|
2025-06-21 16:12:47 +02:00
|
|
|
virtual void OnLayerSelection( wxCommandEvent& event ) { event.Skip(); }
|
2024-03-03 12:09:01 -05:00
|
|
|
virtual void OnRepourCheck( wxCommandEvent& event ) { event.Skip(); }
|
2024-07-09 06:22:03 +02:00
|
|
|
virtual void OnUpdateDisplayedZonesClick( wxCommandEvent& event ) { event.Skip(); }
|
2024-11-16 16:16:49 +01:00
|
|
|
virtual void OnOk( wxCommandEvent& event ) { event.Skip(); }
|
2024-02-24 15:10:50 +00:00
|
|
|
|
|
|
|
|
2024-03-03 12:09:01 -05:00
|
|
|
public:
|
|
|
|
|
2025-02-22 15:48:00 -05:00
|
|
|
DIALOG_ZONE_MANAGER_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Zone Manager"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2024-03-03 12:09:01 -05:00
|
|
|
|
|
|
|
~DIALOG_ZONE_MANAGER_BASE();
|
|
|
|
|
2024-02-24 15:10:50 +00:00
|
|
|
};
|
2024-03-03 12:09:01 -05:00
|
|
|
|