QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
A line edit widget with toolbutton for setting an SVG image path. More...
#include <qgssvgsourcelineedit.h>
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 |
A line edit widget with toolbutton for setting an SVG image path.
Definition at line 32 of file qgssvgsourcelineedit.h.
QgsSvgSourceLineEdit::QgsSvgSourceLineEdit | ( | QWidget * | parent = nullptr | ) |
Constructor for QgsSvgSourceLineEdit, with the specified parent widget.
Definition at line 25 of file qgssvgsourcelineedit.cpp.
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.
|
slot |
Sets a new source to show in the widget.
Definition at line 77 of file qgssvgsourcelineedit.cpp.
QString QgsSvgSourceLineEdit::source | ( | ) | const |
Returns the current SVG source.
|
signal |
Emitted whenever the SVG source is changed in the widget.
|
readwrite |
Definition at line 35 of file qgssvgsourcelineedit.h.