Class QfEditorWidgetExternalResource
ClassList > QfEditorWidgetExternalResource
Inherits the following classes: QfEditorWidgetBase
Public Types
| Type | Name |
|---|---|
| enum | DocumentViewer |
Public Properties
| Type | Name |
|---|---|
| property list< string > | acceptedTypes |
| property string | audioSourcePath |
| property var | currentValue |
| property int | documentViewer |
| property bool | isAudio |
| property bool | isImage |
| property bool | isVideo |
| property string | prefixToRelativePath |
| property string | quickActionType |
Public Properties inherited from QfEditorWidgetBase
| Type | Name |
|---|---|
| property bool | hasMenu |
| property bool | isEmpty |
| property bool | isLoaded |
| property bool | isNull |
| property Menu | menu |
Public Signals inherited from QfEditorWidgetBase
| Type | Name |
|---|---|
| signal void | requestBarcode (var item) |
| signal void | requestGeometry (var item, var layer) |
| signal void | requestJumpToPoint (var center, real scale, bool handleMargins) |
| signal void | valueChangeRequested (var value, bool isNull) |
Public Functions
| Type | Name |
|---|---|
| void | attachFile () |
| void | attachGallery () |
| void | captureAudio () |
| void | capturePhoto () |
| void | captureVideo () |
| void | getResourceFilePath () |
| void | prepareValue (fullValue) |
Public Types Documentation
enum DocumentViewer
enum QfEditorWidgetExternalResource::DocumentViewer {
DocumentFile,
DocumentImage,
DocumentWeb,
DocumentAudio,
DocumentVideo
};
Public Properties Documentation
property acceptedTypes
list<string> QfEditorWidgetExternalResource::acceptedTypes;
Remark:
This property is read-only
property audioSourcePath
string QfEditorWidgetExternalResource::audioSourcePath;
property currentValue
var QfEditorWidgetExternalResource::currentValue;
property documentViewer
int QfEditorWidgetExternalResource::documentViewer;
property isAudio
bool QfEditorWidgetExternalResource::isAudio;
property isImage
bool QfEditorWidgetExternalResource::isImage;
property isVideo
bool QfEditorWidgetExternalResource::isVideo;
property prefixToRelativePath
string QfEditorWidgetExternalResource::prefixToRelativePath;
property quickActionType
string QfEditorWidgetExternalResource::quickActionType;
Remark:
This property is read-only
Public Functions Documentation
function attachFile
void QfEditorWidgetExternalResource::attachFile ()
function attachGallery
void QfEditorWidgetExternalResource::attachGallery ()
function captureAudio
void QfEditorWidgetExternalResource::captureAudio ()
function capturePhoto
void QfEditorWidgetExternalResource::capturePhoto ()
function captureVideo
void QfEditorWidgetExternalResource::captureVideo ()
function getResourceFilePath
void QfEditorWidgetExternalResource::getResourceFilePath ()
function prepareValue
void QfEditorWidgetExternalResource::prepareValue (
fullValue
)
The documentation for this class was generated from the following file src/gui/qml/editorwidgets/QfEditorWidgetExternalResource.qml