ViewMetaPage QML Type

Allows to view, edit, and save Meta information. More...

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

Properties

Signals

Methods

Detailed Description

Initially, this page was a full screen text editor. But the nature of the swipe-based interface makes editing, scrolling etc. very unwieldy, ugly and hard to use.

Therefore, this is now a line-based editor, which may seem clumsy at first, but works better in practice.

On how to use the resulting UI, see the Edit Meta

Property Documentation

canEdit : bool

true if content can be edited and saved


description : string

A name to show in the title


editedData : string

The content of fileData, including user modifications.


fileData : string

The content of the file to show/edit


saveTo : string

Optional file url to save the data to on completion


Signal Documentation

fileSaved(string path)

Emitted when something has been saved, path contains the name of the file.


Method Documentation

save()

Saves the content of editedData to a file, emits fileSaved upon completion. Will also pop the page stack to navigate back to the calling page.



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.