QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsProxyStyle Class Reference

A QProxyStyle subclass which correctly sets the base style to match the QGIS application style, and handles object lifetime by correctly parenting to a parent widget. More...

#include <qgsproxystyle.h>

Inheritance diagram for QgsProxyStyle:
Inheritance graph
[legend]

Public Member Functions

 QgsProxyStyle (QWidget *parent)
 Constructor for QgsProxyStyle. More...
 

Detailed Description

A QProxyStyle subclass which correctly sets the base style to match the QGIS application style, and handles object lifetime by correctly parenting to a parent widget.

Since
QGIS 3.2

Definition at line 30 of file qgsproxystyle.h.

Constructor & Destructor Documentation

◆ QgsProxyStyle()

QgsProxyStyle::QgsProxyStyle ( QWidget *  parent)
explicit

Constructor for QgsProxyStyle.

Ownership is transferred to the parent widget.

The base style for the QProxyStyle will be set to match the current QGIS application style.

Definition at line 23 of file qgsproxystyle.cpp.


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