7class QPropertyAnimation;
8class QParallelAnimationGroup;
13static constexpr const bool INIT_STATE =
false;
14static constexpr const int ANIMATION_DURATION = 500;
15static constexpr const QEasingCurve::Type ANIMATION_CURVE = QEasingCurve::InOutQuad;
82 QPropertyAnimation* animation_main;
83 QPropertyAnimation* animation_side;
84 QPropertyAnimation* animation_button;
85 QParallelAnimationGroup* group;
89 void inline setState(
bool st) {
91 hidden_state ? do_hide_animations() : do_show_animations();
98 void __initConnection();
101 void do_hide_animations();
104 void do_show_animations();
106 bool hidden_state { SideBarWidgetStaticConfig::INIT_STATE };
107 Ui::SideBarWidget* ui;