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:
QListWidget
- _on_rows_inserted(parent, begin, end)
- _on_rows_moved(sourceParent, sourceStart, sourceEnd, destinationParent, destinationRow)
- decodeMimeData(data)
- inserted
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- last_drop = None
- minimumSizeHint(self) QSize
- moved
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- sizeHint(self) QSize
- class hyperspyui.plugins.axesorderwidget.AxesOrderPlugin(main_window)
Bases:
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:
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)