spinetoolbox.widgets.options_widget
¶
Contains OptionsWidget class.
author: |
|
---|---|
date: | 1.6.2019 |
Module Contents¶
-
class
spinetoolbox.widgets.options_widget.
OptionsWidget
(options, header='Options', parent=None)[source]¶ Bases:
PySide2.QtWidgets.QWidget
A widget for handling simple options. Used by ConnectionManager.
Creates OptionWidget
Parameters: options (Dict) – Dict describing what options to build a widget around.
Keyword Arguments: - header (str) – Title of groupbox (default: {“Options”})
- parent (QWidget, None) – parent of widget