Motiv
Marvelous OTF2 Traces Interactive Visualizer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ScrollSynchronizer Class Reference

Synchronizes the scroll state of two or more widgets that inherit from QAbstractScrollArea. More...

#include <ScrollSynchronizer.hpp>

Inheritance diagram for ScrollSynchronizer:
Inheritance graph
[legend]
Collaboration diagram for ScrollSynchronizer:
Collaboration graph
[legend]

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...
 

Detailed Description

Synchronizes the scroll state of two or more widgets that inherit from QAbstractScrollArea.

Definition at line 27 of file ScrollSynchronizer.hpp.

Constructor & Destructor Documentation

◆ ScrollSynchronizer()

ScrollSynchronizer::ScrollSynchronizer ( QObject *  parent = nullptr)
explicit

Creates a new instance of the ScrollSynchronizer class.

Parameters
parentThe parent QObject

Definition at line 22 of file ScrollSynchronizer.cpp.

Member Function Documentation

◆ addWidget()

void ScrollSynchronizer::addWidget ( QAbstractScrollArea *  widget)

Synchronizes scroll state of widget with the previously supplied widgets.

Parameters
widget

Definition at line 26 of file ScrollSynchronizer.cpp.


The documentation for this class was generated from the following files: