MuseScore/mscore/shortcutcapturedialog.ui
Andrei Tuicu 9338481a47 Accessible dialogs.
Added screen-reader feedback
Did tabbing orders and focus policies
Fix inspector focus shiftings
2014-08-18 18:09:58 +03:00

198 lines
4.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>ShortcutCaptureDialogBase</class>
<widget class="QDialog" name="ShortcutCaptureDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>461</width>
<height>214</height>
</rect>
</property>
<property name="windowTitle">
<string>Enter Shortcut Sequence</string>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<item row="0" column="0" colspan="2">
<widget class="QLabel" name="descrLabel">
<property name="text">
<string>Press up to four keys to enter shortcut sequence</string>
</property>
<property name="alignment">
<set>Qt::AlignCenter</set>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QLabel" name="messageLabel">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="oshrtTextLabel">
<property name="text">
<string>Old shortcuts:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="oshrtLabel">
<property name="accessibleName">
<string>Old shortcuts</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="nshrtTextLabel">
<property name="text">
<string>New shortcut:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLineEdit" name="nshrtLabel">
<property name="accessibleName">
<string>New shortcut</string>
</property>
<property name="accessibleDescription">
<string>Type to set shortcut</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="placeholderText">
<string comment="placeholder text">Type to set shortcut</string>
</property>
</widget>
</item>
<item row="4" column="0" colspan="2">
<layout class="QHBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QPushButton" name="clearButton">
<property name="accessibleName">
<string>Clear</string>
</property>
<property name="accessibleDescription">
<string/>
</property>
<property name="text">
<string>Clear</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="addButton">
<property name="accessibleName">
<string>Add</string>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="replaceButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="accessibleName">
<string>Replace</string>
</property>
<property name="text">
<string>Replace</string>
</property>
<property name="shortcut">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="cancelButton">
<property name="accessibleName">
<string>Cancel</string>
</property>
<property name="text">
<string>Cancel</string>
</property>
<property name="shortcut">
<string/>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources/>
<connections>
<connection>
<sender>cancelButton</sender>
<signal>clicked()</signal>
<receiver>ShortcutCaptureDialogBase</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>425</x>
<y>194</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>153</y>
</hint>
</hints>
</connection>
</connections>
</ui>