|
Motiv
Marvelous OTF2 Traces Interactive Visualizer
|
Synchronizes the scroll state of two or more widgets that inherit from QAbstractScrollArea. More...
#include <ScrollSynchronizer.hpp>


Public Member Functions | |
| ScrollSynchronizer (QObject *parent=nullptr) | |
| Creates a new instance of the ScrollSynchronizer class. More... | |
| void | addWidget (QAbstractScrollArea *widget) |
Synchronizes scroll state of widget with the previously supplied widgets. More... | |
Synchronizes the scroll state of two or more widgets that inherit from QAbstractScrollArea.
Definition at line 27 of file ScrollSynchronizer.hpp.
|
explicit |
Creates a new instance of the ScrollSynchronizer class.
| parent | The parent QObject |
Definition at line 22 of file ScrollSynchronizer.cpp.
| void ScrollSynchronizer::addWidget | ( | QAbstractScrollArea * | widget | ) |
Synchronizes scroll state of widget with the previously supplied widgets.
| widget |
Definition at line 26 of file ScrollSynchronizer.cpp.