mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Add generic user-provided notes to save along with the capture.
* In future one of the notes items would be for gathered hardware info. Not automatically, but with one button press the full configuration can be embedded.
This commit is contained in:
@@ -106,6 +106,8 @@ SettingsDialog::SettingsDialog(ICaptureContext &ctx, QWidget *parent)
|
||||
// disable sub-checkbox
|
||||
ui->EventBrowser_ColorEventRow->setEnabled(ui->EventBrowser_ApplyColors->isChecked());
|
||||
|
||||
ui->Comments_ShowOnLoad->setChecked(m_Ctx.Config().Comments_ShowOnLoad);
|
||||
|
||||
ui->Formatter_MinFigures->setValue(m_Ctx.Config().Formatter_MinFigures);
|
||||
ui->Formatter_MaxFigures->setValue(m_Ctx.Config().Formatter_MaxFigures);
|
||||
ui->Formatter_NegExp->setValue(m_Ctx.Config().Formatter_NegExp);
|
||||
@@ -359,6 +361,13 @@ void SettingsDialog::on_EventBrowser_ColorEventRow_toggled(bool checked)
|
||||
m_Ctx.Config().Save();
|
||||
}
|
||||
|
||||
void SettingsDialog::on_Comments_ShowOnLoad_toggled(bool checked)
|
||||
{
|
||||
m_Ctx.Config().Comments_ShowOnLoad = ui->Comments_ShowOnLoad->isChecked();
|
||||
|
||||
m_Ctx.Config().Save();
|
||||
}
|
||||
|
||||
// android
|
||||
void SettingsDialog::on_browseTempCaptureDirectory_clicked()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user