| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
A widget allowing selection of an SVG file, and configuration of SVG related parameters. More...
#include <qgssvgselectorwidget.h>

Public Slots | |
| void | setSvgParameters (const QMap< QString, QgsProperty > ¶meters) | 
| Sets the dynamic parameters.   | |
| void | setSvgPath (const QString &svgPath) | 
| Accepts absolute paths.   | |
Signals | |
| void | svgParametersChanged (const QMap< QString, QgsProperty > ¶meters) | 
| Emitted when the parameters have changed.   | |
| void | svgSelected (const QString &path) | 
| Emitted when an SVG is selected in the widget.   | |
Public Member Functions | |
| QgsSvgSelectorWidget (QWidget *parent=nullptr) | |
| Constructor for QgsSvgSelectorWidget.   | |
| Q_DECL_DEPRECATED bool | allowParamerters () const | 
| Returns if the group box to fill parameters is visible.   | |
| bool | allowParameters () const | 
| Returns if the group box to fill parameters is visible.   | |
| bool | browserVisible () const | 
| Returns if the SVG browser should be visible.   | |
| QString | currentSvgPath () const | 
| void | initParametersModel (const QgsExpressionContextGenerator *generator, QgsVectorLayer *layer=nullptr) | 
| Initialize the parameters model so the context and the layer are referenced.   | |
| QgsPropertyOverrideButton * | propertyOverrideToolButton () const | 
| Returns the property override tool button of the file line edit.   | |
| void | setAllowParameters (bool allow) | 
| Defines if the group box to fill parameters is visible.   | |
| void | setBrowserVisible (bool visible) | 
| Defines if the SVG browser should be visible.   | |
| QgsPictureSourceLineEditBase * | sourceLineEdit () const | 
| Returns the source line edit.   | |
Protected Member Functions | |
| void | populateList () | 
A widget allowing selection of an SVG file, and configuration of SVG related parameters.
Definition at line 376 of file qgssvgselectorwidget.h.
| QgsSvgSelectorWidget::QgsSvgSelectorWidget | ( | QWidget * | parent = nullptr | ) | 
Constructor for QgsSvgSelectorWidget.
Definition at line 385 of file qgssvgselectorwidget.cpp.
      
  | 
  inline | 
Returns if the group box to fill parameters is visible.
Definition at line 409 of file qgssvgselectorwidget.h.
      
  | 
  inline | 
Returns if the group box to fill parameters is visible.
Definition at line 415 of file qgssvgselectorwidget.h.
      
  | 
  inline | 
Returns if the SVG browser should be visible.
Definition at line 427 of file qgssvgselectorwidget.h.
| QString QgsSvgSelectorWidget::currentSvgPath | ( | ) | const | 
Definition at line 467 of file qgssvgselectorwidget.cpp.
| void QgsSvgSelectorWidget::initParametersModel | ( | const QgsExpressionContextGenerator * | generator, | 
| QgsVectorLayer * | layer = nullptr  | 
        ||
| ) | 
Initialize the parameters model so the context and the layer are referenced.
Definition at line 433 of file qgssvgselectorwidget.cpp.
      
  | 
  protected | 
Definition at line 529 of file qgssvgselectorwidget.cpp.
| QgsPropertyOverrideButton * QgsSvgSelectorWidget::propertyOverrideToolButton | ( | ) | const | 
Returns the property override tool button of the file line edit.
Definition at line 490 of file qgssvgselectorwidget.cpp.
| void QgsSvgSelectorWidget::setAllowParameters | ( | bool | allow | ) | 
Defines if the group box to fill parameters is visible.
Definition at line 472 of file qgssvgselectorwidget.cpp.
| void QgsSvgSelectorWidget::setBrowserVisible | ( | bool | visible | ) | 
Defines if the SVG browser should be visible.
Definition at line 481 of file qgssvgselectorwidget.cpp.
      
  | 
  slot | 
Sets the dynamic parameters.
Definition at line 462 of file qgssvgselectorwidget.cpp.
      
  | 
  slot | 
Accepts absolute paths.
Definition at line 439 of file qgssvgselectorwidget.cpp.
      
  | 
  inline | 
      
  | 
  signal | 
Emitted when the parameters have changed.
      
  | 
  signal | 
Emitted when an SVG is selected in the widget.