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
|
|
@ -27,6 +27,7 @@ public:
|
|||
const MenuLocation& menuLocation() const;
|
||||
void setIcon(QIcon icon);
|
||||
void setMenuLocation(MenuLocation menu_location);
|
||||
void setToolbarLocation(ToolbarLocation toolbar_location);
|
||||
void setShortcut(QKeySequence shortcut);
|
||||
void setText(QString text);
|
||||
void setToolTip(QString tooltip);
|
||||
|
|
@ -41,6 +42,7 @@ private:
|
|||
QIcon m_icon;
|
||||
QKeySequence m_shortcut;
|
||||
MenuLocation m_menuLocation;
|
||||
ToolbarLocation m_toolbarLocation;
|
||||
|
||||
Func m_func;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue