QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
QgsVScrollArea is a QScrollArea subclass which only displays a vertical scrollbar and fits the width to the contents. More...
#include <qgsvscrollarea.h>
Public Member Functions | |
QgsVScrollArea (QWidget *parent=nullptr) | |
QgsVScrollArea. | |
bool | eventFilter (QObject *o, QEvent *e) override |
Public Member Functions inherited from QgsScrollArea | |
QgsScrollArea (QWidget *parent=nullptr) | |
Constructor for QgsScrollArea. | |
bool | hasScrolled () const |
Returns true if a scroll recently occurred within the QScrollArea or its child viewport() | |
void | resetHasScrolled () |
Resets the hasScrolled() flag. | |
void | scrollOccurred () |
Should be called when a scroll occurs on with the QScrollArea itself or its child viewport(). | |
void | setVerticalOnly (bool verticalOnly) |
Sets whether the scroll area only applies vertical. | |
Additional Inherited Members | |
Protected Member Functions inherited from QgsScrollArea | |
void | resizeEvent (QResizeEvent *event) override |
void | wheelEvent (QWheelEvent *event) override |
QgsVScrollArea is a QScrollArea subclass which only displays a vertical scrollbar and fits the width to the contents.
Definition at line 30 of file qgsvscrollarea.h.
QgsVScrollArea::QgsVScrollArea | ( | QWidget * | parent = nullptr | ) |
parent | The parent widget |
Definition at line 23 of file qgsvscrollarea.cpp.
|
override |
Definition at line 31 of file qgsvscrollarea.cpp.