lat9nq
5a2b7f951d
(ui,)settings: Use explicit instantiation
Reduces compile times a tad on clang.
3 years ago
lat9nq
5574e68b57
settings: Remove redundant false literals
3 years ago
lat9nq
620f642e5b
shared_widget: Avoid calling QWidgetPrivate::setVisible
This particular setVisible function is unnecessary.
It also has horrible runtime performance, so much that it consumed maybe
80% of the time used to create a widget.
3 years ago
lat9nq
9be2b39509
FIXME configuration: Avoid unnecessary allocations
ConfigurationShared::Widget needs to be created with a builder. This
would avoid some duplicated code.
3 years ago
lat9nq
604930b7eb
shared_widget: Add SPDX header
3 years ago
lat9nq
9d6de208a1
general: Add typeinfo where needed
Using typeid without including typeinfo first produces an ill-formed program.
3 years ago
lat9nq
9d3715a68c
settings_enums: Add const type where needed
3 years ago
lat9nq
442f0899a8
shared_widget: Use actionTriggered for user input signals
Clicking the slider without directly interacting with the slider handle would
change the value, but not trigger the restore button.
3 years ago
lat9nq
38683238a8
shared_translation: Populate combobox enums with macro
3 years ago
lat9nq
9ba1120d59
settings: yuzu is not capitalized why is it capitalized stop no bad
3 years ago
lat9nq
cb4cdcbaeb
configuration: Document odd widget cases
Explain why we need to do things differently at times, to serve as a
reference.
3 years ago
lat9nq
c97378bbf1
settings: Reorder
Groups graphics audio and system settings together in a way that
reflects the frontend. This also just conceptually groups them more
nicely than they were.
3 years ago
lat9nq
435aec0f7f
shared_translation: Add translation for use video framrate
3 years ago
lat9nq
cfa06e42e6
settings: Report all contained settings values
Also adds a couple characters that denotes the state of the setting.
M for modified, or not default.
C for custom, in context of per-game settings.
3 years ago
lat9nq
d344ecbee1
settings_enums: Cannonicalize settings names
Gives every option of the enums a string literal via a macro.
3 years ago
lat9nq
78f92086ca
settings,general: Rename non-confirming enums
3 years ago
lat9nq
d35281ddf3
configuration: Use IDs to sort holds
3 years ago
lat9nq
80669058c7
settings,general: Rename/reorder setting ids
3 years ago
lat9nq
e4bde3a1f5
shared_widget: Fix includes
3 years ago
lat9nq
4e18f8dbe9
shared_widget: Complete refactoring
Reduces code bloat a good bit by moving code specific to each sub widget
to their own functions.
3 years ago
lat9nq
1d7fb41d59
shared_widget: Refactor again
Starting with combobox
Putting code specific to the sub-widget in their own function.
3 years ago
lat9nq
0f8a902d8c
android-config: Adapt settings rework
3 years ago
lat9nq
7fa19e6d0a
c_per_game: Inform when settings might not be configurable
3 years ago
lat9nq
a8d8670b73
shared_translation: Fix pragma once
3 years ago
lat9nq
302903ef12
shared_translation: Add translation for AstcRecompression
3 years ago
lat9nq
71fe7e39b6
configure_system: Hide locale warn at start
3 years ago
lat9nq
c071d4d2ac
shared_widget: Force min width of 100 for restore button
Dark theme mandates a 100px minimum width for QAbstractButton, even
though this is not desired here.
3 years ago
lat9nq
a41f271600
configuration: Workaround for Windows Qt bug
Odd issue happens that dragging the cpu or system tabs in custom configs
would cause the window to take up the entire verticle space of the
screen.
3 years ago
lat9nq
51ecf3cb5d
shared_translation: Add missing tooltips
3 years ago
lat9nq
1eb6680ca3
settings: Make volume runtime-configurable
3 years ago
lat9nq
4119adeb56
configuration: Clean up includes a bit
3 years ago
lat9nq
6034e7508e
configuration_shared: Remove old custom config setup functions
3 years ago
lat9nq
5e60826357
configure_cpu: Generate UI
3 years ago
lat9nq
b212eb4d6f
configuration: Use a mapping of setting value to name
Makes comboboxes always correspond to the value of the setting they're
modifying.
3 years ago
lat9nq
7a56b4a224
settings, shared_widget: typo fixes
3 years ago
lat9nq
d39bfc646f
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
configure_audio: Implement ui generation
Needs a considerable amount of management specific to some of
the comoboboxes due to the audio engine configuration.
general: Partial audio config implmentation
settings: Make audio settings as enums
3 years ago
lat9nq
a61beb7123
settings: Split enums to new file
3 years ago
lat9nq
f4c058719d
shared_widget: Use a better icon
This one looks more relevant on Windows.
3 years ago
lat9nq
3b0da07854
shared_widget: Refactor helpers
Makes checkbox creation an option as opposed to a label.
3 years ago
lat9nq
e24838dabc
settings, uisettings: Initialize linkage counter
3 years ago
lat9nq
689efc9175
configure_system: Implement with for loop
3 years ago
lat9nq
1be23237cd
per_game: Remove general tab
It's empty.
3 years ago
lat9nq
05f745721e
shared_widget: Internalize extra setting configuration
3 years ago
lat9nq
0dcb7fe1ce
settings: Move runtime and save to parameters
These don't need to be whole new types.
3 years ago
lat9nq
318918c606
graphics: Set speed limit to spinbox
3 years ago
lat9nq
de25cd8462
shared_widget: Support checkbox + spinbox
3 years ago
lat9nq
61ecba9349
configure_debug: Reorganize
3 years ago
lat9nq
8df7fbe91b
configure_graphics: Reimplement bg_color
To specialized a setting to be worth adding to the shared_widget imo,
so add it roughly like before.
3 years ago
lat9nq
63ea626339
shared_widget: Make button creation static
3 years ago
lat9nq
f6091f33aa
configure_general: Hide reset button in custom configs
3 years ago