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

A dialog for configuring a custom legend patch shape. More...

#include <qgslegendpatchshapewidget.h>

Inheritance diagram for QgsLegendPatchShapeDialog:
Inheritance graph
[legend]

Public Member Functions

 QgsLegendPatchShapeDialog (const QgsLegendPatchShape &shape, QWidget *parent=nullptr)
 Constructor for QgsLegendPatchShapeDialog, initially showing the specified shape. More...
 
QDialogButtonBox * buttonBox () const
 Returns a reference to the dialog's button box. More...
 
QgsLegendPatchShape shape () const
 Returns the legend patch shape defined by the dialog. More...
 

Detailed Description

A dialog for configuring a custom legend patch shape.

Since
QGIS 3.14

Definition at line 79 of file qgslegendpatchshapewidget.h.

Constructor & Destructor Documentation

◆ QgsLegendPatchShapeDialog()

QgsLegendPatchShapeDialog::QgsLegendPatchShapeDialog ( const QgsLegendPatchShape shape,
QWidget *  parent = nullptr 
)

Constructor for QgsLegendPatchShapeDialog, initially showing the specified shape.

Definition at line 106 of file qgslegendpatchshapewidget.cpp.

Member Function Documentation

◆ buttonBox()

QDialogButtonBox * QgsLegendPatchShapeDialog::buttonBox ( ) const

Returns a reference to the dialog's button box.

Definition at line 120 of file qgslegendpatchshapewidget.cpp.

◆ shape()

QgsLegendPatchShape QgsLegendPatchShapeDialog::shape ( ) const
inline

Returns the legend patch shape defined by the dialog.

Definition at line 93 of file qgslegendpatchshapewidget.h.


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