KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_zone_manager.cpp File Reference
#include <memory>
#include <optional>
#include <wx/dataview.h>
#include <wx/debug.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/radiobut.h>
#include <kiface_base.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <pcbnew_settings.h>
#include <wx/string.h>
#include <zones.h>
#include <board_commit.h>
#include <widgets/unit_binder.h>
#include <zone.h>
#include <pad.h>
#include <board.h>
#include <trigo.h>
#include <bitmaps.h>
#include <eda_pattern_match.h>
#include <string_utils.h>
#include <zone_filler.h>
#include "dialog_zone_manager_base.h"
#include "model_zones_overview_table.h"
#include "panel_zone_properties.h"
#include "dialog_zone_manager.h"
#include "widgets/wx_progress_reporters.h"
#include "zone_management_base.h"
#include "zone_manager/panel_zone_gal.h"
#include "zone_manager/zone_manager_preference.h"
#include "zones_container.h"
#include "pane_zone_viewer.h"

Go to the source code of this file.

Functions

int InvokeZonesManager (PCB_BASE_FRAME *aCaller, ZONE_SETTINGS *aZoneInfo)
 Function InvokeZonesManager invokes up a modal dialog window for zones manager.
 

Function Documentation

◆ InvokeZonesManager()

int InvokeZonesManager ( PCB_BASE_FRAME aCall,
ZONE_SETTINGS aSettings 
)

Function InvokeZonesManager invokes up a modal dialog window for zones manager.

Parameters
aCalleris the PCB_BASE_FRAME calling parent window for the modal dialog, and it gives access to the BOARD through PCB_BASE_FRAME::GetBoard().
Returns
int - tells if user aborted, or edited the zones

Definition at line 216 of file dialog_zone_manager.cpp.

References ZONE_MANAGER_PREFERENCE::GetRepourOnClose(), res, DIALOG_SHIM::ShowQuasiModal(), and ZONE_MANAGER_REPOUR.

Referenced by GLOBAL_EDIT_TOOL::ZonesManager().