31 , _icon(icon.toUtf8())
80 r->
_data.setObject(o);
99 a[
"type"] =
"openLayout";
103 l[
"name"] =
"@sourcefile@";
105 l[
"path"] =
"@sourcepath@/@sourcefile@";
106 l[
"icon"] =
"@icon@";
static char * get(QString which="")
Fetch an icon from the library.
QString _url
The url to report to the iframe.
virtual QString reportDetails()
Reports the current url value.
virtual void read(VFS_request *r)
Read the contents of this node, which will contain its url.
QString _label
The label to use.
virtual QByteArray icon()
The icon for the button.
Q_INVOKABLE VFS_iframe(QString url, QString label=QString(), QString icon=QString())
virtual void metadata(VFS_request *r)
Return the metadata needed to create an iframe pane in the nearest available tab in the layout.
QByteArray _icon
The icon to use. Will default to "application" from VFS_icons if missing.
VFS_node is the base class from which all other VFS_node classes derive.
virtual void metadata(VFS_request *r)
Fetch the metadata of this node.
The base class for all requests between nodes.
bool _success
if the request was successfully completed
QJsonDocument _data
the request payload
QJsonObject _metadata
the request payload