Define toolbar locations for the actions of the QueryTool module.
This commit is contained in:
parent
6acf70660b
commit
cbb2f897aa
8 changed files with 26 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue