| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
Abstract base class for a widgets which allows users to select content from a file, embedding a file, etc. More...
#include <qgsfilecontentsourcelineedit.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 file source is changed in the widget.  More... | |
| Public Member Functions | |
| 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... | |
| Properties | |
| QString | source | 
Abstract base class for a widgets which allows users to select content from a file, embedding a file, etc.
This class is designed to be used by content which is managed by a QgsAbstractContentCache, i.e. it can handle either direct file paths, base64 encoded contents, or remote HTTP urls.
Definition at line 40 of file qgsfilecontentsourcelineedit.h.
| QgsAbstractFileContentSourceLineEdit::QgsAbstractFileContentSourceLineEdit | ( | QWidget * | parent = nullptr | ) | 
Constructor for QgsAbstractFileContentSourceLineEdit, with the specified parent widget.
Definition at line 32 of file qgsfilecontentsourcelineedit.cpp.
| QgsMessageBar * QgsAbstractFileContentSourceLineEdit::messageBar | ( | ) | const | 
Returns the message bar associated with the widget.
Definition at line 361 of file qgsfilecontentsourcelineedit.cpp.
| 
 | inline | 
Returns the property override tool button.
Definition at line 82 of file qgsfilecontentsourcelineedit.h.
| void QgsAbstractFileContentSourceLineEdit::setLastPathSettingsKey | ( | const QString & | key | ) | 
Sets a specific settings key to use when storing the last used path for the file source.
Definition at line 101 of file qgsfilecontentsourcelineedit.cpp.
| void QgsAbstractFileContentSourceLineEdit::setMessageBar | ( | QgsMessageBar * | bar | ) | 
Sets the message bar associated with the widget.
This allows the widget to push feedback messages to the appropriate message bar.
Definition at line 356 of file qgsfilecontentsourcelineedit.cpp.
| void QgsAbstractFileContentSourceLineEdit::setPropertyOverrideToolButtonVisible | ( | bool | visible | ) | 
Sets the visibility of the property override tool button.
Definition at line 106 of file qgsfilecontentsourcelineedit.cpp.
| 
 | slot | 
Sets a new source to show in the widget.
Definition at line 112 of file qgsfilecontentsourcelineedit.cpp.
| QString QgsAbstractFileContentSourceLineEdit::source | ( | ) | const | 
Returns the current file source.
Definition at line 87 of file qgsfilecontentsourcelineedit.cpp.
| 
 | signal | 
Emitted whenever the file source is changed in the widget.
| 
 | readwrite | 
Definition at line 1 of file qgsfilecontentsourcelineedit.h.