KiCad PCB EDA Suite
dialog_non_copper_zones_properties.cpp File Reference
#include <fctsys.h>
#include <kiface_i.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <widgets/unit_binder.h>
#include <class_zone.h>
#include <zones.h>
#include <dialog_non_copper_zones_properties_base.h>

Go to the source code of this file.

Classes

class  DIALOG_NON_COPPER_ZONES_EDITOR
 

Functions

int InvokeNonCopperZonesEditor (PCB_BASE_FRAME *aParent, ZONE_SETTINGS *aSettings)
 Function InvokeNonCopperZonesEditor invokes up a modal dialog window for non-copper zone editing. More...
 

Function Documentation

int InvokeNonCopperZonesEditor ( PCB_BASE_FRAME aParent,
ZONE_SETTINGS aSettings 
)

Function InvokeNonCopperZonesEditor invokes up a modal dialog window for non-copper zone editing.

Parameters
aParentis the PCB_BASE_FRAME calling parent window for the modal dialog, and it gives access to the BOARD through PCB_BASE_FRAME::GetBoard().
aSettingspoints to the ZONE_SETTINGS to edit.
Returns
int - tells if user aborted, changed only one zone, or all of them.

Definition at line 58 of file dialog_non_copper_zones_properties.cpp.

Referenced by PCB_EDIT_FRAME::Begin_Zone(), ZONE_CREATE_HELPER::createNewZone(), PCB_EDIT_FRAME::duplicateZone(), PCB_EDIT_FRAME::Edit_Zone_Params(), and PCB_EDITOR_CONTROL::ZoneDuplicate().

59 {
60  DIALOG_NON_COPPER_ZONES_EDITOR dlg( aParent, aSettings );
61 
62  return dlg.ShowModal();
63 }