Struct qml::QmlEngine [] [src]

pub struct QmlEngine { /* fields omitted */ }

Provides an entry point for building QML applications from Rust

Methods

impl QmlEngine
[src]

Creates a QML context of a non-headless application

Loads a file as a qml file

Loads qml from a specified url (file://, qrc://, http://)

Loads a string as a qml file

Launches the application

Closes the application

Sets a property for this QML context

This variant stores qvariant, so it is removed, only when this QmlEngine is removed.

Sets a property for this QML context

Trait Implementations

impl Default for QmlEngine
[src]

Returns the "default value" for a type. Read more

impl Drop for QmlEngine
[src]

A method called when the value goes out of scope. Read more