85        wxMessageBox( 
_( 
"Grid size X out of range." ), 
_( 
"Error" ), wxOK | wxICON_ERROR );
 
   91        wxMessageBox( 
_( 
"Grid size Y out of range." ), 
_( 
"Error" ), wxOK | wxICON_ERROR );
 
 
wxStaticText * m_staticTextYUnits
 
wxCheckBox * m_checkLinked
 
DIALOG_GRID_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Grid Settings"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE)
 
wxStaticText * m_staticTextX
 
wxStaticText * m_staticTextY
 
wxStaticText * m_staticTextXUnits
 
UNITS_PROVIDER * m_unitsProvider
 
void OnLinkedChecked(wxCommandEvent &event) override
 
DIALOG_GRID_SETTINGS(wxWindow *aParent, wxWindow *aEventSource, UNITS_PROVIDER *aProvider, GRID &aGrid)
 
bool TransferDataFromWindow() override
 
bool TransferDataToWindow() override
 
void OptOut(wxWindow *aWindow)
Opt out of control state saving.
 
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
 
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...
 
KICOMMON_API wxString StringFromValue(const EDA_IU_SCALE &aIuScale, EDA_UNITS aUnits, double aValue, bool aAddUnitsText=false, EDA_DATA_TYPE aType=EDA_DATA_TYPE::DISTANCE)
Return the string from aValue according to aUnits (inch, mm ...) for display.
 
Common grid settings, available to every frame.
 
VECTOR2< double > VECTOR2D