pynaviz.qt.mainwindow#
Functions
|
Helper function to get children as a dictionary |
|
|
|
Classes
|
|
|
|
|
Store reference to NWB file object and variable key. |
|
- class pynaviz.qt.mainwindow.HelpBox(parent=None)[source]#
Bases:
QFrame- staticMetaObject = PySide6.QtCore.QMetaObject("HelpBox" inherits "QFrame": )#
- class pynaviz.qt.mainwindow.MainWindow(variables=None, layout_path=None)[source]#
Bases:
QMainWindow- add_dock_widget(variable, key_path, manager_state_dict=None)[source]#
Add a new dock widget to the main window based on the variable or its key path
- closeEvent(event)[source]#
Handle the close event to ensure proper cleanup.
- Parameters:
event (QEvent)
- staticMetaObject = PySide6.QtCore.QMetaObject("MainWindow" inherits "QMainWindow": )#
- class pynaviz.qt.mainwindow.NWBReference(nwb_file, key)[source]#
Bases:
objectStore reference to NWB file object and variable key.
Keeps the NWB file (and its IO handle) alive to prevent HDF5 datasets from being closed during garbage collection.
- class pynaviz.qt.mainwindow.VariableDock(variables, gui)[source]#
Bases:
QDockWidget- staticMetaObject = PySide6.QtCore.QMetaObject("VariableDock" inherits "QDockWidget": )#
- pynaviz.qt.mainwindow.get_children_dict(parent)[source]#
Helper function to get children as a dictionary
- Parameters:
parent (QTreeWidget | QTreeWidgetItem)