# {py:mod}`phystool.qt.configure` ```{py:module} phystool.qt.configure ``` ```{autodoc2-docstring} phystool.qt.configure :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`ConfigFormWidget ` - ```{autodoc2-docstring} phystool.qt.configure.ConfigFormWidget :summary: ``` * - {py:obj}`GeneralFormWidget ` - ```{autodoc2-docstring} phystool.qt.configure.GeneralFormWidget :summary: ``` * - {py:obj}`DatabaseFormWidget ` - ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget :summary: ``` * - {py:obj}`ConfigWidget ` - ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget :summary: ``` * - {py:obj}`ConfigDialog ` - ```{autodoc2-docstring} phystool.qt.configure.ConfigDialog :summary: ``` * - {py:obj}`ConfigWindow ` - ```{autodoc2-docstring} phystool.qt.configure.ConfigWindow :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`logger ` - ```{autodoc2-docstring} phystool.qt.configure.logger :summary: ``` ```` ### API ````{py:data} logger :canonical: phystool.qt.configure.logger :value: > 'getLogger(...)' ```{autodoc2-docstring} phystool.qt.configure.logger ``` ```` `````{py:class} ConfigFormWidget(parent: phystool.qt.configure.ConfigWidget, button: PySide6.QtWidgets.QPushButton, title: str, conf: configparser.SectionProxy | None = None) :canonical: phystool.qt.configure.ConfigFormWidget Bases: {py:obj}`PySide6.QtWidgets.QWidget` ```{autodoc2-docstring} phystool.qt.configure.ConfigFormWidget ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.ConfigFormWidget.__init__ ``` ````{py:attribute} fields :canonical: phystool.qt.configure.ConfigFormWidget.fields :type: list[tuple] :value: > [] ```{autodoc2-docstring} phystool.qt.configure.ConfigFormWidget.fields ``` ```` ````{py:method} as_conf() -> dict[str, str] :canonical: phystool.qt.configure.ConfigFormWidget.as_conf ```{autodoc2-docstring} phystool.qt.configure.ConfigFormWidget.as_conf ``` ```` ````` `````{py:class} GeneralFormWidget(parent: phystool.qt.configure.ConfigWidget, conf: phystool.config.MyConfigParser) :canonical: phystool.qt.configure.GeneralFormWidget Bases: {py:obj}`phystool.qt.configure.ConfigFormWidget` ```{autodoc2-docstring} phystool.qt.configure.GeneralFormWidget ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.GeneralFormWidget.__init__ ``` ````{py:attribute} fields :canonical: phystool.qt.configure.GeneralFormWidget.fields :value: > [('db',), ('editor',), ('delta',), ('desktop',), ('icon',)] ```{autodoc2-docstring} phystool.qt.configure.GeneralFormWidget.fields ``` ```` ````` `````{py:class} DatabaseFormWidget(parent: phystool.qt.configure.ConfigWidget, section_name: str, conf: phystool.config.MyConfigParser | None = None) :canonical: phystool.qt.configure.DatabaseFormWidget Bases: {py:obj}`phystool.qt.configure.ConfigFormWidget` ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget.__init__ ``` ````{py:attribute} fields :canonical: phystool.qt.configure.DatabaseFormWidget.fields :value: > [('path',), ('repo',)] ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget.fields ``` ```` ````{py:method} validate_path(tmp: str) -> pathlib.Path :canonical: phystool.qt.configure.DatabaseFormWidget.validate_path ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget.validate_path ``` ```` ````{py:method} validate_repo(tmp: str) -> str :canonical: phystool.qt.configure.DatabaseFormWidget.validate_repo ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget.validate_repo ``` ```` ````{py:method} validate_name(tmp: str) -> str :canonical: phystool.qt.configure.DatabaseFormWidget.validate_name ```{autodoc2-docstring} phystool.qt.configure.DatabaseFormWidget.validate_name ``` ```` ````` `````{py:class} ConfigWidget(exception: Exception | None) :canonical: phystool.qt.configure.ConfigWidget Bases: {py:obj}`PySide6.QtWidgets.QWidget` ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget.__init__ ``` ````{py:method} add_database() -> None :canonical: phystool.qt.configure.ConfigWidget.add_database ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget.add_database ``` ```` ````{py:method} remove_database() -> None :canonical: phystool.qt.configure.ConfigWidget.remove_database ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget.remove_database ``` ```` ````{py:method} save() -> bool :canonical: phystool.qt.configure.ConfigWidget.save ```{autodoc2-docstring} phystool.qt.configure.ConfigWidget.save ``` ```` ````` `````{py:class} ConfigDialog(parent: PySide6.QtWidgets.QWidget) :canonical: phystool.qt.configure.ConfigDialog Bases: {py:obj}`PySide6.QtWidgets.QDialog` ```{autodoc2-docstring} phystool.qt.configure.ConfigDialog ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.ConfigDialog.__init__ ``` ````{py:method} accept() -> None :canonical: phystool.qt.configure.ConfigDialog.accept ```{autodoc2-docstring} phystool.qt.configure.ConfigDialog.accept ``` ```` ````` `````{py:class} ConfigWindow(exception: Exception) :canonical: phystool.qt.configure.ConfigWindow Bases: {py:obj}`PySide6.QtWidgets.QMainWindow` ```{autodoc2-docstring} phystool.qt.configure.ConfigWindow ``` ```{rubric} Initialization ``` ```{autodoc2-docstring} phystool.qt.configure.ConfigWindow.__init__ ``` ````{py:method} accept() :canonical: phystool.qt.configure.ConfigWindow.accept ```{autodoc2-docstring} phystool.qt.configure.ConfigWindow.accept ``` ```` `````