Correct mac shortcuts and missing menu item (#370)
* Correct mac shortcuts in status bar Just for macOS, Ctrl should be Cmd, and Alt should be Opt * Add missing menu item on macOS
This commit is contained in:
parent
6e58957714
commit
d9f5cbb74f
2 changed files with 24 additions and 0 deletions
|
@ -622,6 +622,7 @@ QMenuBar *StackedMenuBar::createFullMenuBar() {
|
||||||
addMenuItem(renderMenu, MI_SavePreviewedFrames);
|
addMenuItem(renderMenu, MI_SavePreviewedFrames);
|
||||||
renderMenu->addSeparator();
|
renderMenu->addSeparator();
|
||||||
addMenuItem(renderMenu, MI_OutputSettings);
|
addMenuItem(renderMenu, MI_OutputSettings);
|
||||||
|
addMenuItem(renderMenu, MI_Render);
|
||||||
addMenuItem(renderMenu, MI_SaveAndRender);
|
addMenuItem(renderMenu, MI_SaveAndRender);
|
||||||
renderMenu->addSeparator();
|
renderMenu->addSeparator();
|
||||||
addMenuItem(renderMenu, MI_FastRender);
|
addMenuItem(renderMenu, MI_FastRender);
|
||||||
|
|
|
@ -131,26 +131,49 @@ void StatusBar::makeMap() {
|
||||||
m_infoMap.insert({"T_BrushVector",
|
m_infoMap.insert({"T_BrushVector",
|
||||||
"Brush Tool: Draws in the work area freehand" + spacer +
|
"Brush Tool: Draws in the work area freehand" + spacer +
|
||||||
"Shift - Straight Lines" + spacer +
|
"Shift - Straight Lines" + spacer +
|
||||||
|
#ifdef MACOSX
|
||||||
|
"Cmd - Straight Lines Snapped to Angles" + spacer +
|
||||||
|
"Cmd + Opt - Add / Remove Vanishing Point" + spacer +
|
||||||
|
"Opt - Draw to Vanishing Point" + spacer +
|
||||||
|
"Hold Cmd + Shift - Toggle Snapping"});
|
||||||
|
#else
|
||||||
"Control - Straight Lines Snapped to Angles" + spacer +
|
"Control - Straight Lines Snapped to Angles" + spacer +
|
||||||
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
||||||
"Alt - Draw to Vanishing Point" + spacer +
|
"Alt - Draw to Vanishing Point" + spacer +
|
||||||
"Hold Ctrl + Shift - Toggle Snapping"});
|
"Hold Ctrl + Shift - Toggle Snapping"});
|
||||||
|
#endif
|
||||||
m_infoMap.insert({"T_BrushSmartRaster",
|
m_infoMap.insert({"T_BrushSmartRaster",
|
||||||
"Brush Tool: Draws in the work area freehand" + spacer +
|
"Brush Tool: Draws in the work area freehand" + spacer +
|
||||||
"Shift - Straight Lines" + spacer +
|
"Shift - Straight Lines" + spacer +
|
||||||
|
#ifdef MACOSX
|
||||||
|
"Cmd - Straight Lines Snapped to Angles" + spacer +
|
||||||
|
"Cmd + Opt - Add / Remove Vanishing Point" + spacer +
|
||||||
|
"Opt - Draw to Vanishing Point"});
|
||||||
|
#else
|
||||||
"Control - Straight Lines Snapped to Angles" + spacer +
|
"Control - Straight Lines Snapped to Angles" + spacer +
|
||||||
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
||||||
"Alt - Draw to Vanishing Point"});
|
"Alt - Draw to Vanishing Point"});
|
||||||
|
#endif
|
||||||
m_infoMap.insert({"T_BrushRaster",
|
m_infoMap.insert({"T_BrushRaster",
|
||||||
"Brush Tool: Draws in the work area freehand" + spacer +
|
"Brush Tool: Draws in the work area freehand" + spacer +
|
||||||
"Shift - Straight Lines" + spacer +
|
"Shift - Straight Lines" + spacer +
|
||||||
|
#ifdef MACOSX
|
||||||
|
"Cmd - Straight Lines Snapped to Angles" + spacer +
|
||||||
|
"Cmd + Opt - Add / Remove Vanishing Point" + spacer +
|
||||||
|
"Opt - Draw to Vanishing Point"});
|
||||||
|
#else
|
||||||
"Control - Straight Lines Snapped to Angles" + spacer +
|
"Control - Straight Lines Snapped to Angles" + spacer +
|
||||||
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
"Ctrl + Alt - Add / Remove Vanishing Point" + spacer +
|
||||||
"Alt - Draw to Vanishing Point"});
|
"Alt - Draw to Vanishing Point"});
|
||||||
|
#endif
|
||||||
m_infoMap.insert({"T_Geometric", "Geometry Tool: Draws geometric shapes"});
|
m_infoMap.insert({"T_Geometric", "Geometry Tool: Draws geometric shapes"});
|
||||||
m_infoMap.insert({ "T_GeometricVector", "Geometry Tool: Draws geometric shapes" +
|
m_infoMap.insert({ "T_GeometricVector", "Geometry Tool: Draws geometric shapes" +
|
||||||
spacer +
|
spacer +
|
||||||
|
#ifdef MACOSX
|
||||||
|
"Hold Cmd + Shift - Toggle Snapping" });
|
||||||
|
#else
|
||||||
"Hold Ctrl + Shift - Toggle Snapping" });
|
"Hold Ctrl + Shift - Toggle Snapping" });
|
||||||
|
#endif
|
||||||
m_infoMap.insert({"T_Type", "Type Tool: Adds text"});
|
m_infoMap.insert({"T_Type", "Type Tool: Adds text"});
|
||||||
m_infoMap.insert(
|
m_infoMap.insert(
|
||||||
{"T_PaintBrush",
|
{"T_PaintBrush",
|
||||||
|
|
Loading…
Reference in a new issue