mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-09 13:19:00 +00:00
* Log presets feature - Add “Load Presets…” button in Logger → Log Filter (settings_dialog.ui) - Implement LogPresetsDialog (table: Comment, Filter) - Support add (+), multi-remove (−), load via button or double-click - Persist presets via QSettings at logger_presets/entries (qt_ui.ini) - Wire button to open dialog and set logFilterLineEdit - Update CMakeLists.txt to include new dialog sources * CLang fix * CLang fix again * Log Presets: checkbox selection + tri-state header - Added first column with per-row checkboxes - Implemented header checkbox with tri-state; click toggles select-all/none - Synced checkboxes and row selection in both directions - Header toggle also updates row selection to match - Remove operates on checked rows; falls back to selected rows if none checked - Load uses first checked row; falls back to first selected row - Double-click row triggers the same action as Load - Load button visible only when exactly one row is selected - Remove button visible only when at least one row is selected - Dialog opens with no selected rows and no focused buttons; focus set to table - New rows start editing in the Comment column - Serialization updated for new column indices; checkbox state not persisted - Cleanups: removed unused include and empty helper; pruned temporary comments * Clang * Fix: tri‑state header checkbox visible and aligned - Overlay real QCheckBox in header section 0 (tri‑state) - Align with row checkboxes using SE_ItemViewItemCheckIndicator - Reposition on header resize and geometry changes - Header click + checkbox click toggle select‑all/none - Tri‑state reflects per‑row checkbox states * CLang --------- Co-authored-by: w1naenator <valdis.bogdans@hotmail.com>
57 KiB
57 KiB