chore: adjusted the project directory structure

This commit is contained in:
Gary Wang
2020-11-05 14:12:58 +08:00
parent 1066fa45ea
commit 8c152dc862
29 changed files with 213 additions and 213 deletions

20
app/toolbutton.h Normal file
View File

@ -0,0 +1,20 @@
#ifndef TOOLBUTTON_H
#define TOOLBUTTON_H
#include <QPushButton>
class OpacityHelper;
class ToolButton : public QPushButton
{
Q_OBJECT
public:
ToolButton(bool hoverColor = false, QWidget * parent = nullptr);
public slots:
void setOpacity(qreal opacity, bool animated = true);
private:
OpacityHelper * m_opacityHelper;
};
#endif // TOOLBUTTON_H