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;
81 QPropertyAnimation* animation_main;
82 QPropertyAnimation* animation_side;
83 QParallelAnimationGroup* group;
87 void inline setState(
bool st) {
89 hidden_state ? do_hide_animations() : do_show_animations();
96 void __initConnection();
99 void do_hide_animations();
102 void do_show_animations();
104 bool hidden_state { SideBarWidgetStaticConfig::INIT_STATE };
105 Ui::SideBarWidget* ui;