cytoflowgui.util

A few utility classes for cytoflowgui

class cytoflowgui.util.DefaultFileDialog(*args: Any, **kwargs: Any)[source]

Bases: pyface.ui.qt4.file_dialog.

A pyface.ui.qt4.file_dialog.FileDialog with a default suffix

default_suffix

alias of traits.trait_types.Str

class cytoflowgui.util.HintedMainWindow(*args: Any, **kwargs: Any)[source]

Bases: pyface.qt.QtGui.

When pyface makes a new dock pane, it sets the width and height as fixed (from the new layout or from the default). Then, after it’s finished setting up, it resets the minimum and maximum widget sizes. In Qt5, this triggers a re-layout according to the widgets’ hinted sizes. So, here we keep track of “fixed” sizes, then return those sizes as the size hint to the layout engine.

hint_width = None
hint_height = None
setFixedWidth(*args, **kwargs)[source]
setFixedHeight(*args, **kwargs)[source]
sizeHint(*args, **kwargs)[source]
class cytoflowgui.util.HintedWidget(*args: Any, **kwargs: Any)[source]

Bases: pyface.qt.QtGui.

When pyface makes a new widget, it sets the width and height as fixed (from the new layout or from the default). Then, after it’s finished setting up, it resets the minimum and maximum widget sizes. In Qt5, this triggers a re-layout according to the widgets’ hinted sizes. So, here we keep track of “fixed” sizes, then return those sizes as the size hint to the layout engine.

hint_width = None
hint_height = None
setFixedWidth(*args, **kwargs)[source]
setFixedHeight(*args, **kwargs)[source]
sizeHint(*args, **kwargs)[source]