Commit Graph

8347 Commits (c4069eed02cf6191ca2a70cc78e9d9a718ecfa3b)

Author SHA1 Message Date
Daniel Nylander cdcfbea6d0
Updated Swedish translation (#3566) 2 months ago
ANK-dev a9c36f39ad Use `statusTip` instead of `toolTip` for menus 2 months ago
ANK-dev 17a1b231af Keep Game List/Grid view options enabled if rendering to separate window 2 months ago
ANK-dev df49eba478 Added icons and mnemonics in View menu
- Icons for Zoom In and Zoom Out
- Adjusted and added missing mnemonics
2 months ago
ANK-dev 1f07bfc9c7 Added "View > Sort By" menu
- Allows sorting by any column even when hidden
- Allows sorting in grid view
2 months ago
ANK-dev 456d341ec2 Enable/Disable View menu items according to state
- Disable all Game List/Grid related options while System Display is active.
  Reenable when switching back to List/Grid.
- Disable Game List/Grid exclusive options when switching to the opposite view;
- Disable "Clear List Background" when a background is not set;
- Enable tooltips for menu items;
2 months ago
Stenzek 6126209a25
CMake: Remove Flatpak specific commands
Also no longer needed.
2 months ago
Stenzek 78bc53ff43
Qt: Stop slider tooltip showing on keyboard shortcut 2 months ago
Stenzek 8f247c909a
Qt: Move zoom logic entirely to game list widget 2 months ago
Stenzek 56665d64af
Achievements: Simplify hash-to-string routine 2 months ago
Stenzek fe09b5d16f
ISOReader: Allow zero-length root directory entries
BIOS can read them, so should we.
2 months ago
Stenzek d8912cb3c3
System: Allow RVO in GetExecutableNameForImage() 2 months ago
Ariel Nogueira Kovaljski c6666a388f
Qt: Show tooltip when adjusting icon/cover scale (#3563)
* Qt: Show tooltip when adjusting icon/cover scale

* Qt: removed tooltip on hover, handle zoom via View menu and more

- Tooltip only shows when changing the scale;
- "View > Zoom In/Out" also works for the list view;
- Grid View scale percentage display value adjusted (10%-200%);
- Added translation support for the scale tooltip;
2 months ago
Anderson Cardoso b95f2b16f2
Atualização Português do Brasil (#3564)
Atualizado para a última versão
2 months ago
Stenzek f0ff520a9d
GameList: Improve custom title cover handling
Prefer the custom title path over the serial if one is present.

Also use sanitized names.
2 months ago
Stenzek f45350898b
GameList: Don't balk on cover titles that end in dot 2 months ago
Stenzek 1cdde2cab6
Path: Add IsFileNameValid() 2 months ago
Stenzek a8bbd2c4a9
CrashHandler: Catch exceptions and std::terminate 2 months ago
Connor McLaughlin 2459ac7cc5
Achievements: Fix crash on unknown game 2 months ago
Daniel Nylander 5c7b976367
Updated Swedish translation (#3562) 2 months ago
Stenzek 96c90a4acd
Qt: Use colorScheme() for dark mode detection on system themes 2 months ago
Stenzek 7bf3b7931b
Qt: Fix hotkey alt row colours on Mac 2 months ago
Stenzek aca4e6be42
Qt: Use Roboto for cover captions too
And don't do a full refresh when scale changes.
2 months ago
Stenzek e2142419e1
Qt: Use Roboto for cover placeholder text
Consistency across platforms.
2 months ago
Stenzek 17aa588736
Qt: Add shadow to placeholder cover text 2 months ago
Stenzek c9156fd7b5
Qt: Pack host local state in struct 2 months ago
Stenzek c4ac3d195c
Qt: Improve padding in hotkey rows
And fix incorrect parent widgets.
2 months ago
Stenzek 022d9f3083
Qt: Pass game list entry to settings window
Simplfies everything, makes restoring custom properties more reliable.
2 months ago
Ariel Nogueira Kovaljski d367e7e4e0
Qt: Alternating row colors for Hotkeys settings (#3559) 2 months ago
Davide Pesavento aee897e44a
Qt: Disable UI of settings forced via gamedb, part two (#3561)
Missed these in the previous commit.
2 months ago
Stenzek d0840c0615
GameList: Don't save custom titles to cache
Stops custom titles from being unremovable.
2 months ago
Stenzek dc7eec7eac
Qt: Use hasAlphaChannel() for ARGB32 check 2 months ago
Stenzek e470269d01
FileSystem: Remove now-unused function 2 months ago
Stenzek d944966db6
Qt: Use ARGB32_Premultiplied for transparent covers 2 months ago
Stenzek 6e4da72552
System: Remove use of CDImage title metadata
This way memory card filenames are consistent regardless of the
image format.

Also make GetGameMemoryCardPath() and GetMemoryCardForSlot()
behave the same.
2 months ago
Ariel Nogueira Kovaljski caa865628d
Qt: Expand Gamelist background to fill available area (#3560) 2 months ago
Davide Pesavento 0296c84add
Qt: Disable UI of settings forced via gamedb traits (#3558) 2 months ago
Stenzek ad3ad6065e
Qt: Update Korean translation by Hack茶ん 2 months ago
Anderson Cardoso 5794746fa0
Atualização Português do Brasil (#3557)
Atualizado para a última versão
2 months ago
Stenzek 627fec4e30
FullscreenUI: Tweak text colours slightly 2 months ago
Stenzek dfc650410e
Qt: Use RGB32 format for covers/background
As per QPainter documentation, ARGB32 etc is not optimal.

https://doc.qt.io/qt-6/qpainter.html#performance
2 months ago
Stenzek ec6a411bdf
Qt: Use Window/AutoFillBackground for game list background
Fixes scrolling glitching out, as well as the background not showing in
the Qt Windows 11 theme.
2 months ago
Stenzek 0136f721c4
SDLInputSource: Fix possible negative input to SDL_GetJoystickButton() 2 months ago
Stenzek babf4201d8
Settings: Default to notification achievement indicator mode
Makes more sense than an icon in the corner of the screen that you don't
notice half the time, and the other half is arguably annoying.
2 months ago
Davide Pesavento 81dca60aa9
GameDatabase: Use correct titles in compatibility report (#3555) 2 months ago
Stenzek c3e5075c60
Achievements: Show notification when challenge fails
If mode is set to notifications.
2 months ago
Stenzek d7ed9a736d
Achievements: Show most recent progress update in pause menu 2 months ago
Ariel Nogueira Kovaljski 1275eb1f9b
GPU/ShaderGen: Added Hybrid Bilinear scaling (#3554)
Middle ground between Smooth Bilinear and Sharp Bilinear.
Smooth horizontally and sharp vertically like a raster scan.
2 months ago
Stenzek 78d22b8852
Qt: Swap point size for pixel size in a few places
Make sizes consistent between Windows and MacOS.
2 months ago
Stenzek 4c6375adc9
Qt: Fix inconsistent cover caption size at startup 2 months ago
Stenzek da64db69f2
System: Don't print __DATE__/__TIME__
Inhibits reproducible builds.
2 months ago
Stenzek 26c4eec874
Qt: Fix another compiler warning 2 months ago
Stenzek 14b2302e29
Qt: Fix compile warning 2 months ago
Stenzek 5cd8444ad6
Qt: Consider title when sizing icon column 2 months ago
Ariel Nogueira Kovaljski 587e73d71d
Sharper icon scaling (#3553)
* take ceiling instead of truncation for icon scaling

* #include <cmath> and change std::ceilf to std::ceil
2 months ago
Stenzek 3ff6287a82
GameList: Use size_t for indexing 2 months ago
Stenzek 7e04671644
GameList: Use fixed size for icon column
Fixes sluggish icon size change and speeds up startup since we
no longer need to load every icon.
2 months ago
Stenzek 393724abdc
Qt: Save one lookup when loading covers 2 months ago
Stenzek b5d5cfd9c2
GameList: Pack state in struct 2 months ago
Stenzek f7edbdec22
Qt: Remove unused signal 2 months ago
Stenzek 21bede8123
ImGuiManager: Initialize to default text font order 2 months ago
Stenzek 979e850ea5
Qt: Include full binding text in tooltip 2 months ago
Stenzek 78fa54344e
SmallString: Make constructors explicit
Catch more errors at compile-time.
2 months ago
Stenzek d9dc5074df
InputManager: Map 'old' key names to new on load
Can't really automigrate settings because of input profiles, but this
will keep the old ones loading.
2 months ago
Stenzek c33131d153
InputManager: Use scancodes for key mapping 2 months ago
Stenzek 08901c0638
Qt: Fix scroll bar desyncing on icon size change 2 months ago
Stenzek fb1bd1e283
FullscreenUI: Fix crash when toggling localized titles 2 months ago
Stenzek 76e386c2f6
CrashHandler: Debug break on abort() if debugger attached 2 months ago
Stenzek 8327282143
GameList: Fix covers for disc sets sometimes missing
Path field needs to be unique.
2 months ago
Stenzek 3d73c5cacc
Qt: Fix possible cover loss during load 2 months ago
Stenzek 25b44f4283
Qt: Wire up new key glyphs 2 months ago
Stenzek a390797213
Data: Add new PromptFont glyphs 2 months ago
Stenzek 2d3ebc867c
System: Fix safe mode details not showing 2 months ago
zkdpower d2a2a78237
Update the Simple-Chinese Translation to latest. (#3547) 2 months ago
Anderson Cardoso fd9c3cd2fd
Update duckstation-qt_pt-BR.ts (#3548) 2 months ago
Davide Pesavento 6d2f3dc6c2
Qt: Fix zooming with mouse wheel in game list (#3549) 2 months ago
Stenzek fc29fbab50
Qt: Don't try to load directory as background image 2 months ago
Stenzek 4b472dd51b
GameList: Improve grid size calculations
Can't seem to get the width to compute incorrectly on my machine
anymore.
2 months ago
Stenzek ddaac7eb4c
GameList: Use save title for cover image lookup 2 months ago
Stenzek 0867decc87
Qt: Use widget-local device pixel ratio for game list
Fixes blurry icons in mixed DPI environments.

At least on Windows.
2 months ago
Stenzek 019636b71f
Qt: Use DevicePixelRatioChange for DisplayWidget 2 months ago
Stenzek 126171f5de
Qt: Fix memory card icons drawing on themselves
Also disable column title highlighting, and fix the width of the icon
column.
2 months ago
Stenzek 6dd78b1593
MediaCapture: Fix default video codec on MacOS 2 months ago
AM_Erizur 91f25b602e
Controller: Add Start/Select bindings for the Pop'n Controller (#3546)
The Pop'n Controller has two small white buttons on the top which represent the normal PS Digital Start/Select buttons. These are needed for disc swaps inside Pop'n Music 2/5/6 as the game requests that you press the Start button (not the Red button) to startup the new disc inserted.
2 months ago
Davide Pesavento 6a0249b039
Qt: Hide game list vertical header (#3545)
Got lost in the refactoring in 5f8716a9f0.

Also remove two no-op function calls.
2 months ago
Stenzek 44908fe7f4
Qt: Respond to DPR change in memory card editor 2 months ago
Stenzek e89590be4f
Qt: Avoid QPixmap -> QIcon conversion in getIconForGame() 2 months ago
Stenzek d69935eef0
Qt: Fix warning 2 months ago
Stenzek e32e64420e
StringUtil: Fix logical errors 2 months ago
Stenzek faa75991a0
Tests: Add more unit tests for common classes 2 months ago
Stenzek b8952dafac
Qt: Don't use memcard icon cache for window icon when scaled
It'll get scaled up and down again otherwise.
2 months ago
Davide Pesavento 3cb275d878
Qt: Use grid layout in cheat code editor (#3543) 2 months ago
Stenzek e1c0753d3d
Qt: Use path as tie breaker when sort titles equal 2 months ago
Stenzek f2f06a746b
FullscreenUI: Fix game properties title 2 months ago
Stenzek 5f8716a9f0
Qt: Simplify icon scaling
- Merge the two sliders into one.
- Scale the type icons as well as the game icons.
- Remove redundant slots.
2 months ago
Stenzek 48ac353210
Qt: Disable game list toolbar when no games found 2 months ago
Stenzek abde6e4316
Qt: Move scaling helper to cpp file 2 months ago
Davide Pesavento d499d8e2d8 Qt: Avoid a full reset when toggling show cover titles / localized titles 2 months ago
Davide Pesavento 6765b2feb0 Qt: Delete some redundant code in GameListModel
The settings are already modified by the caller.
The cover cache is cleared by refreshCovers().
2 months ago
Ariel Nogueira Kovaljski b0dd909cf8
Qt: Resizable game list icons (#3539)
* Qt: Sharp Bilinear scaling for gamelist icons

* Single function for Sharp Bilinear scaling of icons

* Qt: Resizable game list icons [PoC]

* Fixed dynamic row scaling and size slider

* fix some duplicate lines

* made scaleMemoryCardIconWithSharpBilinear inline and added constant for icon padding

* removed resizeEvent from GameListListView
2 months ago