tool switching implemented

This commit is contained in:
itsmattkc
2019-06-22 20:45:55 -07:00
parent 4090c452d6
commit 75081f76c9
11 changed files with 208 additions and 29 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef TOOLBARBUTTON_H
#define TOOLBARBUTTON_H
#include <QPushButton>
#include "tool/tool.h"
class ToolbarButton : public QPushButton
{
public:
ToolbarButton(QWidget* parent, const QIcon& icon, const olive::tool::Tool& tool);
const olive::tool::Tool& tool();
private:
olive::tool::Tool tool_;
};
#endif // TOOLBARBUTTON_H