phystool.qt.configure

Module Contents

Classes

ConfigFormWidget

GeneralFormWidget

DatabaseFormWidget

ConfigWidget

ConfigDialog

ConfigWindow

PhysConfig

Data

logger

API

phystool.qt.configure.logger

“getLogger(…)”

class phystool.qt.configure.ConfigFormWidget(parent: phystool.qt.configure.ConfigWidget, button: PySide6.QtWidgets.QPushButton, title: str, conf: configparser.SectionProxy | None = None)

Bases: PySide6.QtWidgets.QWidget

Initialization

fields: list[tuple]

[]

as_conf() dict[str, str]
class phystool.qt.configure.GeneralFormWidget(parent: phystool.qt.configure.ConfigWidget, conf: phystool.config.MyConfigParser)

Bases: phystool.qt.configure.ConfigFormWidget

Initialization

fields

[(“db”,), (“editor”,), (“delta”,), (“desktop”,), (“icon”,)]

class phystool.qt.configure.DatabaseFormWidget(parent: phystool.qt.configure.ConfigWidget, section_name: str, conf: phystool.config.MyConfigParser | None = None)

Bases: phystool.qt.configure.ConfigFormWidget

Initialization

fields

[(“path”,), (“repo”,)]

validate_path(tmp: str) pathlib.Path
validate_repo(tmp: str) str
validate_name(tmp: str) str
class phystool.qt.configure.ConfigWidget(exception: Exception | None)

Bases: PySide6.QtWidgets.QWidget

Initialization

add_database() None
remove_database() None
save() bool
class phystool.qt.configure.ConfigDialog(parent: PySide6.QtWidgets.QWidget)

Bases: PySide6.QtWidgets.QDialog

Initialization

accept() None
class phystool.qt.configure.ConfigWindow(exception: Exception)

Bases: PySide6.QtWidgets.QMainWindow

Initialization

accept()
class phystool.qt.configure.PhysConfig(exception: Exception)

Bases: PySide6.QtWidgets.QApplication

Initialization