QGIS API Documentation  3.14.0-Pi (9f7028fd23)
Public Member Functions | List of all members
QgsVScrollArea Class Reference

#include <qgsvscrollarea.h>

Inheritance diagram for QgsVScrollArea:
Inheritance graph

Public Member Functions

 QgsVScrollArea (QWidget *parent=nullptr)
 QgsVScrollArea. More...
bool eventFilter (QObject *o, QEvent *e) override
- Public Member Functions inherited from QgsScrollArea
 QgsScrollArea (QWidget *parent=nullptr)
 Constructor for QgsScrollArea. More...
bool hasScrolled () const
 Returns true if a scroll recently occurred within the QScrollArea or its child viewport() More...
void scrollOccurred ()
 Should be called when a scroll occurs on with the QScrollArea itself or its child viewport(). More...
void setVerticalOnly (bool verticalOnly)
 Sets whether the scroll area only applies vertical. More...

Additional Inherited Members

- Protected Member Functions inherited from QgsScrollArea
void resizeEvent (QResizeEvent *event) override
void wheelEvent (QWheelEvent *event) override

Detailed Description

QgsVScrollArea is a QScrollArea subclass which only displays a vertical scrollbar and fits the width to the contents.

QGIS 3.0

Definition at line 31 of file qgsvscrollarea.h.

Constructor & Destructor Documentation

◆ QgsVScrollArea()

QgsVScrollArea::QgsVScrollArea ( QWidget *  parent = nullptr)


parentThe parent widget

Definition at line 22 of file qgsvscrollarea.cpp.

Member Function Documentation

◆ eventFilter()

bool QgsVScrollArea::eventFilter ( QObject *  o,
QEvent *  e 

Definition at line 30 of file qgsvscrollarea.cpp.

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