7.1.6.3. QmlApplication

Module to implement a Qt Application.

class BookBrowser.QtApplication.QmlApplication.Application[source]

Bases: PyQt5.QtCore.QObject

Class to implement a Qt Application.

__init__()[source]

Initialize self. See help(type(self)) for accurate signature.

_check_qml_is_loaded(obj, url)[source]
_init_application()[source]
_load_qml_main()[source]
_load_translation()[source]
_logger = <Logger BookBrowser.QtApplication.QmlApplication.Application (WARNING)>
_message_handler(msg_type, context, msg)[source]
_on_critical_exception(exception)[source]
_parse_arguments()[source]
_post_init()[source]
_print_critical_message(message)[source]
_register_qml_types()[source]
_set_context_properties()[source]
args
book
classmethod create(*args, **kwargs)[source]
exec_()[source]
execute_user_script(script_path)[source]

Execute an user script provided by file script_path in a context where is defined a variable application that is a reference to the application instance.

init_scanner()[source]
instance = None
library
load_book(path)[source]
load_library(path)[source]
platform
qml_application
scanner
scanner_image_provider
scanner_ready
classmethod setup_gui_application()[source]
thread_pool
class BookBrowser.QtApplication.QmlApplication.QmlApplication(application)[source]

Bases: PyQt5.QtCore.QObject

Class to implement a Qt QML Application.

__init__(application)[source]

Initialize self. See help(type(self)) for accurate signature.

_logger = <Logger BookBrowser.QtApplication.QmlApplication.QmlApplication (WARNING)>
_on_scan_done(path)[source]
about_message
application_name
application_url
book
book_changed
debug()[source]
file_exists_error
init_scanner()[source]
library
library_changed
load_book(url)[source]
load_library(url)[source]
preview_done
scan_done
scanner
scanner_ready