Plane Selection Buttons

Plane Selection Buttons Module

This file contains a class required for creating the buttons with which the user can pick the brain view orientation.

Usage:

To use this module, import it and instantiate is as you wish:

from Paint4Brains.GUI.PlaneSelectionButtons import PlaneSelectionButtons

buttons = PlaneSelectionButtons(parameters)

class Paint4Brains.GUI.PlaneSelectionButtons.PlaneSelectionButtons(button1, button2, button3, parent=None)

PlaneSelectionButtons class

This is the plane selection Buttons class which implements the buttons with which you can pick the brain view orientation. The 3 buttons are initialized on the left side. Basically a number of QT buttons arranged in a vertical layout. When the class is initialised the three functions to be executed when pressing the buttons are given as input. The buttons are decorated with fixed sized images

Args:
button1 (function): Function that sets the view along the 0 axis button2 (function): Function that sets the view along the 1 axis button3 (function): Function that sets the view along the 2 axis parent (class): Base or parent class