Morph
ac87713cb8
applets: Remove the previous software keyboard applet implementation
5 years ago
Morph
6efd390668
applets: Resolve variable shadowing
5 years ago
Lioncash
a4d4b67322
yuzu/software_keyboard: Remove unnecessary GetStatus() member function
Like with the profile selection dialog, we can just use the result of
QDialog's exec() function to determine whether or not a dialog was
accepted.
7 years ago
Lioncash
c991a5d2b0
yuzu/applets/software_keyboard: std::move argument in MainWindowFinishedText()
Given the std::optional can contain an object type that heap allocates,
we can use std::move to avoid an unnecessary copy/allocation from
occurring.
7 years ago
Lioncash
63eed87b61
yuzu/applets/software_keyboard: Resolve sign mismatch comparison
Qt uses a signed value to represent container sizes, so this was causing
a sign mismatch warning.
7 years ago
Lioncash
cd72443889
yuzu/applets/software_keyboard: Specify string conversions explicitly
Allows the software keyboard applet code to compile with implicit string
conversions disabled.
7 years ago
Lioncash
746e7ee4df
yuzu/applets/software_keyboard: Use QDialogButtonBox standard buttons instead of custom buttons
Like the previous change, this allows Qt to handle proper translations
of the UI buttons, rather than us needing to handle it.
7 years ago
Lioncash
eb88e9d088
general: Use deducation guides for std::lock_guard and std::unique_lock
Since C++17, the introduction of deduction guides for locking facilities
means that we no longer need to hardcode the mutex type into the locks
themselves, making it easier to switch mutex types, should it ever be
necessary in the future.
7 years ago
Lioncash
22af607a8d
yuzu/applets/software_keyboard: Override accept() and reject() instead of providing own differently named member functions
Uses Qt's built-in interface instead of rolling our own separate one on
top of it. This also fixes a bug in reject() where we were calling
accept() instead of reject().
7 years ago
Lioncash
870fa5e657
yuzu/applets/software_keyboard: std::move std::function instances where applicable
std::function instances can potentially allocate. std::moveing them
prevents an avoidable allocation in that case.
7 years ago
Zach Hilman
945fdd9361
software_keyboard: Add max and current length display to dialog
7 years ago
Zach Hilman
948e1b2f42
applet: Add operation completed callback
7 years ago
Zach Hilman
f0d2246b6a
software_keyboard: Make GetText asynchronous
a
7 years ago
Zach Hilman
04bc2fafbc
am: Allow applets to push multiple and different channels of data
7 years ago
Zach Hilman
efced53d38
am: Deglobalize software keyboard applet
7 years ago
Zach Hilman
b9c5a8bcf6
qt/main: Register Qt Software Keyboard frontend with AM
Allows using Qt provider over default.
7 years ago
Zach Hilman
56c85c996a
qt/applets: Provide Qt frontend implementation of software keyboard
Implements all of the features of the keyboard, including length, default text, character validation, and UTF-16 character support.
7 years ago