From 14a930d298596675555f510003c57484e8b1a930 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 21 Sep 2010 07:08:27 +0000 Subject: added possibility to center balance on middle-click (patch by Panagiotis Papadopoulos) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1905 90c681e8-e032-0410-971d-27865f9a5e38 --- .../translations/status_plugin_uk_UA.ts | 4 +-- src/ui/balancebar.cpp | 5 ++++ src/ui/translations/qmmp_ru.ts | 35 ++++++++++++++++++++-- src/ui/translations/qmmp_uk_UA.ts | 35 ++++++++++++++++++++-- 4 files changed, 73 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts index b9641aca1..06ff2bd07 100644 --- a/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts +++ b/src/plugins/CommandLineOptions/StatusOption/translations/status_plugin_uk_UA.ts @@ -1,6 +1,6 @@ - - + + StatusOption diff --git a/src/ui/balancebar.cpp b/src/ui/balancebar.cpp index 6b4774a2e..903da579d 100644 --- a/src/ui/balancebar.cpp +++ b/src/ui/balancebar.cpp @@ -47,6 +47,11 @@ void BalanceBar::mousePressEvent(QMouseEvent *e) { m_moving = true; press_pos = e->x(); + if(e->button() == Qt::MidButton) + { + m_value = 0; + emit sliderMoved(m_value); + } if(m_posx() && e->x()ratio()) { press_pos = e->x()-m_pos; diff --git a/src/ui/translations/qmmp_ru.ts b/src/ui/translations/qmmp_ru.ts index b51b38f90..11bf3925a 100644 --- a/src/ui/translations/qmmp_ru.ts +++ b/src/ui/translations/qmmp_ru.ts @@ -1,6 +1,6 @@ - - + + AboutDialog @@ -188,6 +188,7 @@ Исполнитель + Album Альбом @@ -298,11 +299,14 @@ Список: + ??? ??? + + ... ... @@ -328,11 +332,14 @@ Формат названия: + Preferences Настройки + + Information Информация @@ -343,6 +350,7 @@ Внешний вид + Playlist Список @@ -398,6 +406,7 @@ Файловый диалог + Audio Аудио @@ -453,6 +462,7 @@ Предусиление: + dB дБ @@ -608,6 +618,8 @@ Главное окно + + 0 0 @@ -621,6 +633,7 @@ EqWidget + preset предустановка @@ -689,11 +702,14 @@ + Unqueue Снять с очереди + + Queue В очередь @@ -870,26 +886,31 @@ Падение анализатора + Slowest Самое медленное + Slow Медленное + Medium Среднее + Fast Быстрое + Fastest Самое быстрое @@ -1028,6 +1049,7 @@ &О программе + Playlist Files Файлы списков @@ -1176,31 +1198,37 @@ Сортировать + By Title По названию + By Album По альбому + By Artist По исполнителю + By Filename По имени файла + By Path + Filename По пути и файлу + By Date По дате @@ -1316,6 +1344,7 @@ + By Track Number По номеру трека @@ -1349,11 +1378,13 @@ Создать + Delete Удалить + ... ... diff --git a/src/ui/translations/qmmp_uk_UA.ts b/src/ui/translations/qmmp_uk_UA.ts index ecf4a14de..fced90208 100644 --- a/src/ui/translations/qmmp_uk_UA.ts +++ b/src/ui/translations/qmmp_uk_UA.ts @@ -1,6 +1,6 @@ - - + + AboutDialog @@ -188,6 +188,7 @@ Виконавець + Album Альбом @@ -298,11 +299,14 @@ Список: + ??? ??? + + ... ... @@ -328,11 +332,14 @@ Формат назви: + Preferences Налаштування + + Information Інформація @@ -343,6 +350,7 @@ Зовнішній вигляд + Playlist Список @@ -398,6 +406,7 @@ Файловий діалог + Audio Звук @@ -453,6 +462,7 @@ Преамплітуда: + dB @@ -608,6 +618,8 @@ Головне вікно + + 0 @@ -621,6 +633,7 @@ EqWidget + preset предвстановлення @@ -689,11 +702,14 @@ + Unqueue Зняти з черги + + Queue В чергу @@ -870,26 +886,31 @@ Падіння аналізатора + Slowest Найповільніше + Slow Повільне + Medium Середнє + Fast Швидке + Fastest Найшвидше @@ -1028,6 +1049,7 @@ &Про програму + Playlist Files Файли списків @@ -1176,31 +1198,37 @@ Сортувати + By Title За назвою + By Album За альбомом + By Artist За артистом + By Filename За ім'ям файлу + By Path + Filename За шляхом та файлом + By Date За датою @@ -1316,6 +1344,7 @@ + By Track Number @@ -1349,11 +1378,13 @@ Новий + Delete Видалити + ... ... -- cgit v1.2.3-13-gbd6f