Add a project explorer to the python scripting window

* This displays the current UI extension files, some built-in examples, and
  recently opened loose files
This commit is contained in:
baldurk
2026-08-13 17:46:44 +01:00
parent b846705c0b
commit 459bfb2592
7 changed files with 477 additions and 13 deletions
@@ -394,6 +394,22 @@ DECLARE_REFLECTION_STRUCT(BugReport);
"type: List[str]"); \
CONFIG_SETTING(public, QVariantList, rdcarray<rdcstr>, Python_StubDirs) \
\
DOCUMENT( \
"``True`` if there should be a prompt when reloading script file changes from disk, even " \
"if the script has not been changed in the editor. Otherwise changes are reloaded " \
"silently.\n" \
"\n" \
"Defaults to ``False``." \
"" \
":type: bool"); \
CONFIG_SETTING_VAL(public, bool, bool, Python_PromptReloadUnchanged, false) \
\
DOCUMENT( \
"List of files recently opened in the python scripting window.\n" \
"\n:" \
"type: List[str]"); \
CONFIG_SETTING(public, QVariantList, rdcarray<rdcstr>, Python_RecentFiles) \
\
DOCUMENT( \
"``True`` if when loading a capture that was originally captured on a remote device but " \
"uses an API that can be supported locally, should be loaded locally without prompting to " \