hyperspyui.plugins.axesorderwidget module

Created on Tue Apr 28 11:00:55 2015

@author: Vidar Tonaas Fauske

class hyperspyui.plugins.axesorderwidget.AxesListWidget(type, parent=None)

Bases: PyQt5.QtWidgets.QListWidget

_on_rows_inserted(parent, begin, end)
_on_rows_moved(sourceParent, sourceStart, sourceEnd, destinationParent, destinationRow)
decodeMimeData(data)
dropEvent(self, QDropEvent)
inserted
last_drop = None
minimumSizeHint(self) QSize
moved
sizeHint(self) QSize
class hyperspyui.plugins.axesorderwidget.AxesOrderPlugin(main_window)

Bases: hyperspyui.plugins.plugin.Plugin

create_widgets()
flip_axes(axes, signal=None)
name = 'Axes order widget'
rollaxis(axis, pos, signal=None)
class hyperspyui.plugins.axesorderwidget.AxesOrderWidget(ui, parent=None)

Bases: hyperspyui.widgets.extendedqwidgets.FigureWidget

_flip_clicked()
_list_insert(src_row, dst_row, dst)

Called when drag and drop moved between lists.

_list_move(item, dst_row, dst)

Called when drag and drop moved interal in list.

_move_down()
_move_item(item)
_move_up()
_on_figure_change(win)

Called when a connected update triggers. If the window is valid, it sets up the traitsui dialog capture, and calls cb_make_dialog. If the window is invalid, it clears the widget.

_resize_controls()
_update_controls_from_signal(signal)
create_controls()
hyperspyui.plugins.axesorderwidget.tr(text)