Make window wider so for mousewheel + modifier string

This commit is contained in:
rainmakerv2 2025-02-27 14:39:20 +08:00
parent ff4e3b11d6
commit 82e0e7136a
2 changed files with 53 additions and 12 deletions

View File

@ -993,7 +993,7 @@ bool KBMSettings::eventFilter(QObject* obj, QEvent* event) {
return true; return true;
} }
QList<QPushButton*> AxisList = { const QList<QPushButton*> AxisList = {
ui->LStickUpButton, ui->LStickDownButton, ui->LStickLeftButton, ui->LStickRightButton, ui->LStickUpButton, ui->LStickDownButton, ui->LStickLeftButton, ui->LStickRightButton,
ui->RStickUpButton, ui->LStickDownButton, ui->LStickLeftButton, ui->RStickRightButton}; ui->RStickUpButton, ui->LStickDownButton, ui->LStickLeftButton, ui->RStickRightButton};
@ -1029,7 +1029,6 @@ bool KBMSettings::eventFilter(QObject* obj, QEvent* event) {
"Mousewheel cannot be mapped to stick outputs"); "Mousewheel cannot be mapped to stick outputs");
} }
} }
return true; return true;
} }
} }

View File

@ -11,7 +11,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1043</width> <width>1193</width>
<height>754</height> <height>754</height>
</rect> </rect>
</property> </property>
@ -38,7 +38,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1023</width> <width>1173</width>
<height>704</height> <height>704</height>
</rect> </rect>
</property> </property>
@ -47,7 +47,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1021</width> <width>1171</width>
<height>703</height> <height>703</height>
</rect> </rect>
</property> </property>
@ -115,7 +115,7 @@
<widget class="QGroupBox" name="gb_dpad_up"> <widget class="QGroupBox" name="gb_dpad_up">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>124</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -228,6 +228,12 @@
</property> </property>
<item> <item>
<widget class="QGroupBox" name="gb_dpad_down"> <widget class="QGroupBox" name="gb_dpad_down">
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="maximumSize"> <property name="maximumSize">
<size> <size>
<width>124</width> <width>124</width>
@ -365,7 +371,7 @@
<widget class="QGroupBox" name="gb_left_stick_up"> <widget class="QGroupBox" name="gb_left_stick_up">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -486,7 +492,7 @@
<widget class="QGroupBox" name="gb_left_stick_down"> <widget class="QGroupBox" name="gb_left_stick_down">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>124</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -677,6 +683,12 @@
</item> </item>
<item> <item>
<widget class="QGroupBox" name="gb_l2"> <widget class="QGroupBox" name="gb_l2">
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="title"> <property name="title">
<string>L2</string> <string>L2</string>
</property> </property>
@ -750,6 +762,12 @@
<layout class="QVBoxLayout" name="layout_r1_r2"> <layout class="QVBoxLayout" name="layout_r1_r2">
<item> <item>
<widget class="QGroupBox" name="gb_r1"> <widget class="QGroupBox" name="gb_r1">
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="title"> <property name="title">
<string>R1</string> <string>R1</string>
</property> </property>
@ -869,6 +887,12 @@
<layout class="QVBoxLayout" name="verticalLayout_4"> <layout class="QVBoxLayout" name="verticalLayout_4">
<item> <item>
<widget class="QGroupBox" name="gb_l3"> <widget class="QGroupBox" name="gb_l3">
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="title"> <property name="title">
<string>L3</string> <string>L3</string>
</property> </property>
@ -958,6 +982,12 @@
<layout class="QVBoxLayout" name="verticalLayout_12"> <layout class="QVBoxLayout" name="verticalLayout_12">
<item> <item>
<widget class="QGroupBox" name="gb_r3"> <widget class="QGroupBox" name="gb_r3">
<property name="minimumSize">
<size>
<width>160</width>
<height>0</height>
</size>
</property>
<property name="title"> <property name="title">
<string>R3</string> <string>R3</string>
</property> </property>
@ -989,6 +1019,12 @@
</item> </item>
<item> <item>
<widget class="QGroupBox" name="gb_options"> <widget class="QGroupBox" name="gb_options">
<property name="minimumSize">
<size>
<width>145</width>
<height>0</height>
</size>
</property>
<property name="title"> <property name="title">
<string>Options</string> <string>Options</string>
</property> </property>
@ -1236,7 +1272,7 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>124</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -1351,7 +1387,7 @@
<widget class="QGroupBox" name="gb_cross"> <widget class="QGroupBox" name="gb_cross">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>124</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -1492,7 +1528,7 @@
</property> </property>
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>0</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
@ -1508,6 +1544,12 @@
<layout class="QVBoxLayout" name="verticalLayout_7"> <layout class="QVBoxLayout" name="verticalLayout_7">
<item> <item>
<widget class="QPushButton" name="RStickUpButton"> <widget class="QPushButton" name="RStickUpButton">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy"> <property name="focusPolicy">
<enum>Qt::FocusPolicy::NoFocus</enum> <enum>Qt::FocusPolicy::NoFocus</enum>
</property> </property>
@ -1607,7 +1649,7 @@
<widget class="QGroupBox" name="gb_right_stick_down"> <widget class="QGroupBox" name="gb_right_stick_down">
<property name="minimumSize"> <property name="minimumSize">
<size> <size>
<width>124</width> <width>160</width>
<height>0</height> <height>0</height>
</size> </size>
</property> </property>