GUI === .. py:module:: GUI Submodules ---------- .. toctree:: :maxdepth: 1 /autoapi/GUI/bill/index /autoapi/GUI/fuckups/index /autoapi/GUI/image/index /autoapi/GUI/music/index /autoapi/GUI/tablez/index /autoapi/GUI/utils/index Classes ------- .. autoapisummary:: GUI.BillingWindow GUI.ImageWindow GUI.MusicVisualiser GUI.Logger Functions --------- .. autoapisummary:: GUI.show_all_nicks GUI.modal_message Package Contents ---------------- .. py:class:: BillingWindow(roll: str, source: list[pathlib.Path], parent: str | int) .. py:attribute:: roll .. py:attribute:: num_images .. py:attribute:: ids_per_roll .. py:attribute:: search_machine .. py:attribute:: current_index :value: 0 .. py:attribute:: num_rows :value: 45 .. py:attribute:: total_snaps :value: 0 .. py:attribute:: source .. py:attribute:: parent .. py:method:: export() .. py:method:: suggest(sender, app_data, user_data) .. py:method:: set_id(id, value) .. py:method:: add_id(id) .. py:method:: set_nick(row) .. py:method:: show_selected_ids() .. py:method:: load(index: int) .. py:method:: same_as(index) .. py:method:: close() .. py:method:: update_total_snaps() .. py:function:: show_all_nicks() .. py:class:: ImageWindow(roll: str, detect_faces: bool, image_manager: Application.ImageManager, main_image_dimensions, thumnail_dimensions, window_dimensions) imej .. py:attribute:: current_image :type: int :value: 0 .. py:attribute:: detect_faces .. py:attribute:: roll .. py:attribute:: image_manager .. py:attribute:: main_image_dimensions .. py:attribute:: thumnail_dimensions .. py:attribute:: window_dimensions .. py:method:: setup() .. py:method:: open(index: int, force_reload=False) .. py:method:: next() .. py:method:: previous() .. py:method:: count_faces() .. py:class:: MusicVisualiser(track) UI representation of the DJ object. The DJ can live without this, but the visualiser can't live without the DJ :-( .. py:attribute:: dj .. py:attribute:: track .. py:method:: alternate() .. py:method:: visualiser(fft: list) .. py:method:: start() .. py:method:: stop() .. py:class:: Logger Bases: :py:obj:`logging.Handler` Snazzy .. py:attribute:: log_level :value: 0 .. py:attribute:: _auto_scroll :value: True .. py:attribute:: count :value: 0 .. py:attribute:: flush_count :value: 1000 .. py:attribute:: window_id .. py:attribute:: child_id .. py:attribute:: filter_id .. py:method:: auto_scroll(value) .. py:method:: _log(message, level) Different theme for each level .. py:method:: write(message) .. py:method:: flush() Ensure all logging output has been flushed. This version does nothing and is intended to be implemented by subclasses. .. py:method:: emit(record) Do whatever it takes to actually log the specified logging record. This version is intended to be implemented by subclasses and so raises a NotImplementedError. .. py:method:: clear_log() .. py:function:: modal_message(message, checkbox=True) When you need a popup