Michael M
c624ef43f0
MappingButton: use BlockUserInputFilter
2017-07-26 10:30:02 -07:00
JosJuice
b32fe5e41d
DolphinQt2: Remove the %1 from "%1 Banner Details"
...
It's not particularily useful to list the platform here,
and these kinds of messages that use words as parameters
are more likely to be mistranslated than the average string.
2017-07-26 08:04:10 +02:00
JosJuice
ce11b34e74
Make DolphinQt2 strings more like DolphinWX strings
...
Without this, we would be pushing a lot of extra strings onto
translators now that 55fb6ef
is merged.
2017-07-26 08:04:10 +02:00
Michael Maltese
aafb61c187
DolphinQt2: Remove 'slots:' syntax from headers
...
With Qt5's new connection syntax, method pointers and functors are
connected directly. There's no need to declare slots.
2017-07-23 15:07:49 -07:00
Michael Maltese
f0fd38698e
DolphinQt2: use new connection syntax instead of old syntax
2017-07-23 15:07:49 -07:00
JosJuice
20172196f5
DolphinQt2: Let game properties show names for WADs
2017-07-23 15:11:18 +02:00
Leo Lam
3cbf56a9ad
Merge pull request #5797 from ligfx/qtoptionsmenu
...
Qt: implement remainder of 'Options' menu
2017-07-23 14:46:48 +08:00
Léo Lam
f106a9637d
Replace balanced Core::PauseAndLock calls with RunAsCPUThread
...
Core::PauseAndLock requires all calls to it to be balanced, like this:
const bool was_unpaused = Core::PauseAndLock(true);
// do stuff on the CPU thread
Core::PauseAndLock(false, was_unpaused);
Aside from being a bit cumbersome, it turns out all callers really
don't need to know about was_unpaused at all. They just need to do
something on the CPU thread safely, including locking/unlocking.
So this commit replaces Core::PauseAndLock with a function that
makes both the purpose and the scope of what is being run on the
CPU thread visually clear. This makes it harder to accidentally run
something on the wrong thread, or forget the second call to
PauseAndLock to unpause, or forget that it needs to be passed
was_unpaused at the end.
We also don't need comments to indicate code X is being run on the
CPU thread anymore, as the function name makes it obvious.
2017-07-21 16:45:59 +08:00
Michael Maltese
e1554c04a1
Qt: implement remainder of 'Options' menu
2017-07-16 18:23:59 -07:00
Michael Maltese
19dc580a4e
Qt: extract ListTabWidget from SettingsWindow
2017-07-16 18:23:59 -07:00
Starsam80
c6478cac2f
Qt: Shrink settings window and make widgets stretch
2017-07-16 14:50:52 -06:00
Michael Maltese
8b54ac225b
Merge Core/Config/Config.h into Common/Config/Config.h
...
Allows code in Common to take advantage of the layered config logic.
2017-07-09 16:28:54 -07:00
Leo Lam
d0fb1bc4bf
Merge pull request #5728 from Starsam80/remove-qt-whats-this
...
Qt: Don't show the Qt "What's this" button
2017-07-08 10:55:28 +02:00
Leo Lam
cf79ff2366
Merge pull request #5738 from spycrab/qt_fix_ampersand
...
Qt: Fix ampersands not displaying properly in mapping windows
2017-07-04 15:31:36 +02:00
spycrab
36fe1a5415
Qt: Fix ampersands not displaying properly in mapping windows
2017-07-04 15:26:10 +02:00
Starsam80
ed0ba7ef28
Qt: Don't show the Qt "What's this" button
2017-06-29 18:52:53 -06:00
Michael Maltese
d0fdb9f149
DolphinQt2: replace Settings with SConfig where possible
...
Changes:
- `ShowDevelopmentWarning` is now under the '[Interface]' group in
Dolphin.ini, with other interface-related settings. So, whoever uses
DolphinQt will have to edit that manually again. Sorry!
- Game search paths and the last file are now shared properly with
DolphinWX
- Qt-only preferences like "Preferred View: list/table" are now
stored using the platform's native settings storage, rather than in
UI.ini
2017-06-29 17:17:32 -07:00
spycrab
04bb6b3d59
Qt/GraphicsSettings: Implement hacks tab
2017-06-28 20:42:01 +02:00
spycrab
0b9f0d44e6
Qt/GraphicsSettings: Implement software rendering tab
2017-06-28 20:42:01 +02:00
spycrab
6598c23d0e
Qt/GraphicsSettings: Implement general tab
2017-06-28 20:42:01 +02:00
spycrab
e64a2d4e09
Qt/GraphicsSettings: Implement enhancements tab
2017-06-28 20:41:50 +02:00
spycrab
b6690b274b
Qt/GraphicsSettings: Implement advanced tab
2017-06-28 20:14:38 +02:00
spycrab
908e1e9aba
Qt: Implement graphics window and controls
2017-06-28 20:14:38 +02:00
spycrab
ba3df3db05
Qt/Settings: Implement audio pane
2017-06-27 20:25:38 +02:00
shuffle2
94ba78d717
Merge pull request #5614 from ligfx/qtinputmappingrandomcleanups
...
DolphinQt: small input mapping code cleanups and fixes
2017-06-27 01:57:26 -07:00
Starsam80
74df52fb2c
Qt: Remove the warning in the settings window
2017-06-20 18:58:47 -06:00
Michael Maltese
7c79673d78
MappingButton: make m_block a Common::Flag
2017-06-15 16:15:07 -07:00
Michael Maltese
5b6c8c3ad0
MappingButton: grab and release mouse and keyboard instead of calling parent SetBlockInputs
2017-06-15 16:15:07 -07:00
Michael Maltese
2188ac785a
Move MappingWindow::OnDefaultFieldsPressed() to correct file
2017-06-15 16:15:07 -07:00
Michael Maltese
6c73079011
MappingWidget: fix typo and call Update() on bools
2017-06-15 16:15:07 -07:00
Michael Maltese
ef563fc032
MappingWidget: call Clear() on numerics and bools
2017-06-15 16:15:07 -07:00
Michael Maltese
94038a1e03
MappingButton: remove GetFirstButtonPress logic
2017-06-15 16:15:07 -07:00
Starsam80
e023cc124b
Qt/MappingWindow: Update layout to match WX
2017-06-13 22:42:53 -06:00
spycrab
50c13c1902
Qt: Implement advanced mapping I/O windows
2017-06-13 17:16:41 +02:00
spycrab
151ae38a56
Qt: Implement hotkeys (+ configuration)
2017-06-06 13:49:49 +02:00
JosJuice
b2af07a7b7
DiscIO: Remove C/I/S prefixes from class names
...
These prefixes were inconsistent with the rest of Dolphin.
I'm also renaming VolumeWiiCrypted to VolumeWii because of 1113b13
.
2017-06-06 12:31:59 +02:00
shuffle2
10e54c8a8e
Merge pull request #5490 from ligfx/qtcontrollergridlayout
...
DolphinQt2: use GridLayout for ControllersWindow
2017-06-05 17:16:27 -07:00
Michael Maltese
6b084e21dc
SettingsWindow: update icons when theme changes
2017-06-05 17:04:29 -07:00
Michael Maltese
d6db515165
SettingsWindow: cleanup includes
2017-06-05 17:04:29 -07:00
Michael Maltese
688f5ed267
DolphinQt2: move Path from toolbar to a pane
2017-06-05 16:46:10 -07:00
Michael Maltese
47e8cb97b4
DolphinQt2: move path signals from PathDialog to Settings
2017-06-05 16:46:10 -07:00
Michael Maltese
548522877a
DolphinQt2: make Settings a singleton
...
With this, we can get signals when properties change.
2017-06-05 16:46:10 -07:00
Léo Lam
d9fd056803
Fix minor formatting issues
...
These were not caught by the lint script while it was broken.
2017-06-05 02:32:19 +02:00
Michael Maltese
87a74ca3ae
MappingButton: remove unused includes
2017-05-31 01:17:33 -07:00
Michael Maltese
046c6f468f
MappingButton: derive from ElidedButton
2017-05-31 01:17:33 -07:00
Michael Maltese
b378ffb4ec
MappingButton: don't set text twice in constructor
2017-05-31 01:17:33 -07:00
Michael Maltese
0cc88342d6
DolphinQt2: add indentation back to ControllerWindow
2017-05-29 17:29:04 -07:00
Michael Maltese
cb235cf142
DolphinQt2: use GridLayout for ControllersWindow
...
FormLayout is not intended for this sort of dialog:
> QFormLayout is a convenience layout class that lays out its children
> in a two-column form. The left column consists of labels and the right
> column consists of "field" widgets (line editors, spin boxes, etc.).
2017-05-29 17:29:03 -07:00
Tillmann Karras
599774aacc
Qt2: remove unused variables
2017-05-28 23:01:41 +01:00
Michael Maltese
c004b59100
DolphinQt2: replace icons with labels in controllers dialog
...
Icons without labels are bad for usability, so bring this back in line
with how DolphinWX does it.
Some reading:
- https://www.nngroup.com/articles/icon-usability/
> Summary: A user’s understanding of an icon is based on previous
> experience. Due to the absence of a standard usage for most icons,
> text labels are necessary to communicate the meaning and reduce
> ambiguity.
- http://uxmyths.com/post/715009009/myth-icons-enhance-usability
- http://edwardsanchez.me/blog/13589712
- https://uxdesign.cc/do-icons-need-labels-6cb4f4282c00
2017-05-26 20:09:51 -07:00
spycrab
d65006b91b
Qt: Fix games crashing on start
2017-05-23 22:12:01 +02:00
Anthony
e328b13ae2
Merge pull request #5462 from spycrab/qt_refresh_devices
...
Qt: Fix default device handling
2017-05-21 13:29:11 -07:00
spycrab
6370f094ba
Qt: Fix default device handling
2017-05-21 14:47:35 +02:00
spycrab
e8bfa2273c
Qt: Fix rounding errors
2017-05-21 12:03:13 +02:00
Anthony
373fc58428
Merge pull request #5457 from spycrab/qt_fix_labels
...
Qt: Fix Wii Motioncontrol button mapping labels
2017-05-20 12:22:15 -07:00
spycrab
cf747fb050
Qt: Fix Wii Motioncontrol button mapping labels
2017-05-20 21:08:31 +02:00
Anthony
cf60564d84
Merge pull request #5405 from spycrab/qt_mapping_windows
...
Qt: Implement mapping dialogs
2017-05-20 09:28:57 -07:00
spycrab
33e111e92f
Qt: Implement button mapping dialogs
2017-05-20 17:53:17 +02:00
spycrab
a4b24ac265
Qt: Fix random crashes
2017-05-20 11:10:39 +02:00
spycrab
4bf9f5e835
Qt: Implement Wiimote Refresh button
2017-05-15 05:14:45 +02:00
Corwin McKnight
e8a214ad14
Qt: Fix how Icons are assigned in Settings Window.
2017-05-11 13:14:47 -07:00
Corwin McKnight
a2d2acf741
Qt: Add General Pane to Settings
...
Replace SConfig references with Settings()
2017-05-11 12:40:14 -07:00
Anthony
33980d816a
Merge pull request #5378 from Ryanel/qt-settings-interface
...
Qt: Add Interface Pane to Settings
2017-05-11 11:19:27 -07:00
spycrab
c8d0b647ac
Qt: Add controller (overview) window
2017-05-09 18:49:10 +02:00
Corwin McKnight
8112c736fe
Qt: Interface Pane
...
Adds the interface pane to Qt Settings. Very basic, just some UI
customization options.
2017-05-07 12:57:13 -07:00
JosJuice
9bd514ed1c
Add TGC disc image compatibility
2016-12-18 18:57:36 +01:00
Michael Maltese
f798bcd5c0
DolphinQt2: InfoWidget: explicit type for std::min
...
Avoids errors on macOS:
```
Source/Core/DolphinQt2/Config/InfoWidget.cpp:190:21: error: no matching function for call to 'min'
u64 read_size = std::min(file_data.size(), game_size - read_offset);
^~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/algorithm:2589:1: note: candidate template ignored: deduced conflicting types for parameter '_Tp' ('unsigned long' vs. 'unsigned long long')
min(const _Tp& __a, const _Tp& __b)
```
2016-12-02 21:26:18 -08:00
JosJuice
1081497cad
DiscIO/SConfig: Rename GetUniqueID to GetGameID
...
We call this "game ID" everywhere else, and it's not
actually completely unique.
2016-10-29 15:24:02 +02:00
JosJuice
0a15aaaa12
Move DiscIO enums to a new file
...
At first there weren't many enums in Volume.h, but the number has been
growing, and I'm planning to add one more for regions. To not make
Volume.h too large, and to avoid needing to include Volume.h in code
that doesn't use volume objects, I'm moving the enums to a new file.
I'm also turning them into enum classes while I'm at it.
2016-07-13 17:29:27 +02:00
Rukai
b5104a79f1
GCVolume: supports reading all opening.bnr information
...
DQT2: Game properties dialog contains info tab giving information about the selected iso.
2016-06-26 00:03:59 +10:00
Pierre Bourdon
3570c7f03a
Reformat all the things. Have fun with merge conflicts.
2016-06-24 10:43:46 +02:00
Corwin McKnight
321b775f02
[Qt] Settings Window for Qt
...
AND Fix leftovers from full code, fixed styling and lint
2016-05-10 21:24:53 -07:00
spxtr
726d6c17af
Make paths dialog modeless.
2016-02-09 20:42:06 -08:00
spxtr
5b2a76458d
DQt2: Implement Paths config dialog
2015-12-30 19:03:13 -08:00