Define toolbar locations for the actions of the QueryTool module.

This commit is contained in:
eelke 2019-01-31 19:25:54 +01:00
parent 6acf70660b
commit cbb2f897aa
8 changed files with 26 additions and 4 deletions

View file

@ -25,6 +25,11 @@ void MenuAction::setMenuLocation(MenuLocation menu_location)
m_menuLocation = std::move(menu_location);
}
void MenuAction::setToolbarLocation(ToolbarLocation toolbar_location)
{
m_toolbarLocation = toolbar_location;
}
void MenuAction::setShortcut(QKeySequence shortcut)
{
m_shortcut = std::move(shortcut);