QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A line edit widget with toolbutton for setting a raster image path. More...
#include <qgsfilecontentsourcelineedit.h>
Public Types | |
enum | Format { Svg , Image } |
Format of source image. More... | |
Public Member Functions | |
QgsPictureSourceLineEditBase (QWidget *parent=nullptr) | |
Constructor for QgsImageSourceLineEdit, with the specified parent widget. More... | |
void | setMode (Format format) |
Defines the mode of the source line edit. More... | |
Public Member Functions inherited from QgsAbstractFileContentSourceLineEdit | |
QgsAbstractFileContentSourceLineEdit (QWidget *parent=nullptr) | |
Constructor for QgsAbstractFileContentSourceLineEdit, with the specified parent widget. More... | |
QgsMessageBar * | messageBar () const |
Returns the message bar associated with the widget. More... | |
QgsPropertyOverrideButton * | propertyOverrideToolButton () const |
Returns the property override tool button. More... | |
void | setLastPathSettingsKey (const QString &key) |
Sets a specific settings key to use when storing the last used path for the file source. More... | |
void | setMessageBar (QgsMessageBar *bar) |
Sets the message bar associated with the widget. More... | |
void | setPropertyOverrideToolButtonVisible (bool visible) |
Sets the visibility of the property override tool button. More... | |
QString | source () const |
Returns the current file source. More... | |
Protected Member Functions | |
QgsPictureSourceLineEditBase (Format format, QWidget *parent=nullptr) | |
Constructor for QgsImageSourceLineEdit, with the specified parent widget. More... | |
Additional Inherited Members | |
Public Slots inherited from QgsAbstractFileContentSourceLineEdit | |
void | setSource (const QString &source) |
Sets a new source to show in the widget. More... | |
Signals inherited from QgsAbstractFileContentSourceLineEdit | |
void | sourceChanged (const QString &source) |
Emitted whenever the file source is changed in the widget. More... | |
Properties inherited from QgsAbstractFileContentSourceLineEdit | |
QString | source |
A line edit widget with toolbutton for setting a raster image path.
Definition at line 190 of file qgsfilecontentsourcelineedit.h.
Format of source image.
Enumerator | |
---|---|
Svg | SVG image. |
Image | Raster image. |
Definition at line 198 of file qgsfilecontentsourcelineedit.h.
|
inline |
Constructor for QgsImageSourceLineEdit, with the specified parent widget.
The default format is SVG.
Definition at line 208 of file qgsfilecontentsourcelineedit.h.
|
inlineprotected |
Constructor for QgsImageSourceLineEdit, with the specified parent widget.
Definition at line 220 of file qgsfilecontentsourcelineedit.h.
|
inline |
Defines the mode of the source line edit.
Definition at line 213 of file qgsfilecontentsourcelineedit.h.