7.1.6.6. QmlScanner

class BookBrowser.QtApplication.QmlScanner.QmlScanner(fake=False)[source]

Bases: PyQt5.QtCore.QObject

__bool__()[source]
__init__(fake=False)[source]

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

_logger = <Logger BookBrowser.QtApplication.QmlScanner.QmlScanner (WARNING)>
_maximize_scan_area()[source]
_set_area()[source]
_set_mode()[source]
_set_resolution()[source]
area_x_sup
area_y_sup
config
device
end_time(number_of_pages_done, number_of_pages)[source]
file_exists_error
has_device
modes
preview_done
resolutions
scan(overwrite)[source]
scan_done
scan_image()[source]
start_timer()[source]
working_directory
class BookBrowser.QtApplication.QmlScanner.QmlScannerConfig[source]

Bases: PyQt5.QtCore.QObject

__default_area__ = {'x_inf': 0, 'x_sup': 0, 'y_inf': 0, 'y_sup': 0}
__init__()[source]

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

__json_filename__ = '.book_browser.json'
__json_keys__ = ('path', 'filename_pattern', 'index', 'resolution', 'mode', 'area', 'is_maximized', 'number_of_pages')
_json_path()[source]
_logger = <Logger BookBrowser.QtApplication.QmlScanner.QmlScannerConfig (WARNING)>
area
area_changed
filename_pattern
filename_pattern_changed
index
index_changed
is_maximized
is_maximized_changed
json_path
load()[source]
maximized
mode
mode_changed
number_of_pages
number_of_pages_changed
path
path_changed
resolution
resolution_changed
save()[source]
class BookBrowser.QtApplication.QmlScanner.ScannerImageProvider[source]

Bases: PyQt5.QtQuick.QQuickImageProvider

__init__()[source]

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

_logger = <Logger BookBrowser.QtApplication.QmlScanner.ScannerImageProvider (WARNING)>
output
requestImage(self, str, QSize) → Tuple[QImage, QSize][source]
requestPixmap(self, str, QSize) → Tuple[QPixmap, QSize][source]