pypz.sniffer.views module

class pypz.sniffer.views.ChannelRWView(canvas: Canvas)

Bases: object

draw(left: int, right: int)
on_update(status_message: ChannelStatusMessage)
class pypz.sniffer.views.ChannelView(canvas: Canvas, channel_reader_idx: int, channel_writer_idx: int)

Bases: object

draw(next_available_y_position: int)
class pypz.sniffer.views.OperatorView(canvas: Canvas, operator: Operator)

Bases: object

draw(left, top)
class pypz.sniffer.views.PortView(canvas: Canvas, port_name: str)

Bases: object

draw(left, top)
class pypz.sniffer.views.ViewConfig

Bases: object

channel_cell_height = 12
channel_height = 36
channel_spacing_hor = 0
channel_spacing_ver = 15
channel_start_pos_x = 0
channel_start_pos_y = 30
channel_width = 120
grid_line_spacing_hor = 15
grid_line_spacing_ver = 15
operator_height = 100
operator_spacing_hor = 350
operator_spacing_ver = 50
operator_start_pos_x = 100
operator_start_pos_y = 50
operator_width = 300
replica_spacing_ver = 5
status_cell_count = 20
status_cell_size = 70
window_height = 600
window_width = 1400