RemoteFileDelegate QML Type

Displays a file name, its icon and some meta info. More...

Import Statement: import org.nephros.sailfish.OBSMaster 1.0

Properties

Methods

Detailed Description

Property Documentation

fileSize : string

file size, formatted from the size property in the model


indicator : Item

Unused here, to be filled by inheritants.


mimeType : string

MIME type, from the property of the same name in the model. If this is empty or undefined, the icon will be selected internally from the fileName property. Otherwise, Silica's iconForMimeType() is used.


note : string

Additional text to add to the metadata attributes to be displayed.


Method Documentation

iconForNoMimeType()

Returns the url of a icon image, determined from the fileName. Inspired by Silica's iconForMimeType() but necessary for OBS because a remote result list does not have MIME type information.



OBS Master Documentation Copyright (c) 2023 The OBS Master contributors. This document may be used under the terms of the Creative Commons Attribution Share Alike 4.0 International License.