|
| QgsExternalResourceWidget (QWidget *parent=nullptr) |
| QgsExternalResourceWidget creates a widget with a file widget and a document viewer Both part of the widget are optional. More...
|
|
QString | defaultRoot () const |
| Configures the base path which should be used if the relativeStorage property is set to QgsFileWidget::RelativeDefaultPath. More...
|
|
QVariant | documentPath (QVariant::Type type=QVariant::String) const |
| documentPath returns the path of the current document in the widget More...
|
|
QgsExternalResourceWidget::DocumentViewerContent | documentViewerContent () const |
| returns the type of content used in the document viewer More...
|
|
int | documentViewerHeight () const |
| returns the height of the document viewer More...
|
|
int | documentViewerWidth () const |
| returns the width of the document viewer More...
|
|
QgsExternalStorageFileWidget * | fileWidget () |
| Returns file widget to allow its configuration. More...
|
|
bool | fileWidgetVisible () const |
| returns if the file widget is visible in the widget More...
|
|
QgsMessageBar * | messageBar () const |
| Returns message bar used to report messages. More...
|
|
QgsFileWidget::RelativeStorage | relativeStorage () const |
| Configures if paths are handled absolute or relative and if relative, which should be the base path. More...
|
|
void | setDefaultRoot (const QString &defaultRoot) |
| Configures the base path which should be used if the relativeStorage property is set to QgsFileWidget::RelativeDefaultPath. More...
|
|
void | setDocumentPath (const QVariant &documentPath) |
|
void | setDocumentViewerContent (QgsExternalResourceWidget::DocumentViewerContent content) |
| setDocumentViewerContent defines the type of content to be shown. Widget will be adapted accordingly More...
|
|
void | setDocumentViewerHeight (int height) |
| setDocumentViewerWidth set the height of the document viewer. More...
|
|
void | setDocumentViewerWidth (int width) |
| setDocumentViewerWidth set the width of the document viewer. More...
|
|
void | setFileWidgetVisible (bool visible) |
| Sets the visibility of the file widget in the layout. More...
|
|
void | setMessageBar (QgsMessageBar *messageBar) |
| Set messageBar to report messages. More...
|
|
void | setReadOnly (bool readOnly) |
| defines if the widget is readonly More...
|
|
void | setRelativeStorage (QgsFileWidget::RelativeStorage relativeStorage) |
| Configures if paths are handled absolute or relative and if relative, which should be the base path. More...
|
|
void | setStorageAuthConfigId (const QString &authCfg) |
| Sets the authentication configuration ID to be used for the current external storage (if defined) More...
|
|
void | setStorageType (const QString &storageType) |
| Set storageType storage type unique identifier as defined in QgsExternalStorageRegistry or null QString if there is no storage defined, only file selection. More...
|
|
QString | storageAuthConfigId () const |
| Returns the authentication configuration ID used for the current external storage (if defined) More...
|
|
QString | storageType () const |
| Returns storage type unique identifier as defined in QgsExternalStorageRegistry. More...
|
|