class QML::Application

Overview

Manages main parts of QML, such as root and event loop. The rough-equivelent to (QApplication)[https://doc.qt.io/qt-5/qapplication.html] from the C++ lib

Defined in:

qml/application.cr

Constant Summary

INSTANCE = self.new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def engine(*args, **options) #

[View source]
def engine(*args, **options, &) #

[View source]
def exec #

[View source]
def finalize #

[View source]
def load(path : String | Nil = nil, data : String | Nil = nil) #

[View source]
def to_unsafe : Pointer(LibQML::Application) #

[View source]