mirror of
https://github.com/Skycoder42/QHotkey.git
synced 2026-11-19 12:49:58 +03:00
1154 lines
35 KiB
XML
1154 lines
35 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>HotTestWidget</class>
|
|
<widget class="QWidget" name="HotTestWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>520</width>
|
|
<height>426</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>HotTestWidget</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="playTab">
|
|
<attribute name="title">
|
|
<string>Playground</string>
|
|
</attribute>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QCheckBox" name="hotkeyCheckbox_1">
|
|
<property name="text">
|
|
<string>Hotkey &1:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QKeySequenceEdit" name="hotkeySequenceEdit_1"/>
|
|
</item>
|
|
<item row="0" column="2">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Count:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="3">
|
|
<widget class="QLCDNumber" name="hotkeyCount_1">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>120</red>
|
|
<green>120</green>
|
|
<blue>120</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="segmentStyle">
|
|
<enum>QLCDNumber::Flat</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="4">
|
|
<widget class="QToolButton" name="resetButton_1">
|
|
<property name="arrowType">
|
|
<enum>Qt::LeftArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QCheckBox" name="hotkeyCheckbox_2">
|
|
<property name="text">
|
|
<string>Hotkey &2:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QKeySequenceEdit" name="hotkeySequenceEdit_2"/>
|
|
</item>
|
|
<item row="1" column="2">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>Count:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="3">
|
|
<widget class="QLCDNumber" name="hotkeyCount_2">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>120</red>
|
|
<green>120</green>
|
|
<blue>120</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="segmentStyle">
|
|
<enum>QLCDNumber::Flat</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="4">
|
|
<widget class="QToolButton" name="resetButton_2">
|
|
<property name="arrowType">
|
|
<enum>Qt::LeftArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QCheckBox" name="hotkeyCheckbox_3">
|
|
<property name="text">
|
|
<string>Hotkey &3:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QKeySequenceEdit" name="hotkeySequenceEdit_3"/>
|
|
</item>
|
|
<item row="2" column="2">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Count:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="3">
|
|
<widget class="QLCDNumber" name="hotkeyCount_3">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>120</red>
|
|
<green>120</green>
|
|
<blue>120</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="segmentStyle">
|
|
<enum>QLCDNumber::Flat</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="4">
|
|
<widget class="QToolButton" name="resetButton_3">
|
|
<property name="arrowType">
|
|
<enum>Qt::LeftArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QCheckBox" name="hotkeyCheckbox_4">
|
|
<property name="text">
|
|
<string>Hotkey &4:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QKeySequenceEdit" name="hotkeySequenceEdit_4"/>
|
|
</item>
|
|
<item row="3" column="2">
|
|
<widget class="QLabel" name="label_5">
|
|
<property name="text">
|
|
<string>Count:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="3">
|
|
<widget class="QLCDNumber" name="hotkeyCount_4">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>120</red>
|
|
<green>120</green>
|
|
<blue>120</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="segmentStyle">
|
|
<enum>QLCDNumber::Flat</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="4">
|
|
<widget class="QToolButton" name="resetButton_4">
|
|
<property name="arrowType">
|
|
<enum>Qt::LeftArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QCheckBox" name="hotkeyCheckbox_5">
|
|
<property name="text">
|
|
<string>Hotkey &5:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QKeySequenceEdit" name="hotkeySequenceEdit_5"/>
|
|
</item>
|
|
<item row="4" column="2">
|
|
<widget class="QLabel" name="label_4">
|
|
<property name="text">
|
|
<string>Count:</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="3">
|
|
<widget class="QLCDNumber" name="hotkeyCount_5">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>85</red>
|
|
<green>255</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="WindowText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>120</red>
|
|
<green>120</green>
|
|
<blue>120</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Base">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="Window">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="autoFillBackground">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::Panel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Sunken</enum>
|
|
</property>
|
|
<property name="segmentStyle">
|
|
<enum>QLCDNumber::Flat</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="4">
|
|
<widget class="QToolButton" name="resetButton_5">
|
|
<property name="arrowType">
|
|
<enum>Qt::LeftArrow</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<spacer name="verticalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<spacer name="verticalSpacer_2">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="2">
|
|
<spacer name="verticalSpacer_3">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="3">
|
|
<spacer name="verticalSpacer_4">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item row="5" column="4">
|
|
<spacer name="verticalSpacer_5">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>41</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="testTab">
|
|
<attribute name="title">
|
|
<string>Testings</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="label_6">
|
|
<property name="text">
|
|
<string><b>Testing:</b> Please press the combinations listed below to check whether they work properly or not. Everytime a shortcut is triggered, the checkbox will toggle it's value. Set the test active to begin.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Test Active:</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<layout class="QFormLayout" name="formLayout">
|
|
<item row="0" column="0">
|
|
<widget class="QLabel" name="hotkeyFLabel">
|
|
<property name="text">
|
|
<string>Hotkey: F</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<widget class="QCheckBox" name="hotkeyFCheckBox"/>
|
|
</item>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="hotkeyCtrlAltMetaF12Label">
|
|
<property name="text">
|
|
<string>Hotkey: ctrl+alt+meta+F12</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QCheckBox" name="hotkeyCtrlAltMetaF12CheckBox"/>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QLabel" name="hotkeyCtrlShiftCancelLabel">
|
|
<property name="text">
|
|
<string>Hotkey: ctrl+shift+cancel</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QCheckBox" name="hotkeyCtrlShiftCancelCheckBox"/>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<widget class="QLabel" name="hotkeyMetaDelLabel">
|
|
<property name="text">
|
|
<string>Hotkey: meta+del</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QCheckBox" name="hotkeyMetaDelCheckBox"/>
|
|
</item>
|
|
<item row="4" column="0">
|
|
<widget class="QLabel" name="hotkeyNumlockLabel">
|
|
<property name="text">
|
|
<string>Hotkey: numlock</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="4" column="1">
|
|
<widget class="QCheckBox" name="hotkeyNumlockCheckBox"/>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<widget class="QLabel" name="hotkeyCtrl5Label">
|
|
<property name="text">
|
|
<string>Hotkey: ctrl+5</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QCheckBox" name="hotkeyCtrl5CheckBox"/>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<widget class="QLabel" name="hotkeyShiftTabLabel">
|
|
<property name="text">
|
|
<string>Hotkey: shift+Tab</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<widget class="QCheckBox" name="hotkeyShiftTabCheckBox"/>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QLabel" name="hotkeyShiftLabel">
|
|
<property name="text">
|
|
<string>Hotkey: shift+,</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<widget class="QCheckBox" name="hotkeyShiftCheckBox"/>
|
|
</item>
|
|
<item row="8" column="0">
|
|
<widget class="QLabel" name="hotkeyShiftLabel_2">
|
|
<property name="text">
|
|
<string>Hotkey: shift+;</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="8" column="1">
|
|
<widget class="QCheckBox" name="hotkeyShiftCheckBox_2"/>
|
|
</item>
|
|
<item row="9" column="0">
|
|
<widget class="QLabel" name="hotkeyShiftAltKLabel">
|
|
<property name="text">
|
|
<string>Hotkey: shift+alt+K</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="9" column="1">
|
|
<widget class="QCheckBox" name="hotkeyShiftAltKCheckBox"/>
|
|
</item>
|
|
<item row="10" column="0">
|
|
<widget class="QLabel" name="hotkeyShiftAltKLabel_2">
|
|
<property name="text">
|
|
<string>Hotkey: shift+alt+K</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="10" column="1">
|
|
<widget class="QCheckBox" name="hotkeyShiftAltKCheckBox_2"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_6">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="threadTab">
|
|
<attribute name="title">
|
|
<string>Threading</string>
|
|
</attribute>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<property name="spacing">
|
|
<number>12</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="label_7">
|
|
<property name="text">
|
|
<string><html><head/><body><p>This test was designed to try out multi-threaded shortcuts. The QHotkey class is completly <span style=" font-weight:600;">threadsafe</span>, but this test can help to see if it acutally works (It does).</p><p>If activated, <span style=" font-style:italic;">Hotkey 4 and Hotkey 5 </span>of the Playground will each run on their own thread. This means:</p><ul style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;"><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Mainthread:</span> Hotkey 1, 2, 3</li><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Second thread:</span> Hotkey 4</li><li style=" margin-top:12px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" text-decoration: underline;">Third thread:</span> Hotkey 5</li></ul><p><span style=" font-weight:600;">Note:</span> The two hotkeys will be moved to the threads. For simplicity-reasons, you can't move them back in this test (But its possible, just not done here). Restart the test to get them back.</p></body></html></string>
|
|
</property>
|
|
<property name="textFormat">
|
|
<enum>Qt::RichText</enum>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QCheckBox" name="threadEnableCheckBox">
|
|
<property name="font">
|
|
<font>
|
|
<weight>75</weight>
|
|
<bold>true</bold>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Enable Threaded Hotkeys</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="verticalSpacer_7">
|
|
<property name="orientation">
|
|
<enum>Qt::Vertical</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>20</width>
|
|
<height>40</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<layoutdefault spacing="6" margin="11"/>
|
|
<tabstops>
|
|
<tabstop>hotkeyCheckbox_1</tabstop>
|
|
<tabstop>hotkeySequenceEdit_1</tabstop>
|
|
<tabstop>resetButton_1</tabstop>
|
|
<tabstop>hotkeyCheckbox_2</tabstop>
|
|
<tabstop>hotkeySequenceEdit_2</tabstop>
|
|
<tabstop>resetButton_2</tabstop>
|
|
<tabstop>hotkeyCheckbox_3</tabstop>
|
|
<tabstop>hotkeySequenceEdit_3</tabstop>
|
|
<tabstop>resetButton_3</tabstop>
|
|
<tabstop>hotkeyCheckbox_4</tabstop>
|
|
<tabstop>hotkeySequenceEdit_4</tabstop>
|
|
<tabstop>resetButton_4</tabstop>
|
|
<tabstop>hotkeyCheckbox_5</tabstop>
|
|
<tabstop>hotkeySequenceEdit_5</tabstop>
|
|
<tabstop>resetButton_5</tabstop>
|
|
</tabstops>
|
|
<resources/>
|
|
<connections>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_1</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeyCount_1</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>36</x>
|
|
<y>52</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>375</x>
|
|
<y>62</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_2</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeyCount_2</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>44</x>
|
|
<y>82</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>359</x>
|
|
<y>82</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_3</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeyCount_3</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>52</x>
|
|
<y>113</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>375</x>
|
|
<y>120</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_4</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeyCount_4</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>58</x>
|
|
<y>140</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>375</x>
|
|
<y>149</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_5</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeyCount_5</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>28</x>
|
|
<y>163</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>375</x>
|
|
<y>178</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_1</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeySequenceEdit_1</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>62</x>
|
|
<y>50</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>127</x>
|
|
<y>52</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_2</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeySequenceEdit_2</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>83</x>
|
|
<y>79</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>161</x>
|
|
<y>81</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_3</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeySequenceEdit_3</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>75</x>
|
|
<y>106</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>116</x>
|
|
<y>109</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_4</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeySequenceEdit_4</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>69</x>
|
|
<y>135</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>117</x>
|
|
<y>141</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>hotkeyCheckbox_5</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>hotkeySequenceEdit_5</receiver>
|
|
<slot>setDisabled(bool)</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>81</x>
|
|
<y>168</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>145</x>
|
|
<y>164</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|