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

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 26 of file qgsproxystyle.cpp.


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