QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
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.
 
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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QgsVScrollArea()

QgsVScrollArea::QgsVScrollArea ( QWidget *  parent = nullptr)

QgsVScrollArea.

Parameters
parentThe parent widget

Definition at line 23 of file qgsvscrollarea.cpp.

Member Function Documentation

◆ eventFilter()

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

Definition at line 31 of file qgsvscrollarea.cpp.


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