From fef633fd806fc8d0b1bb3904de56c512e3f722fd Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 12 Jun 2008 10:49:06 +0000 Subject: moved queue action git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@404 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/mainwindow.cpp | 1 - src/ui/playlist.cpp | 6 ++- src/ui/playlistmodel.cpp | 14 ------ src/ui/translations/qmmp_cs.qm | Bin 14417 -> 14654 bytes src/ui/translations/qmmp_cs.ts | 100 +++++++++++++++++++++++--------------- src/ui/translations/qmmp_de.qm | Bin 14985 -> 15222 bytes src/ui/translations/qmmp_de.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_pt_BR.qm | Bin 12723 -> 12960 bytes src/ui/translations/qmmp_pt_BR.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_ru.qm | Bin 12718 -> 12955 bytes src/ui/translations/qmmp_ru.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_tr.qm | Bin 12967 -> 13204 bytes src/ui/translations/qmmp_tr.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_uk_UA.qm | Bin 12716 -> 12953 bytes src/ui/translations/qmmp_uk_UA.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_zh_CN.qm | Bin 11412 -> 11649 bytes src/ui/translations/qmmp_zh_CN.ts | 92 +++++++++++++++++++++++------------ src/ui/translations/qmmp_zh_TW.qm | Bin 11408 -> 11645 bytes src/ui/translations/qmmp_zh_TW.ts | 92 +++++++++++++++++++++++------------ 19 files changed, 484 insertions(+), 281 deletions(-) (limited to 'src/ui') diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index f011668b5..85b9145a2 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -628,7 +628,6 @@ void MainWindow::createActions() m_mainMenu->addAction(tr("&Previous"),this, SLOT(previous()), tr("Z")); m_mainMenu->addAction(tr("&Next"),this, SLOT(next()), tr("B")); m_mainMenu->addAction(tr("P&lay/Pause"),this, SLOT(playPause()), tr("Space")); - m_mainMenu->addAction(tr("&Queue"),m_playListModel, SLOT(addToQueue()), tr("Q")); m_mainMenu->addSeparator(); m_mainMenu->addAction(tr("&Jump To File"),this, SLOT(jumpToFile()), tr("J")); m_mainMenu->addSeparator(); diff --git a/src/ui/playlist.cpp b/src/ui/playlist.cpp index 2910fb25e..de79e3dcf 100644 --- a/src/ui/playlist.cpp +++ b/src/ui/playlist.cpp @@ -235,8 +235,10 @@ void PlayList::createActions() m_sortMenu->addAction ( tr ( "Reverse List" ),m_playListModel,SLOT ( reverseList() ) ); m_listWidget->menu()->addSeparator(); - m_listWidget->menu()->addActions ( m_subMenu->actions() ); - m_actions << detailsAct; + m_listWidget->menu()->addActions (m_subMenu->actions()); + m_listWidget->menu()->addSeparator(); + m_listWidget->menu()->addAction(tr("&Queue"),m_playListModel, SLOT(addToQueue()), tr("Q")); + m_actions << m_listWidget->menu()->actions(); //select menu QAction *invSelAct = new QAction ( tr ( "Invert Selection" ),this ); diff --git a/src/ui/playlistmodel.cpp b/src/ui/playlistmodel.cpp index 9b1a68155..327b88598 100644 --- a/src/ui/playlistmodel.cpp +++ b/src/ui/playlistmodel.cpp @@ -874,17 +874,3 @@ void PlayListModel::preparePlayState() { m_play_state->prepare(); } - - - - - - - - - - - - - - diff --git a/src/ui/translations/qmmp_cs.qm b/src/ui/translations/qmmp_cs.qm index 34376f972..9f305f8d8 100644 Binary files a/src/ui/translations/qmmp_cs.qm and b/src/ui/translations/qmmp_cs.qm differ diff --git a/src/ui/translations/qmmp_cs.ts b/src/ui/translations/qmmp_cs.ts index 7593096bb..16a28db9f 100644 --- a/src/ui/translations/qmmp_cs.ts +++ b/src/ui/translations/qmmp_cs.ts @@ -442,14 +442,6 @@ - - Decoder - - - All Supported Bitstreams ( - Všechny podporované formáty ( - - EqWidget @@ -672,7 +664,7 @@ MainWindow - + Default Seznam @@ -737,62 +729,52 @@ B - - &Queue - &Fronta - - - - Q - Q - - - + &Jump To File Přeskočit na soubo&r - + J J - + &Settings &Nastavení - + Ctrl+P Ctrl+P - + &About O &aplikaci - + &Exit U&končit - + Ctrl+Q Ctrl+Q - + Playlist Files Seznamy skladeb - + Open Playlist Načíst seznam skladeb - + Save Playlist Uložit seznam skladeb @@ -807,7 +789,7 @@ Mezerník - + &About Qt O knihovně &Qt @@ -905,52 +887,52 @@ Obrátit pořadí seznamu - + Invert Selection Invertovat výběr - + &Select None &Zrušit výběr - + &Select All &Vybrat vše - + Ctrl+A Ctrl+A - + &New List &Nový seznam - + Shift+N Shift+N - + &Load List Načíst &seznam - + O O - + &Save List &Uložit seznam - + Shift+S Shift+S @@ -969,6 +951,44 @@ By Track Number Podle čísla skladby + + + &Queue + &Fronta + + + + Q + Q + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_de.qm b/src/ui/translations/qmmp_de.qm index aab9d1d81..69f713720 100644 Binary files a/src/ui/translations/qmmp_de.qm and b/src/ui/translations/qmmp_de.qm differ diff --git a/src/ui/translations/qmmp_de.ts b/src/ui/translations/qmmp_de.ts index 04939ec66..a3094c601 100644 --- a/src/ui/translations/qmmp_de.ts +++ b/src/ui/translations/qmmp_de.ts @@ -664,7 +664,7 @@ MainWindow - + Default Standard @@ -729,62 +729,52 @@ B - - &Queue - &Warteschlange - - - - Q - Q - - - + &Jump To File &Springe zu Titel - + J J - + &Settings &Einstellungen - + Ctrl+P Ctrl+P - + &About Ü&ber - + &Exit &Beenden - + Ctrl+Q Ctrl+Q - + Playlist Files Wiedergabelisten - + Open Playlist Wiedergabeliste öffnen - + Save Playlist Wiedergabeliste speichern @@ -799,7 +789,7 @@ Leertaste - + &About Qt Übe&r Qt @@ -897,52 +887,52 @@ Wiedergabeliste umkehren - + Invert Selection Auswahl umkehren - + &Select None &Keine auswählen - + &Select All Alle aus&wählen - + Ctrl+A Ctrl+A - + &New List &Neue Wiedergabeliste - + Shift+N Shift+N - + &Load List Wiedergabeliste &laden - + O O - + &Save List Wiedergabeliste &speichern - + Shift+S Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + &Warteschlange + + + + Q + Q + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_pt_BR.qm b/src/ui/translations/qmmp_pt_BR.qm index e10534983..675680c6e 100644 Binary files a/src/ui/translations/qmmp_pt_BR.qm and b/src/ui/translations/qmmp_pt_BR.qm differ diff --git a/src/ui/translations/qmmp_pt_BR.ts b/src/ui/translations/qmmp_pt_BR.ts index 1d1866b64..dd5090861 100644 --- a/src/ui/translations/qmmp_pt_BR.ts +++ b/src/ui/translations/qmmp_pt_BR.ts @@ -664,7 +664,7 @@ MainWindow - + Default Padrão @@ -729,62 +729,52 @@ - - &Queue - Na fila - - - - Q - - - - + &Jump To File Pular para arquivo - + J - + &Settings Configurações - + Ctrl+P - + &Exit Sair - + Ctrl+Q - + Open Playlist Abrir Playlist - + Save Playlist Salvar Playlist - + &About &Sobre - + Playlist Files ФArquivos de lista de músicas @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ - + Ctrl+A - + O @@ -902,42 +892,42 @@ Lista Revertida - + Invert Selection Inverter Seleção - + &Select None &Nenhum selecionado - + &Select All &Selecionar tudo - + &New List &Nova lista - + Shift+N - + &Load List &Carregar lista - + &Save List &Salvar lista - + Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + Na fila + + + + Q + + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_ru.qm b/src/ui/translations/qmmp_ru.qm index 596acfed0..eb85fad5a 100644 Binary files a/src/ui/translations/qmmp_ru.qm and b/src/ui/translations/qmmp_ru.qm differ diff --git a/src/ui/translations/qmmp_ru.ts b/src/ui/translations/qmmp_ru.ts index 11481ecab..f620438ab 100644 --- a/src/ui/translations/qmmp_ru.ts +++ b/src/ui/translations/qmmp_ru.ts @@ -664,7 +664,7 @@ MainWindow - + Default @@ -729,62 +729,52 @@ - - &Queue - &В очередь - - - - Q - - - - + &Jump To File &Перейти к файлу - + J - + &Settings &Настройки - + Ctrl+P - + &Exit &Выход - + Ctrl+Q - + Open Playlist Открыть список - + Save Playlist Сохранить список - + &About &О программе - + Playlist Files Файлы списков @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ - + Ctrl+A - + O @@ -902,42 +892,42 @@ Перевернуть - + Invert Selection Инвертировать выделение - + &Select None &Снять выделение - + &Select All &Выделить всё - + &New List &Новый лист - + Shift+N - + &Load List &Загрузить лист - + &Save List &Сохранить лист - + Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + &В очередь + + + + Q + + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_tr.qm b/src/ui/translations/qmmp_tr.qm index e2c42d98f..b22c92f6d 100644 Binary files a/src/ui/translations/qmmp_tr.qm and b/src/ui/translations/qmmp_tr.qm differ diff --git a/src/ui/translations/qmmp_tr.ts b/src/ui/translations/qmmp_tr.ts index 18647614a..93d8fe822 100644 --- a/src/ui/translations/qmmp_tr.ts +++ b/src/ui/translations/qmmp_tr.ts @@ -664,7 +664,7 @@ MainWindow - + Default Öntanımlı @@ -729,62 +729,52 @@ B - - &Queue - &Kuyruğa ekle - - - - Q - Q - - - + &Jump To File &Parçaya Git - + J J - + &Settings &Ayarlar - + Ctrl+P Ctrl+P - + &Exit &Çıkış - + Ctrl+Q Ctrl+Q - + Open Playlist Çalma Listesini Aç - + Save Playlist Çalma Listesini Kaydet - + &About &Hakkında - + Playlist Files Çalma Listesi Dosyaları @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ Alt+I - + Ctrl+A Ctrl+A - + O O @@ -902,42 +892,42 @@ Listeyi Ters Çevir - + Invert Selection Seçimi Tersine Çevir - + &Select None &Hiçbirini Seçme - + &Select All &Tümünü Seç - + &New List &Yeni Liste - + Shift+N Shift+N - + &Load List &Liste Yükle - + &Save List &Listeyi Kaydet - + Shift+S Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + &Kuyruğa ekle + + + + Q + Q + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_uk_UA.qm b/src/ui/translations/qmmp_uk_UA.qm index a19e0711c..a36ec0369 100644 Binary files a/src/ui/translations/qmmp_uk_UA.qm and b/src/ui/translations/qmmp_uk_UA.qm differ diff --git a/src/ui/translations/qmmp_uk_UA.ts b/src/ui/translations/qmmp_uk_UA.ts index 1200c2cb1..6378b61a0 100644 --- a/src/ui/translations/qmmp_uk_UA.ts +++ b/src/ui/translations/qmmp_uk_UA.ts @@ -664,7 +664,7 @@ MainWindow - + Default @@ -729,62 +729,52 @@ - - &Queue - &В чергу - - - - Q - - - - + &Jump To File &Перейти до файлу - + J - + &Settings &Налаштування - + Ctrl+P - + &Exit &Вихід - + Ctrl+Q - + Open Playlist Відкрити список - + Save Playlist Зберегти список - + &About &Про програму - + Playlist Files Файли списків @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ - + Ctrl+A - + O @@ -902,42 +892,42 @@ Перевернути - + Invert Selection Інвертувати вибране - + &Select None &Зняти виділення - + &Select All &Вибрати все - + &New List &Новий список - + Shift+N - + &Load List &Завантажити список - + &Save List &Зберегти список - + Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + &В чергу + + + + Q + + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_zh_CN.qm b/src/ui/translations/qmmp_zh_CN.qm index c44e83f96..4115d44b2 100644 Binary files a/src/ui/translations/qmmp_zh_CN.qm and b/src/ui/translations/qmmp_zh_CN.qm differ diff --git a/src/ui/translations/qmmp_zh_CN.ts b/src/ui/translations/qmmp_zh_CN.ts index 5e5dbf3a9..bb29e0740 100644 --- a/src/ui/translations/qmmp_zh_CN.ts +++ b/src/ui/translations/qmmp_zh_CN.ts @@ -664,7 +664,7 @@ MainWindow - + Default 默认 @@ -729,62 +729,52 @@ B - - &Queue - 队列(&Q) - - - - Q - Q - - - + &Jump To File 跳到文件(&J) - + J J - + &Settings 设置(&S) - + Ctrl+P Ctrl+P - + &Exit 退出(&E) - + Ctrl+Q Ctrl+Q - + Open Playlist 打开播放列表 - + Save Playlist 保存播放列表 - + &About 关于(&A) - + Playlist Files 播放列表文件 @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ Alt+I - + Ctrl+A Ctrl+A - + O O @@ -902,42 +892,42 @@ 逆序列表 - + Invert Selection 反选 - + &Select None 无选择(&S) - + &Select All 选择全部(&S) - + &New List 新建列表(&N) - + Shift+N Shift+N - + &Load List 载入列表(&L) - + &Save List 保存列表(&S) - + Shift+S Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + 队列(&Q) + + + + Q + Q + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor diff --git a/src/ui/translations/qmmp_zh_TW.qm b/src/ui/translations/qmmp_zh_TW.qm index 17cc0b3a3..b442e50e9 100644 Binary files a/src/ui/translations/qmmp_zh_TW.qm and b/src/ui/translations/qmmp_zh_TW.qm differ diff --git a/src/ui/translations/qmmp_zh_TW.ts b/src/ui/translations/qmmp_zh_TW.ts index d7726f694..9deab2ab7 100644 --- a/src/ui/translations/qmmp_zh_TW.ts +++ b/src/ui/translations/qmmp_zh_TW.ts @@ -664,7 +664,7 @@ MainWindow - + Default 預設 @@ -729,62 +729,52 @@ B - - &Queue - 佇列(&Q) - - - - Q - Q - - - + &Jump To File 跳到檔案(&J) - + J J - + &Settings 設定(&S) - + Ctrl+P Ctrl+P - + &Exit 結束(&E) - + Ctrl+Q Ctrl+Q - + Open Playlist 開啟播放清單 - + Save Playlist 儲存播放清單 - + &About 關于(&A) - + Playlist Files 播放清單檔案 @@ -799,7 +789,7 @@ - + &About Qt @@ -822,12 +812,12 @@ Alt+I - + Ctrl+A Ctrl+A - + O O @@ -902,42 +892,42 @@ 逆串列表 - + Invert Selection 反選 - + &Select None 無選取(&S) - + &Select All 選取全部(&S) - + &New List 新建清單(&N) - + Shift+N Shift+N - + &Load List 載入清單(&L) - + &Save List 儲存清單(&S) - + Shift+S Shift+S @@ -961,6 +951,44 @@ By Track Number + + + &Queue + 佇列(&Q) + + + + Q + Q + + + + PlayListModel + + + Url: + + + + + Title: + + + + + Artist: + + + + + Album: + + + + + Comment: + + PresetEditor -- cgit v1.2.3-13-gbd6f