|
KiCad PCB EDA Suite
|
#include <wx/radiobut.h>#include <wx/statbox.h>#include <kiface_base.h>#include <confirm.h>#include <pcb_edit_frame.h>#include <pcbnew_settings.h>#include <zones.h>#include <widgets/unit_binder.h>#include <widgets/std_bitmap_button.h>#include <zone.h>#include <zone_settings_bag.h>#include <pad.h>#include <grid_layer_box_helpers.h>#include <tool/tool_manager.h>#include <panel_zone_properties.h>#include <dialog_copper_zones_base.h>#include <tools/pcb_actions.h>Go to the source code of this file.
Classes | |
| class | DIALOG_COPPER_ZONE |
Functions | |
| int | InvokeCopperZonesEditor (PCB_BASE_FRAME *aCaller, ZONE *aZone, ZONE_SETTINGS *aSettings, CONVERT_SETTINGS *aConvertSettings) |
| Function InvokeCopperZonesEditor invokes up a modal dialog window for copper zone editing. | |
| int InvokeCopperZonesEditor | ( | PCB_BASE_FRAME * | aCaller, |
| ZONE * | aZone, | ||
| ZONE_SETTINGS * | aSettings, | ||
| CONVERT_SETTINGS * | aConvertSettings = nullptr ) |
Function InvokeCopperZonesEditor invokes up a modal dialog window for copper zone editing.
| aCaller | is the PCB_BASE_FRAME calling parent window for the modal dialog, and it gives access to the BOARD through PCB_BASE_FRAME::GetBoard(). |
| aZone | the zone being edited, or nullptr if a zone is being created. |
| aSettings | points to the ZONE_SETTINGS to edit. |
Definition at line 91 of file dialog_copper_zones.cpp.
References DIALOG_COPPER_ZONE::COPPER_ZONE_CANCEL, DIALOG_COPPER_ZONE::COPPER_ZONE_OK, DIALOG_COPPER_ZONE::COPPER_ZONE_OPEN_ZONE_MANAGER, DIALOG_COPPER_ZONE::GetReturnValue(), TOOLS_HOLDER::GetToolManager(), TOOL_MANAGER::RunAction(), DIALOG_SHIM::ShowQuasiModal(), and PCB_ACTIONS::zonesManager.
Referenced by ZONE_CREATE_HELPER::createNewZone(), CONVERT_TOOL::CreatePolys(), PCB_EDIT_FRAME::Edit_Zone_Params(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), and BOARD_EDITOR_CONTROL::ZoneDuplicate().