QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Slots | Signals | Public Member Functions | Properties | List of all members
QgsSvgSourceLineEdit Class Reference

A line edit widget with toolbutton for setting an SVG image path. More...

#include <qgssvgsourcelineedit.h>

Inheritance diagram for QgsSvgSourceLineEdit:
Inheritance graph
[legend]

Public Slots

void setSource (const QString &source)
 Sets a new source to show in the widget. More...
 

Signals

void sourceChanged (const QString &source)
 Emitted whenever the SVG source is changed in the widget. More...
 

Public Member Functions

 QgsSvgSourceLineEdit (QWidget *parent=nullptr)
 Constructor for QgsSvgSourceLineEdit, with the specified parent widget. More...
 
void setLastPathSettingsKey (const QString &key)
 Sets a specific settings key to use when storing the last used path for the SVG source. More...
 
QString source () const
 Returns the current SVG source. More...
 

Properties

QString source
 

Detailed Description

A line edit widget with toolbutton for setting an SVG image path.

Since
QGIS 3.4

Definition at line 32 of file qgssvgsourcelineedit.h.

Constructor & Destructor Documentation

QgsSvgSourceLineEdit::QgsSvgSourceLineEdit ( QWidget *  parent = nullptr)

Constructor for QgsSvgSourceLineEdit, with the specified parent widget.

Definition at line 25 of file qgssvgsourcelineedit.cpp.

Member Function Documentation

void QgsSvgSourceLineEdit::setLastPathSettingsKey ( const QString &  key)

Sets a specific settings key to use when storing the last used path for the SVG source.

Definition at line 72 of file qgssvgsourcelineedit.cpp.

void QgsSvgSourceLineEdit::setSource ( const QString &  source)
slot

Sets a new source to show in the widget.

See also
source()
sourceChanged()

Definition at line 77 of file qgssvgsourcelineedit.cpp.

QString QgsSvgSourceLineEdit::source ( ) const

Returns the current SVG source.

See also
setSource()
sourceChanged()
void QgsSvgSourceLineEdit::sourceChanged ( const QString &  source)
signal

Emitted whenever the SVG source is changed in the widget.

Property Documentation

QString QgsSvgSourceLineEdit::source
readwrite

Definition at line 35 of file qgssvgsourcelineedit.h.


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