GUI#

Submodules#

Classes#

BillingWindow

ImageWindow

imej

MusicVisualiser

UI representation of the DJ object. The DJ can live without this, but the visualiser can't live without

Logger

Snazzy

Functions#

show_all_nicks()

modal_message(message[, checkbox])

When you need a popup

Package Contents#

class GUI.BillingWindow(roll: str, source: list[pathlib.Path], parent: str | int)#
roll#
num_images#
ids_per_roll#
search_machine#
current_index = 0#
num_rows = 45#
total_snaps = 0#
source#
parent#
export()#
suggest(sender, app_data, user_data)#
set_id(id, value)#
add_id(id)#
set_nick(row)#
show_selected_ids()#
load(index: int)#
same_as(index)#
close()#
update_total_snaps()#
GUI.show_all_nicks()#
class GUI.ImageWindow(roll: str, detect_faces: bool, image_manager: Application.ImageManager, main_image_dimensions, thumnail_dimensions, window_dimensions)#

imej

current_image: int = 0#
detect_faces#
roll#
image_manager#
main_image_dimensions#
thumnail_dimensions#
window_dimensions#
setup()#
open(index: int, force_reload=False)#
next()#
previous()#
count_faces()#
class GUI.MusicVisualiser(track)#

UI representation of the DJ object. The DJ can live without this, but the visualiser can’t live without the DJ :-(

dj#
track#
alternate()#
visualiser(fft: list)#
start()#
stop()#
class GUI.Logger#

Bases: logging.Handler

Snazzy

log_level = 0#
_auto_scroll = True#
count = 0#
flush_count = 1000#
window_id#
child_id#
filter_id#
auto_scroll(value)#
_log(message, level)#

Different theme for each level

write(message)#
flush()#

Ensure all logging output has been flushed.

This version does nothing and is intended to be implemented by subclasses.

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.

clear_log()#
GUI.modal_message(message, checkbox=True)#

When you need a popup