Make player input configuration scrollable

Use height of 800 for main widget minimumSize
ZL/RL slider threshold 18 -> 20 max height
This commit is contained in:
Behunin 2022-12-17 14:29:12 -07:00
commit c6d7dfaee7
3 changed files with 2998 additions and 3004 deletions

View file

@ -291,7 +291,7 @@ ConfigureInputPlayer::ConfigureInputPlayer(QWidget* parent, std::size_t player_i
InputCommon::InputSubsystem* input_subsystem_, InputCommon::InputSubsystem* input_subsystem_,
InputProfiles* profiles_, Core::HID::HIDCore& hid_core_, InputProfiles* profiles_, Core::HID::HIDCore& hid_core_,
bool is_powered_on_, bool debug_) bool is_powered_on_, bool debug_)
: QWidget(parent), : QScrollArea(parent),
ui(std::make_unique<Ui::ConfigureInputPlayer>()), player_index{player_index_}, debug{debug_}, ui(std::make_unique<Ui::ConfigureInputPlayer>()), player_index{player_index_}, debug{debug_},
is_powered_on{is_powered_on_}, input_subsystem{input_subsystem_}, profiles(profiles_), is_powered_on{is_powered_on_}, input_subsystem{input_subsystem_}, profiles(profiles_),
timeout_timer(std::make_unique<QTimer>()), timeout_timer(std::make_unique<QTimer>()),

View file

@ -10,7 +10,7 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include <QWidget> #include <QScrollArea>
#include "common/param_package.h" #include "common/param_package.h"
#include "common/settings.h" #include "common/settings.h"
@ -46,7 +46,7 @@ class EmulatedController;
enum class NpadStyleIndex : u8; enum class NpadStyleIndex : u8;
} // namespace Core::HID } // namespace Core::HID
class ConfigureInputPlayer : public QWidget { class ConfigureInputPlayer : public QScrollArea {
Q_OBJECT Q_OBJECT
public: public:

File diff suppressed because it is too large Load diff