#ifndef BOTTOMBUTTONGROUP_H #define BOTTOMBUTTONGROUP_H #include #include #include class OpacityHelper; class BottomButtonGroup : public QGroupBox { Q_OBJECT public: explicit BottomButtonGroup(const std::vector & actionList, QWidget *parent = nullptr); void setOpacity(qreal opacity, bool animated = true); void addButton(QAbstractButton *button); private: OpacityHelper * m_opacityHelper; }; #endif // BOTTOMBUTTONGROUP_H