QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGSSVGSOURCELINEEDIT_H
17 #define QGSSVGSOURCELINEEDIT_H
35 Q_PROPERTY( QString source READ source WRITE setSource NOTIFY sourceChanged )
78 void mFileLineEdit_textEdited(
const QString &text );
79 void mFileLineEdit_editingFinished();
83 QLineEdit *mFileLineEdit =
nullptr;
84 QToolButton *mFileToolButton =
nullptr;
87 QString defaultPath()
const;
88 QString settingsKey()
const;
void setLastPathSettingsKey(const QString &key)
Sets a specific settings key to use when storing the last used path for the SVG source.
QgsSvgSourceLineEdit(QWidget *parent=nullptr)
Constructor for QgsSvgSourceLineEdit, with the specified parent widget.
void setSource(const QString &source)
Sets a new source to show in the widget.
QString source() const
Returns the current SVG source.
void sourceChanged(const QString &source)
Emitted whenever the SVG source is changed in the widget.
A line edit widget with toolbutton for setting an SVG image path.