Changeset 73844 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Aug 22, 2018 6:16:31 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/widgets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISlidingAnimation.cpp
r73842 r73844 27 27 28 28 29 UISlidingAnimation::UISlidingAnimation(Qt::Orientation enmOrientation, QWidget *pParent /* = 0 */)29 UISlidingAnimation::UISlidingAnimation(Qt::Orientation enmOrientation, bool fReverse, QWidget *pParent /* = 0 */) 30 30 : QWidget(pParent) 31 31 , m_enmOrientation(enmOrientation) 32 , m_fReverse(fReverse) 32 33 , m_pAnimation(0) 33 34 , m_pWidget(0) … … 108 109 "widgetGeometry", 109 110 "startWidgetGeometry", "finalWidgetGeometry", 110 SIGNAL(sigForward()), SIGNAL(sigReverse()) );111 SIGNAL(sigForward()), SIGNAL(sigReverse()), m_fReverse); 111 112 connect(m_pAnimation, &UIAnimation::sigStateEnteredStart, this, &UISlidingAnimation::sltHandleStateEnteredStart); 112 113 connect(m_pAnimation, &UIAnimation::sigStateEnteredFinal, this, &UISlidingAnimation::sltHandleStateEnteredFinal); -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UISlidingAnimation.h
r73842 r73844 59 59 60 60 /** Constructs sliding animation passing @a pParent to the base-class. 61 * @param enmOrientation Brings the widget orientation. */ 62 UISlidingAnimation(Qt::Orientation enmOrientation, QWidget *pParent = 0); 61 * @param enmOrientation Brings the widget orientation. 62 * @param fReverse Brings whether the animation should be initially reversed. */ 63 UISlidingAnimation(Qt::Orientation enmOrientation, bool fReverse, QWidget *pParent = 0); 63 64 64 65 /** Defines @a pWidget1 and @a pWidget2. */ … … 91 92 /** Holds the widget orientation. */ 92 93 Qt::Orientation m_enmOrientation; 94 /** Holds whether the animation should be initially reversed. */ 95 bool m_fReverse; 93 96 /** Holds the animation instance. */ 94 97 UIAnimation *m_pAnimation;
Note:
See TracChangeset
for help on using the changeset viewer.