chore: ActionDialog, update UI file to Qt6 format and clean unneed keys

This commit is contained in:
sithlord48 2025-01-04 23:44:09 -05:00 committed by Nick Bolton
parent f6dd2881c8
commit a9f55f8dfc

View file

@ -6,8 +6,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>0</width> <width>706</width>
<height>0</height> <height>256</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
@ -19,20 +19,11 @@
<property name="windowTitle"> <property name="windowTitle">
<string>Configure Action</string> <string>Configure Action</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="_2">
<property name="spacing">
<number>6</number>
</property>
<item> <item>
<layout class="QHBoxLayout" name="horizontalLayout_4"> <layout class="QHBoxLayout" name="horizontalLayout_4">
<item> <item>
<widget class="QComboBox" name="comboTriggerOn"> <widget class="QComboBox" name="comboTriggerOn">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item> <item>
<property name="text"> <property name="text">
<string>When the hotkey is pressed</string> <string>When the hotkey is pressed</string>
@ -47,12 +38,6 @@
</item> </item>
<item> <item>
<widget class="QComboBox" name="comboActionType"> <widget class="QComboBox" name="comboActionType">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item> <item>
<property name="text"> <property name="text">
<string>Press key(s)</string> <string>Press key(s)</string>
@ -106,12 +91,6 @@
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item> <item>
<property name="text"> <property name="text">
<string>Move to the screen on the left</string> <string>Move to the screen on the left</string>
@ -139,12 +118,6 @@
<property name="enabled"> <property name="enabled">
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<item> <item>
<property name="text"> <property name="text">
<string>Toggle the cursor lock</string> <string>Toggle the cursor lock</string>
@ -163,17 +136,7 @@
</widget> </widget>
</item> </item>
<item> <item>
<widget class="KeySequenceWidget" name="keySequenceWidget"> <widget class="KeySequenceWidget" name="keySequenceWidget"/>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
</widget>
</item> </item>
</layout> </layout>
</item> </item>
@ -188,17 +151,11 @@
<property name="title"> <property name="title">
<string>Computers to recieve this event</string> <string>Computers to recieve this event</string>
</property> </property>
<layout class="QHBoxLayout"> <layout class="QHBoxLayout" name="_3">
<item> <item>
<widget class="QListWidget" name="listScreens"> <widget class="QListWidget" name="listScreens">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="sizeAdjustPolicy"> <property name="sizeAdjustPolicy">
<enum>QAbstractScrollArea::AdjustToContents</enum> <enum>QAbstractScrollArea::SizeAdjustPolicy::AdjustToContentsOnFirstShow</enum>
</property> </property>
</widget> </widget>
</item> </item>
@ -207,11 +164,8 @@
</item> </item>
<item> <item>
<widget class="QDialogButtonBox" name="buttonBox"> <widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons"> <property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> <set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property> </property>
</widget> </widget>
</item> </item>