usdmanager.preferences_dialog module¶
-
class
usdmanager.preferences_dialog.
PreferencesDialog
(parent, **kwargs)[source]¶ Bases:
sphinx.ext.autodoc.importer._MockObject
Preferences dialog
-
getPrefAutoCompleteAddressBar
()[source]¶ Returns: State of “Auto complete paths in address bar” check box. Rtype: bool
-
getPrefParseLinks
()[source]¶ Returns: Search for links in the opened file. Disable this for huge files that freeze the app. Rtype: bool
-
getPrefSyntaxHighlighting
()[source]¶ Returns: State of “Enable syntax highlighting” check box. Rtype: bool
-
getPrefTabSpaces
()[source]¶ Returns: Number of spaces to use instead of a tab. Only use this number of use spaces is also True. Rtype: int
-
getPrefTeletypeConversion
()[source]¶ Returns: State of “Display teletype colors” check box. Rtype: bool
-
getPrefTheme
()[source]¶ Get the selected theme.
We may eventually make this a combo box supporting multiple themes, so use the string name instead of just a boolean.
Returns: Selected theme name, or None if the default Rtype: str | None
-
populateProgsAndExts
(programs)[source]¶ Parameters: - programs : dict
Dictionary of extension: program pairs of strings.
-
restoreDefaults
(btn)[source]¶ Restore the GUI to the program’s default settings. Don’t update the actual preferences (that happens if OK is pressed).
-