Display Arrangement

This module can be used to display an arrangement on a new window

class discopygal.geometry_utils.display_arrangement.GUIArrangement
setupUi()

Setup the UI layout of the application. Should be overridded by any GUI application and define a custom layout.

discopygal.geometry_utils.display_arrangement.display_arrangement(arr, init_qt=False)

Get an arrangement and open a window that displays it. Useful for debugging.

Set init_qt=True if there is no other Qt window running

Parameters:
  • arr (Arrangement_2) – arrangement to display

  • init_qt (bool) – True if should init qt