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