/SlidingStackedWidget-1

Animated stacked widget for Qt

Primary LanguageC++MIT LicenseMIT

SlidingStackedWidget

This is an extended version of QStackedWidget for Qt. Check slidingstackedwidget.h for a simple API reference. This code is based on an older wiki post for Symbian devices.

Check my other Qt widgets/add-ons out: https://timschneeberger.me/qt

Usage

Include it in your project

Copy the SlidingStackedWidget subdirectory from this repository into your project folder and add this to your qmake project file:

include(SlidingStackedWidget/SlidingStackedWidget.pri)

Screenshots

Default animation duration (300ms):

screenshot

Slow-motion (3000ms):

screenshot

As you can see, the page is slowly fading in/out in addition to the sliding animation.