naturtag.app.settings_menu module

class naturtag.app.settings_menu.ChoiceAltDisplaySetting(settings, icon_str, setting_attr, setting_title=None, choices=None)

Bases: SettingContainer

staticMetaObject = PySide6.QtCore.QMetaObject("ChoiceAltDisplaySetting" inherits "SettingContainer": )
class naturtag.app.settings_menu.ChoiceSetting(settings, icon_str, setting_attr, setting_title=None, choices=None)

Bases: SettingContainer

staticMetaObject = PySide6.QtCore.QMetaObject("ChoiceSetting" inherits "SettingContainer": )
class naturtag.app.settings_menu.IntSetting(settings, icon_str, setting_attr)

Bases: TextSetting

Text input setting, integer values only

staticMetaObject = PySide6.QtCore.QMetaObject("IntSetting" inherits "TextSetting": )
class naturtag.app.settings_menu.PathSetting(settings, icon_str, setting_attr, setting_title=None, dialog_parent=None)

Bases: SettingContainer

browse()

Browse for a directory

setEnabled(enabled)
set_text(text)
staticMetaObject = PySide6.QtCore.QMetaObject("PathSetting" inherits "SettingContainer": )
class naturtag.app.settings_menu.SettingContainer(icon_str, setting_attr, setting_title=None)

Bases: HorizontalLayout

Layout for an icon, description, and input widget for a single setting

staticMetaObject = PySide6.QtCore.QMetaObject("SettingContainer" inherits "HorizontalLayout": )
class naturtag.app.settings_menu.SettingsMenu

Bases: BaseController

Application settings menu, with input widgets connected to values in settings file

add_group(*args, **kwargs)

Add a new groupbox to the widget or layout

closeEvent(event)

Save settings when closing the window

staticMetaObject = PySide6.QtCore.QMetaObject("SettingsMenu" inherits "BaseController": )
class naturtag.app.settings_menu.TextSetting(settings, icon_str, setting_attr, setting_title=None, validator=None)

Bases: SettingContainer

Text input setting

staticMetaObject = PySide6.QtCore.QMetaObject("TextSetting" inherits "SettingContainer": )
class naturtag.app.settings_menu.ToggleSetting(settings, icon_str, setting_attr, setting_title=None)

Bases: SettingContainer

Boolean setting with toggle switch

on_click
staticMetaObject = PySide6.QtCore.QMetaObject("ToggleSetting" inherits "SettingContainer": Methods:   #4 type=Signal, signature=on_click(bool), parameters=bool )