pixie16.ui package

Subpackages

Submodules

pixie16.ui.plot module

class pixie16.ui.plot.MyNavigationToolbar(*args: Any, **kwargs: Any)

Bases: NavigationToolbar2QT

Only display the buttons we need

toolitems = []
class pixie16.ui.plot.Plot(*args: Any, **kwargs: Any)

Bases: QWidget

A Widget with a matplotlib figure and and (optional) navigation toolbar.

We already create a figure and single axis to plot on.

class pixie16.ui.plot.PlotOnly(*args: Any, **kwargs: Any)

Bases: Plot

A matplotlib area with a single axes and without borders and navbar.

Also added shortcuts to clear the plot, add text, and plot data using steps.

clear()
plot(x, y, **kwargs)
text(x, y, text, **kwargs)

pixie16.ui.widgets module

class pixie16.ui.widgets.BaseApp(*args: Any, **kwargs: Any)

Bases: QMainWindow

Base class for pypixie16 QT apps.

Sets up the main window, the title, a menubar and an info_bar.

about()

Print some help that is useful for debugging

class pixie16.ui.widgets.LabelAndIntNumber(*args: Any, **kwargs: Any)

Bases: QWidget

A generic Int input widget in combination with a QLabel.

property value: int
class pixie16.ui.widgets.VStack(*args: Any, **kwargs: Any)

Bases: QVBoxLayout

Stack of LabelAndIntNumber.

Helper class to make it easier to create a VBoxLayout of LabelAndIntNumber Widgets and to connect a callback.

delete()
property value