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
@@ -309,6 +309,7 @@ SettingsDialog::SettingsDialog(ICaptureContext &ctx, QWidget *parent)
ui->Python_DebugEnabled->setChecked(m_Ctx.Config().Python_DebugEnabled);
ui->Python_LaunchVSCode->setChecked(m_Ctx.Config().Python_LaunchVSCode);
ui->Python_PromptReloadUnchanged->setChecked(m_Ctx.Config().Python_PromptReloadUnchanged);
ui->Python_DebugPyDir->setText(m_Ctx.Config().Python_DebugPyDir);
@@ -886,6 +887,13 @@ void SettingsDialog::on_Python_LaunchVSCode_toggled(bool checked)
m_Ctx.Config().Save();
}
void SettingsDialog::on_Python_PromptReloadUnchanged_toggled(bool checked)
{
m_Ctx.Config().Python_PromptReloadUnchanged = ui->Python_PromptReloadUnchanged->isChecked();
m_Ctx.Config().Save();
}
// texture viewer
void SettingsDialog::on_TextureViewer_PerTexSettings_toggled(bool checked)
{