Home
last modified time | relevance | path

Searched refs:tool_action (Results 1 – 25 of 62) sorted by relevance

123

/dports/devel/py-pyface/pyface-7.2.0/pyface/ui/qt4/action/
H A Dmenu_manager.py97 tool_action = _Tool(
100 tool_action.setMenu(menu)
102 tool_action = menu.menuAction()
103 tool_bar.addAction(tool_action)
105 tool_action.setText(self.name)
106 tool_button = tool_bar.widgetForAction(tool_action)
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/tools/
H A Dtool.cpp65 MapEditorTool::MapEditorTool(MapEditorController* editor, Type type, QAction* tool_action) in MapEditorTool() argument
68 , tool_action(tool_action) in MapEditorTool()
77 if (tool_action) in ~MapEditorTool()
78 tool_action->setChecked(false); in ~MapEditorTool()
83 if (tool_action) in init()
84 tool_action->setChecked(true); in init()
H A Dpan_tool.cpp35 PanTool::PanTool(MapEditorController* editor, QAction* tool_action) in PanTool() argument
36 : MapEditorToolBase(QCursor(Qt::OpenHandCursor), Pan, editor, tool_action) in PanTool()
H A Dtool.h105 MapEditorTool(MapEditorController* editor, Type type, QAction* tool_action = nullptr);
198 QAction* toolAction() const { return tool_action; } in toolAction()
375 QPointer<QAction> tool_action; variable
H A Dscale_tool.cpp45 ScaleTool::ScaleTool(MapEditorController* editor, QAction* tool_action) in ScaleTool() argument
46 …r{ QPixmap(QString::fromLatin1(":/images/cursor-scale.png")), 1, 1 }), Other, editor, tool_action } in ScaleTool()
H A Drotate_tool.cpp52 RotateTool::RotateTool(MapEditorController* editor, QAction* tool_action) in RotateTool() argument
53 …{ QCursor { QString::fromLatin1(":/images/cursor-rotate.png"), 1, 1 }, Other, editor, tool_action } in RotateTool()
H A Dcutout_tool.cpp52 CutoutTool::CutoutTool(MapEditorController* editor, QAction* tool_action, bool cut_away) in CutoutTool() argument
53 …rsor(QPixmap(QString::fromLatin1(":/images/cursor-hollow.png")), 1, 1), Other, editor, tool_action) in CutoutTool()
H A Drotate_pattern_tool.cpp52 RotatePatternTool::RotatePatternTool(MapEditorController* editor, QAction* tool_action) in RotatePatternTool() argument
53 …rsor(QPixmap(QString::fromLatin1(":/images/cursor-rotate.png")), 1, 1), Other, editor, tool_action) in RotatePatternTool()
H A Ddraw_point_gps_tool.cpp51 …STool::DrawPointGPSTool(GPSDisplay* gps_display, MapEditorController* editor, QAction* tool_action) in DrawPointGPSTool() argument
52 …ap(QString::fromLatin1(":/images/cursor-draw-point.png")), 11, 11), DrawPoint, editor, tool_action) in DrawPointGPSTool()
H A Ddraw_freehand_tool.cpp43 DrawFreehandTool::DrawFreehandTool(MapEditorController* editor, QAction* tool_action, bool is_helpe… in DrawFreehandTool() argument
44 : DrawLineAndAreaTool(editor, DrawFreehand, tool_action, is_helper_tool) in DrawFreehandTool()
H A Dcut_hole_tool.cpp49 CutHoleTool::CutHoleTool(MapEditorController* editor, QAction* tool_action, CutHoleTool::HoleType h… in CutHoleTool() argument
50 : MapEditorTool(editor, Other, tool_action), hole_type(hole_type) in CutHoleTool()
H A Dpan_tool.h44 PanTool(MapEditorController* editor, QAction* tool_action);
H A Drotate_pattern_tool.h48 RotatePatternTool(MapEditorController* editor, QAction* tool_action);
H A Dscale_tool.h49 ScaleTool(MapEditorController* editor, QAction* tool_action);
H A Drotate_tool.h51 RotateTool(MapEditorController* editor, QAction* tool_action);
H A Ddraw_circle_tool.cpp50 DrawCircleTool::DrawCircleTool(MapEditorController* editor, QAction* tool_action, bool is_helper_to… in DrawCircleTool() argument
51 : DrawLineAndAreaTool(editor, DrawCircle, tool_action, is_helper_tool) in DrawCircleTool()
H A Dfill_tool.h55 FillTool(MapEditorController* editor, QAction* tool_action);
H A Dcutout_tool.h57 CutoutTool(MapEditorController* editor, QAction* tool_action, bool cut_away);
H A Ddraw_circle_tool.h50 DrawCircleTool(MapEditorController* editor, QAction* tool_action, bool is_helper_tool);
/dports/graphics/openorienteering-mapper/mapper-0.9.2/src/templates/
H A Dtemplate_adjust.h159 …TemplateAdjustEditTool(MapEditorController* editor, QAction* tool_action, TemplateAdjustWidget* wi…
177 …TemplateAdjustAddTool(MapEditorController* editor, QAction* tool_action, TemplateAdjustWidget* wid…
203 …TemplateAdjustMoveTool(MapEditorController* editor, QAction* tool_action, TemplateAdjustWidget* wi…
227 …TemplateAdjustDeleteTool(MapEditorController* editor, QAction* tool_action, TemplateAdjustWidget* …
H A Dtemplate_tool_move.cpp36 …plateMoveTool::TemplateMoveTool(Template* templ, MapEditorController* editor, QAction* tool_action) in TemplateMoveTool() argument
37 : MapEditorTool(editor, Other, tool_action), templ(templ) in TemplateMoveTool()
H A Dtemplate_tool_move.h48 TemplateMoveTool(Template* templ, MapEditorController* editor, QAction* tool_action = nullptr);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/visorbus/
H A Dvisorchipset.c113 u8 tool_action = 0; in toolaction_show() local
118 tool_action), in toolaction_show()
119 &tool_action, sizeof(u8)); in toolaction_show()
122 return sprintf(buf, "%u\n", tool_action); in toolaction_show()
129 u8 tool_action; in toolaction_store() local
132 if (kstrtou8(buf, 10, &tool_action)) in toolaction_store()
136 tool_action), in toolaction_store()
137 &tool_action, sizeof(u8)); in toolaction_store()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/visorbus/
H A Dvisorchipset.c113 u8 tool_action = 0; in toolaction_show() local
118 tool_action), in toolaction_show()
119 &tool_action, sizeof(u8)); in toolaction_show()
122 return sprintf(buf, "%u\n", tool_action); in toolaction_show()
129 u8 tool_action; in toolaction_store() local
132 if (kstrtou8(buf, 10, &tool_action)) in toolaction_store()
136 tool_action), in toolaction_store()
137 &tool_action, sizeof(u8)); in toolaction_store()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/visorbus/
H A Dvisorchipset.c113 u8 tool_action = 0; in toolaction_show() local
118 tool_action), in toolaction_show()
119 &tool_action, sizeof(u8)); in toolaction_show()
122 return sprintf(buf, "%u\n", tool_action); in toolaction_show()
129 u8 tool_action; in toolaction_store() local
132 if (kstrtou8(buf, 10, &tool_action)) in toolaction_store()
136 tool_action), in toolaction_store()
137 &tool_action, sizeof(u8)); in toolaction_store()

123