QGIS API Documentation  3.24.2-Tisler (13c1a02865)
Signals | Public Member Functions | List of all members
QgsMeshVariableStrokeWidthButton Class Reference

A widget push button that store variable stroke width and call a widget to set parameters. More...

#include <qgsmeshvariablestrokewidthwidget.h>

Inheritance diagram for QgsMeshVariableStrokeWidthButton:
Inheritance graph
[legend]

Signals

void widgetChanged ()
 

Public Member Functions

 QgsMeshVariableStrokeWidthButton (QWidget *parent=nullptr)
 Constructor. More...
 
void setDefaultMinMaxValue (double minimum, double maximum)
 Sets the default min/max values that will be reload if needed. More...
 
void setVariableStrokeWidth (const QgsInterpolatedLineWidth &variableStrokeWidth)
 Sets the variable stroke width. More...
 
QgsInterpolatedLineWidth variableStrokeWidth () const
 Returns the variable stroke width. More...
 

Detailed Description

A widget push button that store variable stroke width and call a widget to set parameters.

Definition at line 32 of file qgsmeshvariablestrokewidthwidget.h.

Constructor & Destructor Documentation

◆ QgsMeshVariableStrokeWidthButton()

QgsMeshVariableStrokeWidthButton::QgsMeshVariableStrokeWidthButton ( QWidget *  parent = nullptr)

Constructor.

Definition at line 89 of file qgsmeshvariablestrokewidthwidget.cpp.

Member Function Documentation

◆ setDefaultMinMaxValue()

void QgsMeshVariableStrokeWidthButton::setDefaultMinMaxValue ( double  minimum,
double  maximum 
)

Sets the default min/max values that will be reload if needed.

Definition at line 64 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ setVariableStrokeWidth()

void QgsMeshVariableStrokeWidthButton::setVariableStrokeWidth ( const QgsInterpolatedLineWidth variableStrokeWidth)

Sets the variable stroke width.

Definition at line 100 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ variableStrokeWidth()

QgsInterpolatedLineWidth QgsMeshVariableStrokeWidthButton::variableStrokeWidth ( ) const

Returns the variable stroke width.

Definition at line 95 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ widgetChanged

void QgsMeshVariableStrokeWidthButton::widgetChanged ( )
signal

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