QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsVScrollArea Class Reference

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

#include <qgsvscrollarea.h>

Inheritance diagram for QgsVScrollArea:
Inheritance graph
[legend]

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 resetHasScrolled ()
 Resets the hasScrolled() flag. 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.

Since
QGIS 3.0

Definition at line 31 of file qgsvscrollarea.h.

Constructor & Destructor Documentation

◆ QgsVScrollArea()

QgsVScrollArea::QgsVScrollArea ( QWidget *  parent = nullptr)

QgsVScrollArea.

Parameters
parentThe parent widget

Definition at line 22 of file qgsvscrollarea.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 30 of file qgsvscrollarea.cpp.


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