hyperspyui.widgets.extendedqwidgets module

Created on Fri Nov 21 22:11:04 2014

@author: Vidar Tonaas Fauske

class hyperspyui.widgets.extendedqwidgets.ExClickLabel

Bases: PyQt5.QtWidgets.QLabel

QLabel with ‘clicked()’ signal.

clicked
mouseReleaseEvent(self, QMouseEvent)
class hyperspyui.widgets.extendedqwidgets.ExDoubleSlider(parent=None, orientation=None)

Bases: PyQt5.QtWidgets.QSlider

QSlider with double values instead of int values.

_int2dbl(intval)
_on_change(intval)
double_valueChanged
ExDoubleSlider.setRange(self, int, int)
setValue(self, int)
value(self) int
class hyperspyui.widgets.extendedqwidgets.ExMessageBox

Bases: PyQt5.QtWidgets.QMessageBox

checkBox(self) QCheckBox
isChecked()
setCheckBox(self, QCheckBox)
class hyperspyui.widgets.extendedqwidgets.ExRememberPrompt(*args, **kwargs)

Bases: hyperspyui.widgets.extendedqwidgets.ExMessageBox

class hyperspyui.widgets.extendedqwidgets.ExToolWindow(parent=None)

Bases: PyQt5.QtWidgets.QDialog

QDialog with Qt.Tool window flags.

class hyperspyui.widgets.extendedqwidgets.FigureWidget(main_window, parent=None)

Bases: PyQt5.QtWidgets.QDockWidget

_on_figure_change(window)

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.

connect_(action=None)

Connects the widget to its update trigger, which is either a supplied action, or by default, the subWindowActivated of the MainWindow.

disconnect(action=None)

Disconnects an update trigger connected with connect().

on_visibility(visible)
hyperspyui.widgets.extendedqwidgets.tr(text)