diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-05-24 04:54:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-24 04:54:48 +0200 |
| commit | 4c56a25463d15cf12e21fe512a598bee91b3363d (patch) | |
| tree | b0478364cd4d267c97334164aa876b41c1a841f9 /src/widgets | |
| parent | 4b0f7e4d806c79313e493a3c58818e995af25847 (diff) | |
| parent | eb024cb93131cddba8ec1a6094abde8bf1f4eaf3 (diff) | |
Merge pull request #966 from AttorneyOnline/coolslide-rebased
[Feature] Courtroom slides + major AOLayer overhaul
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/aooptionsdialog.cpp | 2 | ||||
| -rw-r--r-- | src/widgets/aooptionsdialog.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/widgets/aooptionsdialog.cpp b/src/widgets/aooptionsdialog.cpp index beb7e55..a0b7d7c 100644 --- a/src/widgets/aooptionsdialog.cpp +++ b/src/widgets/aooptionsdialog.cpp @@ -358,6 +358,7 @@ void AOOptionsDialog::setupUI() FROM_UI(QCheckBox, category_stop_cb); FROM_UI(QCheckBox, sfx_on_idle_cb); FROM_UI(QCheckBox, evidence_double_click_cb); + FROM_UI(QCheckBox, slides_cb); registerOption<QSpinBox, int>("theme_scaling_factor_sb", &Options::themeScalingFactor, &Options::setThemeScalingFactor); registerOption<QCheckBox, bool>("animated_theme_cb", &Options::animatedThemeEnabled, &Options::setAnimatedThemeEnabled); @@ -400,6 +401,7 @@ void AOOptionsDialog::setupUI() registerOption<QCheckBox, bool>("category_stop_cb", &Options::stopMusicOnCategoryEnabled, &Options::setStopMusicOnCategoryEnabled); registerOption<QCheckBox, bool>("sfx_on_idle_cb", &Options::playSelectedSFXOnIdle, &Options::setPlaySelectedSFXOnIdle); registerOption<QCheckBox, bool>("evidence_double_click_cb", &Options::evidenceDoubleClickEdit, &Options::setEvidenceDoubleClickEdit); + registerOption<QCheckBox, bool>("slides_cb", &Options::slidesEnabled, &Options::setSlidesEnabled); // Callwords tab. This could just be a QLineEdit, but no, we decided to allow // people to put a billion entries in. diff --git a/src/widgets/aooptionsdialog.h b/src/widgets/aooptionsdialog.h index bccec58..b16be33 100644 --- a/src/widgets/aooptionsdialog.h +++ b/src/widgets/aooptionsdialog.h @@ -47,6 +47,7 @@ private: QPushButton *ui_theme_reload_button; QPushButton *ui_theme_folder_button; QCheckBox *ui_evidence_double_click_cb; + QCheckBox *ui_slides_cb; QCheckBox *ui_animated_theme_cb; QSpinBox *ui_stay_time_spinbox; QCheckBox *ui_instant_objection_cb; |
