revert: remove OpacityHelper

- remove OpacityHelper
- remove all related animation
- now bottom toolbar and navigation view are always visible
This commit is contained in:
yyc12345 committed 2026-07-03 16:40:04 +08:00
1 parent c93ed94210
commit 9a18a41b8f
9 files changed
-93

No files matched your search

-5
View File
@@ -10,18 +10,13 @@
#include <QAbstractButton>
#include <QGroupBox>
class OpacityHelper;
class BottomButtonGroup : public QGroupBox
{
Q_OBJECT
public:
explicit BottomButtonGroup(const std::vector<QAction *> & actionList, QWidget *parent = nullptr);
void setOpacity(qreal opacity, bool animated = true);
void addButton(QAbstractButton *button);
private:
OpacityHelper * m_opacityHelper;
};
#endif // BOTTOMBUTTONGROUP_H