Add an (unimplemented) label and button to the global shortcut dialog for mac

This commit is contained in:
David Sansome 2010-06-17 22:15:07 +00:00
parent a562190bbe
commit 3fd807df31
30 changed files with 209 additions and 375 deletions

View File

@ -110,3 +110,17 @@ void GlobalShortcuts::ReloadSettings() {
else if (system_backend_)
system_backend_->Register();
}
bool GlobalShortcuts::IsMacAccessibilityEnabled() const {
#ifdef Q_OS_MAC
return static_cast<MacGlobalShortcutBackend*>(system_backend_)->IsAccessibilityEnabled();
#else
return true;
#endif
}
void GlobalShortcuts::ShowMacAccessibilityDialog() {
#ifdef Q_OS_MAC
static_cast<MacGlobalShortcutBackend*>(system_backend_)->ShowAccessibilityDialog();
#endif
}

View File

@ -42,11 +42,13 @@ public:
QMap<QString, Shortcut> shortcuts() const { return shortcuts_; }
bool IsGsdAvailable() const;
bool IsMacAccessibilityEnabled() const;
void MacMediaKeyPressed(const QString& key);
public slots:
void ReloadSettings();
void ShowMacAccessibilityDialog();
signals:
void Play();

View File

@ -34,6 +34,9 @@ public:
MacGlobalShortcutBackend(GlobalShortcuts* parent);
virtual ~MacGlobalShortcutBackend();
bool IsAccessibilityEnabled() const { return false; }
void ShowAccessibilityDialog() {}
void MacMediaKeyPressed(int key);
protected:

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -881,21 +881,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Pokročilé řazení knihoven"
@ -1209,6 +1194,12 @@ msgstr ""
msgid "Open..."
msgstr "Otevřít..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Zkratka"

View File

@ -884,21 +884,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Avanceret bibliotektsgruppering"
@ -1212,6 +1197,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -883,21 +883,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Benutzerdefiniertes Gruppieren"
@ -1211,6 +1196,12 @@ msgstr "Gnome Tastenkürzel verwenden"
msgid "Open..."
msgstr "Öffnen..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Tastenkürzel"

View File

@ -886,21 +886,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Προχωρημένη ομαδοποίηση βιβλιοθήκης"
@ -1215,6 +1200,12 @@ msgstr "Χρήση πλήκτρων συντόμευσης του Gnome"
msgid "Open..."
msgstr "Άνοιγμα..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Συντόμευση"

View File

@ -883,21 +883,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Library advanced grouping"
@ -1210,6 +1195,12 @@ msgstr "Use Gnome's shortcut keys"
msgid "Open..."
msgstr "Open..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Shortcut"

View File

@ -880,21 +880,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Library advanced grouping"
@ -1207,6 +1192,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -886,21 +886,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Agrupamiento avanzado de la colección"
@ -1219,6 +1204,12 @@ msgstr "Usar las combinaciones de teclas de Gnome"
msgid "Open..."
msgstr "Abrir..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Acceso rápido"

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -883,21 +883,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Groupement avancé de la bibliothèque"
@ -1215,6 +1200,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -881,21 +881,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1207,6 +1192,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -886,21 +886,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Raggruppamento avanzato della raccolta"
@ -1216,6 +1201,12 @@ msgstr "Utilizza le scorciatoie di Gnome"
msgid "Open..."
msgstr "Apri..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Scorciatoia"

View File

@ -881,21 +881,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1207,6 +1192,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -881,21 +881,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Avansert biblioteksgruppering"
@ -1209,6 +1194,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr "Dobrir..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Acorchi"

View File

@ -881,21 +881,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Zaawansowanie grupowanie Biblioteki"
@ -1207,6 +1192,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -884,21 +884,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Agrupamento avançado da biblioteca"
@ -1211,6 +1196,12 @@ msgstr "Usar teclas de atalho Gnome"
msgid "Open..."
msgstr "Abrir..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Atalho"

View File

@ -886,21 +886,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Organização avançada de biblioteca"
@ -1215,6 +1200,12 @@ msgstr "Usar teclas de atalho do Gnome"
msgid "Open..."
msgstr "Abrir..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Atalho"

View File

@ -880,21 +880,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1206,6 +1191,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -884,21 +884,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Расширенная сортировка коллекции"
@ -1211,6 +1196,12 @@ msgstr "Использовать горячие клавиши Gnome"
msgid "Open..."
msgstr "Открыть..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Горячая клавиша"

View File

@ -884,21 +884,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Pokročilé zoraďovanie zbierky"
@ -1212,6 +1197,12 @@ msgstr "Použiť klávesové skratky GNOME"
msgid "Open..."
msgstr "Otvoriť..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Skratka"

View File

@ -882,21 +882,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr "Bibliotek avancerad gruppering"
@ -1212,6 +1197,12 @@ msgstr "Använd Gnomes genvägar"
msgid "Open..."
msgstr "Öppna..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Genväg"

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr "Aç..."
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr "Kısayol"

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -879,21 +879,6 @@ msgstr ""
msgid "Select None"
msgstr ""
msgid "Accessibility API required for global shortcuts"
msgstr ""
msgid ""
"Would you like to launch System Preferences so that you can turn on \"Enable "
"access for assistive devices\"?\n"
"This is required to use global shortcuts in Clementine."
msgstr ""
msgid "Open System Preferences"
msgstr ""
msgid "Continue anyway"
msgstr ""
msgid "Library advanced grouping"
msgstr ""
@ -1205,6 +1190,12 @@ msgstr ""
msgid "Open..."
msgstr ""
msgid ""
"You need to launch System Preferences and turn on \"<span style=\" font-"
"style:italic;\">Enable access for assistive devices</span>\" to use global "
"shortcuts in Clementine."
msgstr ""
msgid "Shortcut"
msgstr ""

View File

@ -41,6 +41,10 @@ GlobalShortcutsDialog::GlobalShortcutsDialog(GlobalShortcuts* manager,
ui_->gnome_container->hide();
}
if (manager->IsMacAccessibilityEnabled()) {
ui_->mac_container->hide();
}
settings_.beginGroup(GlobalShortcuts::kSettingsGroup);
foreach (const GlobalShortcuts::Shortcut& s, manager_->shortcuts().values()) {
@ -63,6 +67,7 @@ GlobalShortcutsDialog::GlobalShortcutsDialog(GlobalShortcuts* manager,
connect(ui_->radio_custom, SIGNAL(clicked()), SLOT(ChangeClicked()));
connect(ui_->change, SIGNAL(clicked()), SLOT(ChangeClicked()));
connect(ui_->gnome_open, SIGNAL(clicked()), SLOT(OpenGnomeKeybindingProperties()));
connect(ui_->mac_open, SIGNAL(clicked()), manager_, SLOT(ShowMacAccessibilityDialog()));
ItemClicked(ui_->list->topLevelItem(0));
}

View File

@ -47,6 +47,41 @@
</layout>
</widget>
</item>
<item>
<widget class="QWidget" name="mac_container" native="true">
<layout class="QHBoxLayout" name="horizontalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="margin">
<number>0</number>
</property>
<item>
<widget class="QLabel" name="mac_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>You need to launch System Preferences and turn on &quot;&lt;span style=&quot; font-style:italic;&quot;&gt;Enable access for assistive devices&lt;/span&gt;&quot; to use global shortcuts in Clementine.</string>
</property>
<property name="wordWrap">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="mac_open">
<property name="text">
<string>Open...</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QTreeWidget" name="list">
<property name="editTriggers">