31 m_settings( aSettings )
Class DIALOG_PNS_SETTINGS_BASE.
wxCheckBox * m_optimizeEntireDraggedTrack
wxCheckBox * m_violateDrc
wxCheckBox * m_removeLoops
wxCheckBox * m_fixAllSegments
wxRadioButton * m_rbShove
wxCheckBox * m_backPressure
wxCheckBox * m_smoothDragged
wxRadioButton * m_rbWalkaround
wxCheckBox * m_suggestEnding
wxCheckBox * m_freeAngleMode
wxCheckBox * m_autoPosture
wxRadioButton * m_rbMarkObstacles
virtual void onModeChange(wxCommandEvent &aEvent) override
bool TransferDataFromWindow() override
PNS::ROUTING_SETTINGS & m_settings
DIALOG_PNS_SETTINGS(wxWindow *aParent, PNS::ROUTING_SETTINGS &aSettings)
Push and Shove router settings dialog.
void SetupStandardButtons(std::map< int, wxString > aLabels={})
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
Contain all persistent settings of the router, such as the mode, optimization effort,...
bool GetOptimizeEntireDraggedTrack() const
bool RemoveLoops() const
Enable/disable loop (redundant track) removal.
void SetShoveVias(bool aShoveVias)
Return true if loop (redundant track) removal is on.
bool SmoothDraggedSegments() const
Enable/disable smoothing segments during dragging.
void SetAutoPosture(bool aEnable)
void SetSmoothDraggedSegments(bool aSmooth)
Return true if jumping over unmovable obstacles is on.
void SetOptimizeEntireDraggedTrack(bool aEnable)
bool ShoveVias() const
Enable/disable shoving vias.
bool SmartPads() const
Enable/disable Smart Pads (optimized connections).
void SetSuggestFinish(bool aSuggestFinish)
Return true if Smart Pads (optimized connections) is enabled.
bool GetFreeAngleMode() const
bool SuggestFinish()
Enable displaying suggestions for finishing the currently placed track.
bool GetAutoPosture() const
void SetMode(PNS_MODE aMode)
Return the optimizer effort. Bigger means cleaner traces, but slower routing.
void SetAllowDRCViolations(bool aViolate)
void SetJumpOverObstacles(bool aJump)
bool GetFixAllSegments() const
bool JumpOverObstacles() const
void SetFreeAngleMode(bool aEnable)
bool GetAllowDRCViolationsSetting() const
PNS_MODE Mode() const
Set the routing mode.
void SetSmartPads(bool aSmartPads)
Return true if follow mouse mode is active (permanently on for the moment).
void SetFixAllSegments(bool aEnable)
void SetRemoveLoops(bool aRemoveLoops)
Return true if suggesting the finish of currently placed track is on.
@ RM_MarkObstacles
Ignore collisions, mark obstacles.
@ RM_Walkaround
Only walk around.