QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
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.
 
void setDefaultMinMaxValue (double minimum, double maximum)
 Sets the default min/max values that will be reload if needed.
 
void setVariableStrokeWidth (const QgsInterpolatedLineWidth &variableStrokeWidth)
 Sets the variable stroke width.
 
QgsInterpolatedLineWidth variableStrokeWidth () const
 Returns the variable stroke width.
 

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 90 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 65 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ setVariableStrokeWidth()

void QgsMeshVariableStrokeWidthButton::setVariableStrokeWidth ( const QgsInterpolatedLineWidth variableStrokeWidth)

Sets the variable stroke width.

Definition at line 101 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ variableStrokeWidth()

QgsInterpolatedLineWidth QgsMeshVariableStrokeWidthButton::variableStrokeWidth ( ) const

Returns the variable stroke width.

Definition at line 96 of file qgsmeshvariablestrokewidthwidget.cpp.

◆ widgetChanged

void QgsMeshVariableStrokeWidthButton::widgetChanged ( )
signal

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