100 bool InvokeTool(
const std::string& aToolName );
145 template<
typename T, std::enable_if_t<!std::is_convertible_v<T*, COMMIT*>>* =
nullptr>
149 ki::any a(
static_cast<T>( aParam ) );
151 return doRunAction( aActionName,
true, a,
nullptr );
159 return doRunAction( aActionName,
true, a,
nullptr );
173 template<
typename T, std::enable_if_t<!std::is_convertible_v<T, COMMIT*>>* =
nullptr>
177 ki::any a(
static_cast<T>( aParam ) );
196 ki::any a(
static_cast<T>( aParam ) );
234 ki::any a(
static_cast<T>( aParam ) );
236 return doRunAction( aActionName,
false, a,
nullptr );
244 return doRunAction( aActionName,
false, a,
nullptr );
258 template<
typename T, std::enable_if_t<!std::is_convertible_v<T, COMMIT*>>* =
nullptr>
262 ki::any a(
static_cast<T>( aParam ) );
283 return doRunAction( aAction,
false, a, aCommit,
true );
326 std::map<const char*, TOOL_BASE*>::iterator tool =
m_toolTypes.find(
typeid(
T ).
name() );
329 return static_cast<T*
>( tool->second );
545 typedef std::pair<TOOL_EVENT_LIST, TOOL_STATE_FUNC>
TRANSITION;
551 COMMIT* aCommit,
bool aFromAPI =
false );
Manage TOOL_ACTION objects.
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
Represent a set of changes (additions, deletions or modifications) of a data model (e....
A base class for most all the KiCad significant classes used in schematics and boards.
An interface for classes handling user events controlling the view behavior such as zooming,...
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
A type-safe container of any type.
The Cairo implementation of the graphics abstraction layer.
Structure to keep VIEW_CONTROLS settings for easy store/restore operations.
VECTOR2< double > VECTOR2D