tomwer.gui.utils.inputwidget.SelectionModeButton#

class tomwer.gui.utils.inputwidget.SelectionModeButton(parent=None, tooltip=None, triggered=None)#

Base class for Selection QAction.

Parameters:
  • mode (str) – the mode of selection of the action.

  • text (str) – The name of this action to be used for menu label

  • tooltip (str) – The text of the tooltip

  • triggered – The callback to connect to the action’s triggered signal or None for no callback.

property mode#
sigModeChanged#

signal emit when the mode is changed