65 m_Size( aParent, m_sizeLabel, m_sizeCtrl, m_sizeUnits ),
66 m_Thickness( aParent, m_thicknessLabel, m_thicknessCtrl, m_thicknessUnits )
109 commit.
Push(
_(
"Modified alignment target" ) );
COMMIT & Modify(EDA_ITEM *aItem)
Create an undo entry for an item that has been already modified.
~DIALOG_TARGET_PROPERTIES()
Class DIALOG_TARGET_PROPERTIES_BASE.
Implementation of conversion functions that require both schematic and board internal units.
void SetFlags(EDA_ITEM_FLAGS aMask)
void ShowTargetOptionsDialog(PCB_TARGET *aTarget)
bool TransferDataToWindow() override
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
DIALOG_TARGET_PROPERTIES(PCB_EDIT_FRAME *aParent, PCB_TARGET *aTarget)
bool TransferDataFromWindow() override
void SetShape(int aShape)
EDA_ITEM_FLAGS GetEditFlags() const
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
virtual bool Validate(double aMin, double aMax, EDA_UNITS aUnits=EDA_UNITS::UNSCALED)
Validate the control against the given range, informing the user of any errors found.
virtual void SetValue(int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
The main frame for Pcbnew.
virtual void Push(const wxString &aMessage=wxT("A commit"), bool aCreateUndoEntry=true, bool aSetDirtyBit=true) override
Revert the commit by restoring the modified items state.
virtual long long int GetValue()
Return the current value in Internal Units.
void SetWidth(int aWidth)
wxButton * m_sdbSizerButtsOK
#define IN_EDIT
Item currently edited.
PCB_EDIT_FRAME * m_Parent