deskflow/src/lib/gui/dialogs/ScreenSettingsDialog.ui

707 lines
19 KiB
Text
Raw Normal View History

2016-12-19 17:37:13 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ScreenSettingsDialog</class>
<widget class="QDialog" name="ScreenSettingsDialog">
2016-12-19 17:37:13 +00:00
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>939</width>
<height>842</height>
2016-12-19 17:37:13 +00:00
</rect>
</property>
2021-04-13 10:23:22 +00:00
<property name="sizePolicy">
2021-05-05 12:50:20 +00:00
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
2021-04-13 10:23:22 +00:00
<horstretch>0</horstretch>
<verstretch>1</verstretch>
2021-04-13 10:23:22 +00:00
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>400</width>
2021-05-11 11:52:35 +00:00
<height>620</height>
2021-04-13 10:23:22 +00:00
</size>
</property>
2016-12-19 17:37:13 +00:00
<property name="windowTitle">
2021-04-09 15:17:18 +00:00
<string>Computer settings</string>
2016-12-19 17:37:13 +00:00
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="2" column="2">
<widget class="QGroupBox" name="groupBox_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Aliases</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLineEdit" name="m_pLineEditAlias">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>168</width>
<height>20</height>
</size>
</property>
<property name="maxLength">
<number>255</number>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_pButtonAddAlias">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>&amp;Add</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QLabel" name="m_pLabelAliasError">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2021-04-13 10:23:22 +00:00
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>m_pLabelNameError</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QListWidget" name="m_pListAliases">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="selectionMode">
<enum>QAbstractItemView::SelectionMode::ExtendedSelection</enum>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="m_pButtonRemoveAlias">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>&amp;Remove</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Dead Corners</string>
</property>
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopLeft">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Top-left</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="m_pCheckBoxCornerTopRight">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Top-right</string>
</property>
<property name="autoRepeatInterval">
<number>100</number>
</property>
</widget>
2021-04-09 15:17:18 +00:00
</item>
<item row="0" column="2">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Corner si&amp;ze</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QSpinBox" name="m_pSpinBoxSwitchCornerSize">
2021-04-09 15:17:18 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
2021-04-09 15:17:18 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>70</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomLeft">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
2021-04-09 15:17:18 +00:00
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
2021-04-09 15:17:18 +00:00
</size>
</property>
<property name="text">
<string>Bottom-left</string>
2021-04-09 15:17:18 +00:00
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="m_pCheckBoxCornerBottomRight">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Maximum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Bottom-right</string>
2021-04-09 15:17:18 +00:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="1" column="2">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Fixes</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="0">
<widget class="QCheckBox" name="m_pCheckBoxCapsLock">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>CAPS LOCK key</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="m_pCheckBoxScrollLock">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>SCROLL LOCK key</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="m_pCheckBoxNumLock">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>NUM LOCK key</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="m_pCheckBoxXTest">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>XTest for Xinerama</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="QDialogButtonBox" name="m_pButtonBox">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Orientation::Horizontal</enum>
2021-04-13 10:23:22 +00:00
</property>
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Save</set>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Modifier Keys</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="maximumSize">
2021-04-13 10:23:22 +00:00
<size>
<width>40</width>
<height>16777215</height>
2021-04-13 10:23:22 +00:00
</size>
</property>
<property name="text">
<string>&amp;Shift</string>
</property>
<property name="buddy">
<cstring>m_pComboBoxShift</cstring>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QComboBox" name="m_pComboBoxCtrl">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="1" column="2">
<widget class="QLabel" name="label_6">
<property name="text">
<string>S&amp;uper</string>
</property>
<property name="buddy">
<cstring>m_pComboBoxSuper</cstring>
2021-04-13 10:23:22 +00:00
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="m_pComboBoxShift">
<item>
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Al&amp;t</string>
</property>
<property name="buddy">
<cstring>m_pComboBoxAlt</cstring>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QComboBox" name="m_pComboBoxSuper">
<property name="currentIndex">
<number>4</number>
</property>
<item>
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="0" column="3">
<widget class="QComboBox" name="m_pComboBoxMeta">
<property name="currentIndex">
<number>3</number>
</property>
<item>
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>&amp;Ctrl</string>
</property>
<property name="buddy">
<cstring>m_pComboBoxCtrl</cstring>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_5">
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
<property name="text">
<string>M&amp;eta</string>
</property>
<property name="buddy">
<cstring>m_pComboBoxMeta</cstring>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="m_pComboBoxAlt">
<property name="currentIndex">
<number>2</number>
</property>
<item>
<property name="text">
<string>Shift</string>
</property>
</item>
<item>
<property name="text">
<string>Ctrl</string>
</property>
</item>
<item>
<property name="text">
<string>Alt</string>
</property>
</item>
<item>
<property name="text">
<string>Meta</string>
</property>
</item>
<item>
<property name="text">
<string>Super</string>
</property>
</item>
<item>
<property name="text">
<string>None</string>
</property>
</item>
</widget>
</item>
<item row="3" column="1">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Orientation::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
2021-04-13 10:23:22 +00:00
</item>
</layout>
</widget>
</item>
<item row="0" column="0" colspan="3">
<widget class="QGroupBox" name="groupBox_6">
2021-04-13 10:23:22 +00:00
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Maximum">
2021-04-13 10:23:22 +00:00
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title">
<string>Computer Info</string>
2021-04-13 10:23:22 +00:00
</property>
<layout class="QFormLayout" name="formLayout">
2021-05-11 12:42:03 +00:00
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
2021-04-13 10:23:22 +00:00
</property>
<property name="text">
<string>Name</string>
</property>
<property name="buddy">
<cstring>m_pLineEditName</cstring>
2021-04-13 10:23:22 +00:00
</property>
</widget>
</item>
2021-05-11 12:42:03 +00:00
<item row="0" column="1">
<widget class="QLineEdit" name="m_pLineEditName">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maxLength">
<number>255</number>
</property>
</widget>
</item>
2021-05-11 12:42:03 +00:00
<item row="1" column="1">
<widget class="QLabel" name="m_pLabelNameError">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
2021-04-13 10:23:22 +00:00
<property name="text">
<string>m_pLabelNameError</string>
2021-05-11 12:42:03 +00:00
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignVCenter</set>
2021-04-13 10:23:22 +00:00
</property>
</widget>
</item>
</layout>
</widget>
</item>
2016-12-19 17:37:13 +00:00
</layout>
</widget>
<resources/>
<connections>
<connection>
<sender>m_pButtonBox</sender>
<signal>accepted()</signal>
<receiver>ScreenSettingsDialog</receiver>
2016-12-19 17:37:13 +00:00
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>222</x>
<y>502</y>
</hint>
<hint type="destinationlabel">
<x>157</x>
<y>274</y>
</hint>
</hints>
</connection>
<connection>
<sender>m_pButtonBox</sender>
<signal>rejected()</signal>
<receiver>ScreenSettingsDialog</receiver>
2016-12-19 17:37:13 +00:00
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>290</x>
<y>508</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>274</y>
</hint>
</hints>
</connection>
</connections>
</ui>