QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
Public Member Functions | List of all members
QgsImageSourceLineEdit Class Reference

A line edit widget with toolbutton for setting a raster image path. More...

#include <qgsfilecontentsourcelineedit.h>

Inheritance diagram for QgsImageSourceLineEdit:
Inheritance graph
[legend]

Public Member Functions

 QgsImageSourceLineEdit (QWidget *parent=nullptr)
 Constructor for QgsImageSourceLineEdit, with the specified parent widget. More...
 
- Public Member Functions inherited from QgsAbstractFileContentSourceLineEdit
 QgsAbstractFileContentSourceLineEdit (QWidget *parent=nullptr)
 Constructor for QgsAbstractFileContentSourceLineEdit, with the specified parent widget. More...
 
QgsMessageBarmessageBar () const
 Returns the message bar associated with the widget. More...
 
QgsPropertyOverrideButtonpropertyOverrideToolButton () 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...
 

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
 

Detailed Description

A line edit widget with toolbutton for setting a raster image path.

Designed for use with QgsImageCache.

See also
QgsSvgSourceLineEdit
Since
QGIS 3.6

Definition at line 229 of file qgsfilecontentsourcelineedit.h.

Constructor & Destructor Documentation

◆ QgsImageSourceLineEdit()

QgsImageSourceLineEdit::QgsImageSourceLineEdit ( QWidget *  parent = nullptr)
inline

Constructor for QgsImageSourceLineEdit, with the specified parent widget.

Definition at line 237 of file qgsfilecontentsourcelineedit.h.


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