Home
last modified time | relevance | path

Searched refs:ACTION_MENU (Results 1 – 25 of 98) sorted by relevance

1234

/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/tool/
H A Daction_menu.cpp47 ACTION_MENU::ACTION_MENU( bool isContextMenu, TOOL_INTERACTIVE* aTool ) : in ACTION_MENU() function in ACTION_MENU
60 ACTION_MENU::~ACTION_MENU() in ~ACTION_MENU()
66 ACTION_MENU* parent = dynamic_cast<ACTION_MENU*>( GetParent() ); in ~ACTION_MENU()
184 wxMenuItem* ACTION_MENU::Add( ACTION_MENU* aMenu ) in Add()
239 void ACTION_MENU::Clear() in Clear()
303 ACTION_MENU* ACTION_MENU::Clone() const in Clone()
312 ACTION_MENU* ACTION_MENU::create() const in create()
314 ACTION_MENU* menu = new ACTION_MENU( false ); in create()
461 ACTION_MENU* parent = dynamic_cast<ACTION_MENU*>( GetParent() ); in OnMenuEvent()
494 ACTION_MENU* cxmenu = static_cast<ACTION_MENU*>( menu ); in OnMenuEvent()
[all …]
H A Dconditional_menu.cpp34 ACTION_MENU( true, aTool ) in CONDITIONAL_MENU()
39 ACTION_MENU* CONDITIONAL_MENU::create() const in create()
89 void CONDITIONAL_MENU::AddMenu( ACTION_MENU* aMenu, const SELECTION_CONDITION& aCondition, in AddMenu()
110 runOnSubmenus( [] ( ACTION_MENU* aMenu ) { in Resolve()
189 [&aSelection]( ACTION_MENU* aMenu ) in Evaluate()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pcbnew/
H A Dmenubar_footprint_editor.cpp49 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
64 ACTION_MENU* submenuImport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
73 ACTION_MENU* submenuExport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
97 ACTION_MENU* editMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
118 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
136 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
148 ACTION_MENU* drawingModeSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
176 ACTION_MENU* placeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
196 ACTION_MENU* inspectMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
206 ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
H A Dmenubar_pcb_editor.cpp55 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
106 ACTION_MENU* submenuImport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
125 ACTION_MENU* submenuExport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
188 ACTION_MENU* editMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
223 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
243 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
301 ACTION_MENU* placeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
355 ACTION_MENU* routeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
374 ACTION_MENU* inspectMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
393 ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
H A Dtoolbars_pcb_editor.cpp377 std::unique_ptr<ACTION_MENU> gridMenu = std::make_unique<ACTION_MENU>( false, selTool ); in ReCreateOptToolbar()
468 std::unique_ptr<ACTION_MENU> routeMenu = in ReCreateVToolbar()
469 std::make_unique<ACTION_MENU>( false, selTool ); in ReCreateVToolbar()
471 routeMenu->Add( PCB_ACTIONS::routerHighlightMode, ACTION_MENU::CHECK ); in ReCreateVToolbar()
472 routeMenu->Add( PCB_ACTIONS::routerShoveMode, ACTION_MENU::CHECK ); in ReCreateVToolbar()
473 routeMenu->Add( PCB_ACTIONS::routerWalkaroundMode, ACTION_MENU::CHECK ); in ReCreateVToolbar()
487 std::unique_ptr<ACTION_MENU> tuneMenu = std::make_unique<ACTION_MENU>( false, selTool ); in ReCreateVToolbar()
496 std::unique_ptr<ACTION_MENU> zoneMenu = std::make_unique<ACTION_MENU>( false, selTool ); in ReCreateVToolbar()
501 std::unique_ptr<ACTION_MENU> lineMenu = std::make_unique<ACTION_MENU>( false, selTool ); in ReCreateVToolbar()
H A Dtoolbars_footprint_viewer.cpp162 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
168 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/gerbview/
H A Dmenubar.cpp51 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
52 static ACTION_MENU* openRecentGbrMenu; in ReCreateMenuBar()
53 static ACTION_MENU* openRecentDrlMenu; in ReCreateMenuBar()
54 static ACTION_MENU* openRecentJobMenu; in ReCreateMenuBar()
55 static ACTION_MENU* openRecentZipMenu; in ReCreateMenuBar()
66 openRecentGbrMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
84 openRecentDrlMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
151 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
172 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
195 ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/eeschema/symbol_editor/
H A Dmenubar_symbol_editor.cpp47 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
67 ACTION_MENU* submenuExport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
84 ACTION_MENU* editMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
106 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
118 viewMenu->Add( ACTIONS::toggleGrid, ACTION_MENU::CHECK ); in ReCreateMenuBar()
122 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
125 unitsSubMenu->Add( ACTIONS::inchesUnits, ACTION_MENU::CHECK ); in ReCreateMenuBar()
126 unitsSubMenu->Add( ACTIONS::milsUnits, ACTION_MENU::CHECK ); in ReCreateMenuBar()
138 ACTION_MENU* placeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
150 ACTION_MENU* inspectMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/3d-viewer/3d_viewer/
H A D3d_menubar.cpp48 ACTION_MENU* fileMenu = new ACTION_MENU( false, tool ); in CreateMenuBar()
67 ACTION_MENU* editMenu = new ACTION_MENU( false, tool ); in CreateMenuBar()
77 ACTION_MENU* viewMenu = new ACTION_MENU( false, tool ); in CreateMenuBar()
105 ACTION_MENU* prefsMenu = new ACTION_MENU( false, tool ); in CreateMenuBar()
110 ACTION_MENU::CHECK ); in CreateMenuBar()
121 prefsMenu->Add( EDA_3D_ACTIONS::showTHT, ACTION_MENU::CHECK ); in CreateMenuBar()
122 prefsMenu->Add( EDA_3D_ACTIONS::showSMD, ACTION_MENU::CHECK ); in CreateMenuBar()
123 prefsMenu->Add( EDA_3D_ACTIONS::showVirtual, ACTION_MENU::CHECK ); in CreateMenuBar()
127 prefsMenu->Add( EDA_3D_ACTIONS::showAxis, ACTION_MENU::CHECK ); in CreateMenuBar()
128 prefsMenu->Add( EDA_3D_ACTIONS::showBBoxes, ACTION_MENU::CHECK ); in CreateMenuBar()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/pagelayout_editor/
H A Dmenubar.cpp56 openRecentMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
66 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
90 ACTION_MENU* editMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
103 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
112 viewMenu->Add( ACTIONS::toggleGrid, ACTION_MENU::CHECK ); in ReCreateMenuBar()
115 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
118 unitsSubMenu->Add( ACTIONS::inchesUnits, ACTION_MENU::CHECK ); in ReCreateMenuBar()
123 viewMenu->Add( ACTIONS::toggleCursorStyle, ACTION_MENU::CHECK ); in ReCreateMenuBar()
135 ACTION_MENU* placeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
147 ACTION_MENU* inspectorMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/eeschema/
H A Dmenubar.cpp53 ACTION_MENU* fileMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
54 static ACTION_MENU* openRecentMenu; in ReCreateMenuBar()
101 ACTION_MENU* submenuImport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
114 ACTION_MENU* submenuExport = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
135 ACTION_MENU* editMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
162 ACTION_MENU* viewMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
181 ACTION_MENU* unitsSubMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
200 ACTION_MENU* placeMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
225 ACTION_MENU* inspectMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
240 ACTION_MENU* toolsMenu = new ACTION_MENU( false, selTool ); in ReCreateMenuBar()
[all …]
H A Dtoolbars_symbol_viewer.cpp106 ACTION_MENU* fileMenu = new ACTION_MENU( false, libControl ); in ReCreateMenuBar()
113 ACTION_MENU* viewMenu = new ACTION_MENU( false, libControl ); in ReCreateMenuBar()
121 viewMenu->Add( ACTIONS::toggleGrid, ACTION_MENU::CHECK ); in ReCreateMenuBar()
125 viewMenu->Add( EE_ACTIONS::showElectricalTypes, ACTION_MENU::CHECK ); in ReCreateMenuBar()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/include/tool/
H A Daction_menu.h48 class ACTION_MENU : public wxMenu
52 ACTION_MENU( bool isContextMenu, TOOL_INTERACTIVE* aTool = nullptr );
54 ~ACTION_MENU() override;
56 ACTION_MENU( const ACTION_MENU& aMenu ) = delete;
57 ACTION_MENU& operator=( const ACTION_MENU& aMenu ) = delete;
109 wxMenuItem* Add( ACTION_MENU* aMenu );
175 ACTION_MENU* Clone() const;
187 virtual ACTION_MENU* create() const;
218 void copyFrom( const ACTION_MENU& aMenu );
237 void runOnSubmenus( std::function<void(ACTION_MENU*)> aFunction );
[all …]
H A Dtool_menu.h32 class ACTION_MENU; variable
75 void AddSubMenu( std::shared_ptr<ACTION_MENU> aSubMenu );
80 std::vector<std::shared_ptr<ACTION_MENU> >& GetSubMenus() in GetSubMenus()
115 std::vector<std::shared_ptr<ACTION_MENU> > m_subMenus;
H A Dconditional_menu.h41 class CONDITIONAL_MENU : public ACTION_MENU
49 ACTION_MENU* create() const override;
95 void AddMenu( ACTION_MENU* aMenu,
133 ENTRY( ACTION_MENU* aMenu, SELECTION_CONDITION aCondition, int aOrder ) : in ENTRY()
191 inline ACTION_MENU* Menu() const in Menu()
231 ACTION_MENU* menu;
H A Dzoom_menu.h32 class ZOOM_MENU : public ACTION_MENU
38 ACTION_MENU* create() const override in create()
H A Dgrid_menu.h33 class GRID_MENU : public ACTION_MENU
42 ACTION_MENU* create() const override in create()
H A Daction_toolbar.h37 class ACTION_MENU; variable
235 void AddToolContextMenu( const TOOL_ACTION& aAction, std::unique_ptr<ACTION_MENU> aMenu );
352 std::map<int, std::unique_ptr<ACTION_MENU>> m_toolMenus;
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/kicad/
H A Dmenubar.cpp53 ACTION_MENU* fileMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
58 static ACTION_MENU* openRecentMenu; in ReCreateMenuBar()
64 openRecentMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
98 ACTION_MENU* importMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
130 ACTION_MENU* viewMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
148 ACTION_MENU* toolsMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
172 ACTION_MENU* prefsMenu = new ACTION_MENU( false, controlTool ); in ReCreateMenuBar()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/cvpcb/
H A Dmenubar.cpp47 ACTION_MENU* fileMenu = new ACTION_MENU( false, tool ); in ReCreateMenuBar()
55 ACTION_MENU* editMenu = new ACTION_MENU( false, tool ); in ReCreateMenuBar()
67 ACTION_MENU* prefsMenu = new ACTION_MENU( false, tool ); in ReCreateMenuBar()
H A Dcvpcb_mainframe.h38 class ACTION_MENU; variable
398 ACTION_MENU* m_footprintContextMenu;
399 ACTION_MENU* m_symbolsContextMenu;
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/
H A Dlanguages_menu.cpp45 void AddMenuLanguageList( ACTION_MENU* aMasterMenu, TOOL_INTERACTIVE* aControlTool ) in AddMenuLanguageList()
47 ACTION_MENU* langsMenu = new ACTION_MENU( false, aControlTool ); in AddMenuLanguageList()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/gerbview/tools/
H A Dgerbview_selection_tool.cpp41 class HIGHLIGHT_MENU : public ACTION_MENU
45 ACTION_MENU( true ) in HIGHLIGHT_MENU()
108 ACTION_MENU* create() const override in create()
125 ACTION_MENU* actionMenu = aEvent.Parameter<ACTION_MENU*>(); in UpdateMenu()
410 ACTION_MENU menu( true ); in disambiguationMenu()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/include/
H A Dmenus_helpers.h36 class ACTION_MENU; variable
39 void AddMenuLanguageList( ACTION_MENU* aMasterMenu, TOOL_INTERACTIVE* aControlTool );
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/cvpcb/tools/
H A Dcvpcb_fpviewer_selection_tool.cpp85 ACTION_MENU* actionMenu = aEvent.Parameter<ACTION_MENU*>(); in UpdateMenu()

1234