WIP moving actions for toolbar to module system.
This commit is contained in:
parent
f5e9c4b74e
commit
78a6666839
8 changed files with 225 additions and 114 deletions
16
pglab/AbstractCommand.h
Normal file
16
pglab/AbstractCommand.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef ABSTRACTCOMMAND_H
|
||||
#define ABSTRACTCOMMAND_H
|
||||
|
||||
#include <QString>
|
||||
|
||||
class QAction;
|
||||
|
||||
class AbstractCommand {
|
||||
public:
|
||||
virtual QAction* getAction() const = 0;
|
||||
virtual QString getToolbar() const = 0;
|
||||
virtual QString getMenuPath() const = 0;
|
||||
};
|
||||
|
||||
|
||||
#endif // ABSTRACTCOMMAND_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue