From 46a95c311d2dfdcafc888567b10328e12692b16b Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 22 May 2010 12:59:12 +0000 Subject: added 'show on all desktops' option git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1746 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/CMakeLists.txt | 2 + src/ui/configdialog.cpp | 17 +-- src/ui/forms/configdialog.ui | 106 +++++++-------- src/ui/mainwindow.cpp | 26 +++- src/ui/mainwindow.h | 3 + src/ui/translations/qmmp_cs.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_de.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_hu.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_it.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_lt.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_pl_PL.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_pt_BR.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_ru.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_tr.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_uk_UA.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_zh_CN.ts | 266 ++++++++++++++++++++------------------ src/ui/translations/qmmp_zh_TW.ts | 266 ++++++++++++++++++++------------------ src/ui/ui.pro | 13 +- src/ui/viewmenu.cpp | 48 +++++++ src/ui/viewmenu.h | 45 +++++++ src/ui/windowsystem.cpp | 2 +- 21 files changed, 1825 insertions(+), 1629 deletions(-) create mode 100644 src/ui/viewmenu.cpp create mode 100644 src/ui/viewmenu.h diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt index 07987cd9a..98fa8e197 100644 --- a/src/ui/CMakeLists.txt +++ b/src/ui/CMakeLists.txt @@ -85,6 +85,7 @@ SET(ui_SRCS popupwidget.cpp popupsettings.cpp windowsystem.cpp + viewmenu.cpp ) SET(ui_MOC_HDRS @@ -140,6 +141,7 @@ SET(ui_MOC_HDRS popupwidget.h popupsettings.h windowsystem.h + viewmenu.h ) SET(ui_RCCS images/images.qrc stuff.qrc translations/qmmp_locales.qrc) diff --git a/src/ui/configdialog.cpp b/src/ui/configdialog.cpp index 8313450a1..2afde8045 100644 --- a/src/ui/configdialog.cpp +++ b/src/ui/configdialog.cpp @@ -119,17 +119,14 @@ void ConfigDialog::readSettings() ui.portLineEdit->setEnabled(ui.enableProxyCheckBox->isChecked()); ui.proxyUserLineEdit->setEnabled(ui.authProxyCheckBox->isChecked()); ui.proxyPasswLineEdit->setEnabled(ui.authProxyCheckBox->isChecked()); - - ui.hiddenCheckBox->setChecked(settings.value("MainWindow/start_hidden", false).toBool()); - ui.hideOnCloseCheckBox->setChecked(settings.value("MainWindow/hide_on_close", false).toBool()); //transparency ui.mwTransparencySlider->setValue(100 - settings.value("MainWindow/opacity", 1.0).toDouble()*100); ui.eqTransparencySlider->setValue(100 - settings.value("Equalizer/opacity", 1.0).toDouble()*100); ui.plTransparencySlider->setValue(100 - settings.value("PlayList/opacity", 1.0).toDouble()*100); //view ui.skinCursorsCheckBox->setChecked(settings.value("General/skin_cursors", false).toBool()); - ui.doubleSizeCheckBox->setChecked(settings.value("General/double_size", false).toBool()); - ui.alwaysOnTopCheckBox->setChecked(settings.value("General/always_on_top", false).toBool()); + ui.hiddenCheckBox->setChecked(settings.value("MainWindow/start_hidden", false).toBool()); + ui.hideOnCloseCheckBox->setChecked(settings.value("MainWindow/hide_on_close", false).toBool()); //resume playback ui.continuePlaybackCheckBox->setChecked(settings.value("General/resume_on_startup", false).toBool()); //cover options @@ -153,7 +150,8 @@ void ConfigDialog::on_contentsWidget_currentItemChanged (QListWidgetItem *curren if (!current) current = previous; ui.stackedWidget->setCurrentIndex (ui.contentsWidget->row (current)); - ui.visibilityGroupBox->setEnabled(GeneralHandler::instance()->visibilityControl()); + ui.hiddenCheckBox->setEnabled(GeneralHandler::instance()->visibilityControl()); + ui.hideOnCloseCheckBox->setEnabled(GeneralHandler::instance()->visibilityControl()); } void ConfigDialog::changeSkin() @@ -434,16 +432,15 @@ void ConfigDialog::saveSettings() ui.authProxyCheckBox->isChecked(), proxyUrl); - settings.setValue ("MainWindow/start_hidden", ui.hiddenCheckBox->isChecked()); - settings.setValue ("MainWindow/hide_on_close", ui.hideOnCloseCheckBox->isChecked()); + settings.setValue ("MainWindow/opacity", 1.0 - (double)ui.mwTransparencySlider->value()/100); settings.setValue ("Equalizer/opacity", 1.0 - (double)ui.eqTransparencySlider->value()/100); settings.setValue ("PlayList/opacity", 1.0 - (double)ui.plTransparencySlider->value()/100); settings.setValue ("General/resume_on_startup", ui.continuePlaybackCheckBox->isChecked()); settings.setValue ("MainWindow/bitmap_font", ui.useBitmapCheckBox->isChecked()); settings.setValue ("General/skin_cursors", ui.skinCursorsCheckBox->isChecked()); - settings.setValue ("General/double_size", ui.doubleSizeCheckBox->isChecked()); - settings.setValue ("General/always_on_top", ui.alwaysOnTopCheckBox->isChecked()); + settings.setValue ("MainWindow/start_hidden", ui.hiddenCheckBox->isChecked()); + settings.setValue ("MainWindow/hide_on_close", ui.hideOnCloseCheckBox->isChecked()); gs->setCoverSettings(ui.coverIncludeLineEdit->text().split(","), ui.coverExcludeLineEdit->text().split(","), ui.coverDepthSpinBox->value(), diff --git a/src/ui/forms/configdialog.ui b/src/ui/forms/configdialog.ui index 6390ae7d0..e1f89af86 100644 --- a/src/ui/forms/configdialog.ui +++ b/src/ui/forms/configdialog.ui @@ -7,7 +7,7 @@ 0 0 659 - 450 + 462 @@ -239,7 +239,37 @@ Miscellaneous - + + + + + View + + + + + + Hide on close + + + + + + + Start hidden + + + + + + + Use skin cursors + + + + + + @@ -358,36 +388,6 @@ - - - - View - - - - - - Use skin cursors - - - - - - - Always on top - - - - - - - Double size - - - - - - @@ -475,6 +475,19 @@ + + + + Qt::Vertical + + + + 20 + 40 + + + + @@ -708,29 +721,6 @@ - - - Visibility Control - - - - - - Hide on close - - - - - - - Start hidden - - - - - - - File Dialog @@ -762,7 +752,7 @@ - + Cover Image Retrieve @@ -832,7 +822,7 @@ - + Qt::Vertical @@ -845,7 +835,7 @@ - + Playback diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index a1f357808..f66b21fe4 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -49,6 +49,7 @@ #include "listwidget.h" #include "visualmenu.h" #include "windowsystem.h" +#include "viewmenu.h" #include "builtincommandlineoption.h" #define KEY_OFFSET 10000 @@ -61,6 +62,7 @@ MainWindow::MainWindow(const QStringList& args, BuiltinCommandLineOption* option #endif m_vis = 0; m_update = false; + m_allDesktops = false; m_option_manager = option_manager; setWindowIcon(QIcon(":/32x32/qmmp.png")); setWindowFlags(Qt::Window | Qt::FramelessWindowHint | @@ -289,6 +291,7 @@ void MainWindow::changeEvent (QEvent * event) void MainWindow::readSettings() { QSettings settings(Qmmp::configFile(), QSettings::IniFormat); + m_allDesktops = settings.value("General/show_on_all_desktops", false).toBool(); if (!m_update) { settings.beginGroup("MainWindow"); @@ -337,6 +340,7 @@ void MainWindow::readSettings() m_equalizer->setVisible(m_display->isEqualizerVisible()); } #ifdef Q_WS_X11 + WindowSystem::changeWinSticky(this->winId(), m_allDesktops); if(!WindowSystem::netWindowManagerName().contains("metacity", Qt::CaseInsensitive)) { #endif @@ -375,12 +379,7 @@ void MainWindow::showSettings() { ConfigDialog *confDialog = new ConfigDialog(this); confDialog->exec(); - readSettings(); - m_playlist->readSettings(); - TextScroller::getPointer()->readSettings(); - m_visMenu->updateActions(); - m_skin->reloadSkin(); - Dock::instance()->updateDock(); + updateSettings(); confDialog->deleteLater(); } @@ -402,6 +401,10 @@ void MainWindow::toggleVisibility() else showNormal(); } +#ifdef Q_WS_X11 + WindowSystem::changeWinSticky(winId(), m_allDesktops); + raise(); +#endif } else { @@ -448,6 +451,7 @@ void MainWindow::createActions() m_mainMenu->addAction(QIcon::fromTheme("go-up"), tr("&Jump To File"), this, SLOT(jumpToFile()), tr("J")); m_mainMenu->addSeparator(); + m_mainMenu->addMenu(new ViewMenu(this)); m_visMenu = new VisualMenu(this); m_mainMenu->addMenu(m_visMenu); m_mainMenu->addMenu(m_generalHandler->createMenu(GeneralHandler::TOOLS_MENU, tr("Tools"), this)); @@ -480,6 +484,16 @@ void MainWindow::about() dlg.exec(); } +void MainWindow::updateSettings() +{ + readSettings(); + m_playlist->readSettings(); + TextScroller::getPointer()->readSettings(); + m_visMenu->updateActions(); + m_skin->reloadSkin(); + Dock::instance()->updateDock(); +} + QMenu* MainWindow::menu() { return m_mainMenu; diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index 5da6a2387..1561030d7 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -83,6 +83,8 @@ public slots: void setFileList(const QStringList&); void about(); + void updateSettings(); + protected: virtual void closeEvent (QCloseEvent *); virtual void changeEvent (QEvent *event); @@ -113,6 +115,7 @@ private: MainVisual *m_vis; QString m_lastDir; bool m_update; + bool m_allDesktops; Skin *m_skin; JumpToTrackDialog* m_jumpDialog; bool m_hideOnClose, m_startHidden; diff --git a/src/ui/translations/qmmp_cs.ts b/src/ui/translations/qmmp_cs.ts index 794700756..678ee5840 100644 --- a/src/ui/translations/qmmp_cs.ts +++ b/src/ui/translations/qmmp_cs.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Popis - + Filename Soubor - + Artist Umělec - + Album Album @@ -204,72 +204,72 @@ Vypnuto - + Transports Protokoly - + Decoders Dekodéry - + Engines Přehrávače - + Title Název - + Track number Číslo stopy - + Two-digit track number Dvoumístné číslo stopy - + Disc number Číslo disku - + Condition Stav - + Composer Skladatel - + File name Název souboru - + File path Cesta k souboru - + Genre Žánr - + Year Rok - + Comment Poznámka @@ -305,28 +305,28 @@ Témata - + Fonts Písma - + Player: Přehrávač: - + Playlist: Seznam skladeb: - - + + ??? ??? - + Replay Gain Zisk při přehrávání @@ -336,153 +336,143 @@ Různé - - - + + + ... ... - + Use bitmap font if available Použít bitmapové písmo, je-li dostupné - + Use skin cursors Použít kurzory z tématu - - Always on top - Vždy na vrchu - - - - Double size - Dvojitá velikost - - - + Metadata Metadata - + Load metadata from files Číst ze souborů metadata - + Song Display Zobrazení skladby - + Title format: Formát titulku: - + Show song numbers Zobrazit čísla skladeb - + Show playlists Zobrazit seznam skladeb - + Show popup information Zobrazit informace ve vyskakovacím okně - + Customize Přizpůsobit - - + + Preferences Nastavení - - - + + + Information Informace - + Cover Image Retrieve Získat obrázek obalu - + Use separate image files Použít samostatné obrázky - + Include files: Zahrnout soubory: - + Exclude files: Vynechat soubory: - + Recursive search depth: Hloubka rekurzivního hledání: - + Playback Přehrávání - + Continue playback on startup Po startu pokračovat v přehrávání - + Replay Gain mode: Režim úpravy zisku při přehrávání: - + Preamp: Předzesílení: - - + + dB dB - + Default gain: Výchozí zisk: - + Use peak info to prevent clipping Použít informaci o vrcholu k zabránění ořezu - + Output: Výstup: - + 16-bit output 16bitový výstup @@ -492,118 +482,113 @@ Síť - + View Zobrazení - + File Dialog Souborový dialog - + Proxy Proxy - + Enable proxy usage Povolit používání proxy - + Proxy host name: Adresa proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Použít autorizaci pro proxy - + Proxy user name: Uživatelské jméno: - + Proxy password: Heslo: - + Archived skin Sbalené téma - + Unarchived skin Rozbalené téma - + Visualization Vizualizace - + Effects Efekty - + General Obecné - + Audio Zvuk - + Use software volume control Používat softwarové ovládání hlasitosti - - Visibility Control - Viditelnost - - - + Hide on close Skrýt při zavření - + Start hidden Spustit skryté - + Convert underscores to blanks Převést podtržítka na mezery - + Convert %20 to blanks Převést %20 na mezery - + Select Skin Files Vybrat soubory s tématy - + Skin files Soubory s tématy @@ -618,7 +603,7 @@ Obnovit - + Show protocol Zobrazit protokol @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Výběr adresáře - + Select one or more files to open Vyberte jeden či více souborů k otevření - + &Play Pře&hrát - + X X - + &Pause Pau&za - + C C - + &Stop &Stop - + V V - + &Previous &Předchozí - + Z Z - + &Next &Další - + B B - + &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 - + Space Mezerník - + &About Qt O knihovně &Qt - + &Play/Pause &Přehrát/Pauza - + All Supported Bitstreams Všechny podporované formáty - + &Repeat Track &Opakovat stopu - + &Shuffle Za&míchat - + R O - + Ctrl+R Ctrl+R - + S M - + &Repeat Playlist &Opakovat seznam skladeb - + Tools Nástroje @@ -1630,6 +1615,29 @@ Automaticky rolovat název skladby + + ViewMenu + + + View + Zobrazení + + + + Always on top + Vždy na vrchu + + + + Put on all workspaces + + + + + Double size + Dvojitá velikost + + VisualMenu diff --git a/src/ui/translations/qmmp_de.ts b/src/ui/translations/qmmp_de.ts index 5830308cb..13eb0c4bb 100644 --- a/src/ui/translations/qmmp_de.ts +++ b/src/ui/translations/qmmp_de.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Beschreibung - + Filename Dateiname - + Artist Interpret - + Album Album @@ -204,72 +204,72 @@ Deaktiviert - + Transports Transporte - + Decoders Decoder - + Engines - + Title Titel - + Track number Stücknummer - + Two-digit track number Zweistellige Stücknummer - + Disc number CD-Nummer - + Condition Zustand - + Genre Genre - + Composer Komponist - + File name Dateiname - + File path Dateipfad - + Year Jahr - + Comment Kommentar @@ -305,28 +305,28 @@ Designs - + Fonts Schriftarten - + Player: Player: - + Playlist: Wiedergabeliste: - - + + ??? ??? - + Replay Gain Replay Gain @@ -336,153 +336,143 @@ Verschiedenes - - - + + + ... ... - + Use bitmap font if available Bitmap-Schriftart verwenden, falls verfügbar - + Use skin cursors Design-Mauszeiger verwenden - - Always on top - - - - - Double size - Doppelte Größe - - - + Metadata Metadaten - + Load metadata from files Metadaten aus Dateien laden - + Song Display Titelanzeige - + Title format: Titelformat: - + Show song numbers Titelnummern anzeigen - + Show playlists Wiedergabelisten anzeigen - + Show popup information - + Customize Anpassen - - + + Preferences Konfiguration - - - + + + Information Information - + Cover Image Retrieve Holen von Cover-Bildern - + Use separate image files - + Include files: Einzubeziehende Dateien: - + Exclude files: Auszuschließende Dateien: - + Recursive search depth: Rekursive Suchtiefe: - + Playback - + Continue playback on startup - + Replay Gain mode: Replay-Gain-Modus: - + Preamp: - - + + dB dB - + Default gain: - + Use peak info to prevent clipping - + Output: Ausgabe: - + 16-bit output 16-Bit-Ausgabe @@ -492,118 +482,113 @@ Verbindung - + View - + File Dialog Datei-Dialog - + Proxy Proxyserver - + Enable proxy usage Proxyserver verwenden - + Proxy host name: Name des Proxyservers: - + Proxy port: Port: - + Use authentication with proxy Authentisierung verwenden - + Proxy user name: Benutzername: - + Proxy password: Passwort: - + Archived skin Archiviertes Design - + Unarchived skin Nicht archiviertes Design - + Visualization Visualisierung - + Effects Effekte - + General Sonstige - + Audio Audio - + Use software volume control Softwaregesteuerte Lautstärkeregelung - - Visibility Control - Tray-Steuerung - - - + Hide on close Beim Schließen in den Systemabschnitt der Kontrollleiste minimieren - + Start hidden Minimiert starten - + Convert underscores to blanks Unterstriche in Leerzeichen umwandeln - + Convert %20 to blanks %20 in Leerzeichen umwandeln - + Select Skin Files Design-Dateien auswählen - + Skin files Design-Dateien @@ -618,7 +603,7 @@ Aktualisieren - + Show protocol Protokoll anzeigen @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Verzeichnis wählen - + Select one or more files to open Dateien hinzufügen - + &Play &Wiedergabe - + X X - + &Pause &Pause - + C C - + &Stop &Stopp - + V V - + &Previous &Vorheriger Titel - + Z Z - + &Next &Nächster Titel - + B B - + &Jump To File Springe zu &Titel - + J J - + &Settings &Einstellungen - + Ctrl+P Strg+P - + &About Ü&ber - + &Exit Be&enden - + Ctrl+Q Strg+Q - - + + Playlist Files Wiedergabelisten - + Open Playlist Wiedergabeliste öffnen - + Save Playlist Wiedergabeliste speichern - + Space Leertaste - + &About Qt Übe&r Qt - + &Play/Pause Wieder&gabe/Pause - + All Supported Bitstreams Alle unterstützten Formate - + &Repeat Track Tite&l wiederholen - + &Shuffle &Zufallswiedergabe - + R R - + Ctrl+R Strg+R - + S S - + &Repeat Playlist W&iedergabeliste wiederholen - + Tools Werkzeuge @@ -1630,6 +1615,29 @@ Automatischer Bildlauf + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + Doppelte Größe + + VisualMenu diff --git a/src/ui/translations/qmmp_hu.ts b/src/ui/translations/qmmp_hu.ts index b1bbee794..4f602780f 100644 --- a/src/ui/translations/qmmp_hu.ts +++ b/src/ui/translations/qmmp_hu.ts @@ -173,53 +173,53 @@ ConfigDialog - + Archived skin Tömörített skin - + Unarchived skin Tömörítettlen skin - + Description Leírás - + Filename Fájlnév - + Artist Előadó - + Album Album - + Title Cím - + Genre Műfaj - + Year Év - + Comment Megjegyzés @@ -234,62 +234,62 @@ Kikapcsolva - + Transports Transzportálás - + Decoders Dekóderek - + Engines Motorok - + Track number Zeneszám - + Two-digit track number Két jegyű zeneszám - + Composer Zeneszerző - + Disc number Lemezszám - + File name Fájl neve - + File path File útvonala - + Condition Feltétel - + Select Skin Files Skin fájl kiválasztása - + Skin files Skin fájlok @@ -345,215 +345,200 @@ Vegyes - + Fonts Betűtípus - + Player: Lejátszó: - - + + ??? ??? - - - + + + ... ... - + Playlist: Lejátszási lista: - + Use bitmap font if available Bittérképes betűtípus használata, ha elérhető - + Use skin cursors Skin egértéma használata - - Always on top - Mindig látható - - - - Double size - Dupla méret - - - + Metadata Metaadatok - + Load metadata from files Metaadatok betöltése fájlból - + Song Display Szám kijelző - + Title format: Cím formátum: - + Convert underscores to blanks Lepontozottak átalakítása üressé - + Convert %20 to blanks Átalakítás %20 üressé - + Show protocol Protokol mutatása - + Show song numbers Zene sorszámának mutatása - + Show playlists Lejátszási lista mutatása - + Show popup information Felugró információk mutatása - + Customize Testreszab - - + + Preferences Tulajdonságok - - - + + + Information Információ - + Playback Lejátszás - + Continue playback on startup Lejátszás folytatása indításkor - + 16-bit output 16 bites kimenet - + Visualization Vizualizáció - + Effects Effektek - + General Általános - + Audio Audió - + Replay Gain Replay Gain - + Replay Gain mode: Replay Gain mód: - + Preamp: Preamp: - - + + dB dB - + Default gain: Alapértelmezett gain: - + Use peak info to prevent clipping Csúcs információ használata a klippelés megelőzéséhez - + Output: Kimenet: - + Use software volume control Szoftveres hangerőszabályzó használata - - Visibility Control - Láthatóság - - - + Hide on close Elrejtés bezáráskor - + Start hidden Rejtve induljon - + File Dialog Fájl ablak @@ -563,7 +548,7 @@ Átlátszóság - + View Megnéz @@ -585,62 +570,62 @@ Hangszínszabályozó - + Cover Image Retrieve Borító beszerzése - + Use separate image files Különböző képfájlok használata - + Include files: Tartalmazott fájlok: - + Exclude files: Kihagyott fájlok: - + Recursive search depth: Rekúrzív keresési mélység: - + Proxy Proxy - + Enable proxy usage Proxy használatának engedélyezése - + Proxy host name: Proxy host name: - + Proxy port: Proxy port: - + Use authentication with proxy Hitelesítés hasznáalta proxy-val - + Proxy user name: Proxy felhasználónév: - + Proxy password: Proxy jelszó: @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Válassz egy könyvtárat - + All Supported Bitstreams Minden támogatott bitráta - + Select one or more files to open Válassz egy vagy több fájlat megnyitásra - + &Play &Lejátszás - + X X - + &Pause &Szünet - + C C - + &Stop &Megállítás - + V V - + &Previous &Előző - + Z Z - + &Next &Következő - + B B - + &Play/Pause &Lejátszás/Szünet - + Space Szóköz - + &Repeat Playlist Lista &ismétlése - + &Repeat Track Számok i&smétlése - + &Shuffle &Véletlenszerű - + R - + Ctrl+R Crtl+R - + S S - + &Jump To File &Ugrás fájlra - + J J - + Tools Eszközök - + &Settings &Beállítások - + Ctrl+P Ctrl+P - + &About &Névjegy - + &About Qt N&évjegy: Qt - + &Exit &Kilépés - + Ctrl+Q Ctrl+Q - - + + Playlist Files Lejátszási lista fájl - + Open Playlist Lista megnyitása - + Save Playlist Lista mentése @@ -1630,6 +1615,29 @@ Töltés: + + ViewMenu + + + View + Megnéz + + + + Always on top + Mindig látható + + + + Put on all workspaces + + + + + Double size + Dupla méret + + VisualMenu diff --git a/src/ui/translations/qmmp_it.ts b/src/ui/translations/qmmp_it.ts index a6d2b01c4..39f821805 100644 --- a/src/ui/translations/qmmp_it.ts +++ b/src/ui/translations/qmmp_it.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Descrizione - + Filename File - + Artist Interprete - + Album Album @@ -204,72 +204,72 @@ Disabilitato - + Transports Protocolli di trasporto - + Decoders Decodificatori - + Engines Meccanismi - + Title Titolo - + Track number Traccia n° - + Two-digit track number Traccia n° a due cifre - + Disc number Disco n° - + Condition Condizione - + Genre Genere - + Composer Compositore - + File name Nome file - + File path Percorso file - + Year Anno - + Comment Commento @@ -284,63 +284,63 @@ Temi - + Fonts Caratteri - + Player: Player: - + Playlist: Lista brani : - - + + ??? ??? - - - + + + ... ... - + Metadata Metadati - + Load metadata from files Carica i metadati dai brani - + Song Display Mostra il brano - + Title format: Formato del titolo : - - + + Preferences Impostazioni preferite - - - + + + Information Informazioni @@ -366,17 +366,17 @@ Avanzato - + 16-bit output uscita a 16 bit - + Archived skin Tema archiviato - + Unarchived skin Tema non archiviato @@ -386,33 +386,33 @@ Connettività - + Visualization Visualizzazione - + Effects Effetti - + General Generale - + File Dialog Menu brani - + Audio Audio - + Replay Gain Normalizzazione @@ -422,188 +422,173 @@ Varie - + Use bitmap font if available Usa carattere bitmap se disponibile - + Use skin cursors Usa cursore skin - - Double size - Dimensione doppia - - - + Show song numbers Mostra numero brani - + Show playlists Mostra lista esecuzione brani - + Show popup information Mostra informazioni popup - + Customize Personalizza - + Replay Gain mode: Metodo di normalizzazione - + Preamp: Preamp: - - + + dB dB - + Default gain: Normalizzazione predefinita - + Use peak info to prevent clipping Utilizza informazioni di picco per evitare tagli - + Output: Uscita: - + Use software volume control Utilizza il controllo volume del programma - - Visibility Control - Controllo dell'aspetto - - - + View - - Always on top - - - - + Hide on close Nascondi alla chiusura - + Start hidden Avvia nascosto - + Cover Image Retrieve Trova immagine copertina - + Use separate image files Usa immagini separate - + Include files: Includi i file: - + Exclude files: Escludi i file: - + Recursive search depth: Profondità ricerca ricorsiva: - + Playback Riproduzione - + Continue playback on startup Continua la riproduzione all'avvio - + Proxy Proxy - + Enable proxy usage Attiva il proxy - + Proxy host name: Nome del server : - + Proxy port: Porta del server : - + Use authentication with proxy Usa autenticazione con il proxy - + Proxy user name: Utente: - + Proxy password: Password : - + Convert underscores to blanks Converti il carattere « _ » in spazi - + Convert %20 to blanks Converti il carattere « %20 » in spazi - + Select Skin Files Seleziona aspetto - + Skin files Aspetto @@ -618,7 +603,7 @@ Aggiorna - + Show protocol Motra protocollo @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Scegliere una cartella - + Select one or more files to open Seleziona uno o più brani da aprire - + &Play &Esegui - + X X - + &Pause &Pausa - + C C - + &Stop &Arresta - + V V - + &Previous &Precedente - + Z Z - + &Next &Successivo - + B B - + &Jump To File &Vai al brano - + J J - + &Settings &Configurazione - + Ctrl+P Ctrl+P - + &Exit &Esci - + Ctrl+Q Ctrl+Q - + Open Playlist Apri lista di brani - + Save Playlist Salva lista di brani - + &About &Informazioni - - + + Playlist Files Brani della lista - + Space Spazio - + &About Qt &Informazioni su Qt - + &Play/Pause &Esegui / Pausa - + All Supported Bitstreams Elenco di tutti i tipi di flusso accettati - + &Repeat Track &Ripeti brano - + &Shuffle &Ordine casuale - + R R - + Ctrl+R Ctrl+R - + S S - + &Repeat Playlist &Ripeti lista brani - + Tools Strumenti @@ -1630,6 +1615,29 @@ Scorrimento automatico del titolo del brano + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + Dimensione doppia + + VisualMenu diff --git a/src/ui/translations/qmmp_lt.ts b/src/ui/translations/qmmp_lt.ts index d7b590066..e260eee84 100644 --- a/src/ui/translations/qmmp_lt.ts +++ b/src/ui/translations/qmmp_lt.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Aprašymas - + Filename Bylos pavadinimas - + Artist Atlikėjas - + Album Albumas @@ -204,72 +204,72 @@ Išjungta - + Transports Transportas - + Decoders Dekoderiai - + Engines Varikliai - + Title Pavadinimas - + Track number Takelio numeris - + Two-digit track number Dviejų skaičių takelio numeris - + Disc number Disko numeris - + Condition Būklė - + Composer Autorius - + File name Bylos pavadinimas - + File path Bylos kelias - + Genre Žanras - + Year Metai - + Comment Komentaras @@ -284,63 +284,63 @@ Temos - + Fonts Šriftai - + Player: Grotuvas: - + Playlist: Gojaraštis: - - + + ??? ??? - - - + + + ... ... - + Metadata Meta duomenys - + Load metadata from files Įkelti metaduomenis iš bylų - + Song Display Dainų sąrašas - + Title format: Pavadinimo formatas: - - + + Preferences Nustatymai - - - + + + Information Informacija @@ -366,17 +366,17 @@ Papildomi - + 16-bit output 16 bitų išvestis - + Archived skin Suspausta tema - + Unarchived skin Išskleista tema @@ -386,33 +386,33 @@ Tinklas - + Visualization Vizualizacija - + Effects Efektai - + General Bendri - + File Dialog Pasirinkimo langas - + Audio Audio - + Replay Gain Neįsivaizduoju kaip verst Replay Gain @@ -423,188 +423,173 @@ Kiti - + Use bitmap font if available Naudoti bitmap šriftą, jei įmanoma - + Use skin cursors Naudoti temos kursorių - - Double size - Dvigubas dydis - - - + Show song numbers Rodyti takelių numerius - + Show playlists Rodyti grojaraščius - + Show popup information Rodyti iššokančią informaciją - + Customize Nustatyti - + Replay Gain mode: Replay Gain metodas: - + Preamp: Išankstinis stiprinimas: - - + + dB dB - + Default gain: Stiprinimas pagal nutylėjima: - + Use peak info to prevent clipping Naudoti pikų informaciją trūkinėjimo išvengimui - + Output: Išvestis - + Use software volume control Naudoti programinį garso valdymą - - Visibility Control - Matomumo valdymas - - - + View Rodyti - - Always on top - Visada viršuje - - - + Hide on close Paslėpti išjungus - + Start hidden Įjungti paslėptą - + Cover Image Retrieve Parsiųsti cd viršelį - + Use separate image files Naudoti atskiras paveiksliukų bylas - + Include files: Įtraukti bylas - + Exclude files: Išskirti bylas - + Recursive search depth: Rekursinės paieškos gylis - + Playback Grojimas - + Continue playback on startup Tęsti grojimą įjungus - + Proxy Proxy - + Enable proxy usage Įjungti proxy palaikymą - + Proxy host name: Proxy serveris: - + Proxy port: Proxy portas: - + Use authentication with proxy Naudoti proxy autentifikavimą - + Proxy user name: Proxy vartotojo vardas: - + Proxy password: Proxy slaptažodis: - + Convert underscores to blanks Paversti brūkšnius į tarpus - + Convert %20 to blanks Paversti %20 į tarpus - + Select Skin Files Pasirinkti temų bylas - + Skin files Temų bylos @@ -619,7 +604,7 @@ Atnaujinti - + Show protocol Rodyti bylos galūnę @@ -950,168 +935,168 @@ MainWindow - + Choose a directory Pasirinkite aplanką - + Select one or more files to open Pasirinkite vieną ar kelias bylas atvėrimui - + &Play &Groti - + X - + &Pause &Pristabdyti - + C - + &Stop &Sustabdyti - + V - + &Previous &Ankstesnis - + Z - + &Next &Sekantis - + B - + &Jump To File &Pereiti prie bylos - + J - + &Settings &Nustatymai - + Ctrl+P - + &Exit &Išeiti - + Ctrl+Q - + Open Playlist Atverti grojaraštį - + Save Playlist Išsaugoti grojaraštį - + &About &Apie - - + + Playlist Files Grojaraščio bylos - + Space - + &About Qt &Apie Qt - + &Play/Pause &Groti/Pristabdyti - + All Supported Bitstreams Palaikomi bylų tipai - + &Repeat Track &Kartoti takelį - + &Shuffle &Atsitiktine tvarka - + R - + Ctrl+R - + S - + &Repeat Playlist &Kartoti grojaraštį - + Tools Įrankiai @@ -1631,6 +1616,29 @@ Automatinis takelio slinkimas + + ViewMenu + + + View + Rodyti + + + + Always on top + Visada viršuje + + + + Put on all workspaces + + + + + Double size + Dvigubas dydis + + VisualMenu diff --git a/src/ui/translations/qmmp_pl_PL.ts b/src/ui/translations/qmmp_pl_PL.ts index 18cf5172b..577df5dd3 100644 --- a/src/ui/translations/qmmp_pl_PL.ts +++ b/src/ui/translations/qmmp_pl_PL.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Opis - + Filename Nazwa pliku - + Artist Artysta - + Album Album @@ -204,72 +204,72 @@ Wyłączone - + Transports Transporty - + Decoders Dekodery - + Engines Silniki - + Title Tytuł - + Track number Numer utworu - + Two-digit track number Dwuznakowy numer utworu - + Disc number Numer albumu - + Condition Warunek - + Genre Gatunek - + Composer Kompozytor - + File name Nazwa pliku - + File path Lokalizacja - + Year Rok - + Comment Komentarz @@ -284,63 +284,63 @@ Skóry - + Fonts Czcionki - + Player: Odtwarzacz: - + Playlist: Lista odtwarzania: - - + + ??? ??? - - - + + + ... ... - + Metadata Metadane - + Load metadata from files Załaduj metadane z pliku - + Song Display Wyświetlanie utworu - + Title format: Format tytułu: - - + + Preferences Ustawienia - - - + + + Information Informacje @@ -366,17 +366,17 @@ Zaawansowane - + 16-bit output 16-bitowe odtwarzanie - + Archived skin Skompresowana skórka - + Unarchived skin Niekompresowana skórka @@ -386,33 +386,33 @@ Sieć - + Visualization Wizualizacje - + Effects Efekty - + General Ogólne - + File Dialog Okno dialogowe - + Audio Dźwięk - + Replay Gain @@ -422,188 +422,173 @@ Zaawansowane - + Use bitmap font if available Użyj czcionki bitmapowej jeśli jest dostępna - + Use skin cursors Użyj kursorów z motywu - - Double size - Podwójny rozmiar - - - + Show song numbers Wyświetl numery utworów na liście odtwarzania - + Show playlists Pokaż listy odtwarzania - + Show popup information Pokaż informację popup - + Customize Dostosuj - + Replay Gain mode: Tryb Replay Gain: - + Preamp: - - + + dB - + Default gain: Domyślne wzmocnienie: - + Use peak info to prevent clipping Użyj informacji peak by zapobiec "klipnięciom" - + Output: Wyjście: - + Use software volume control Użyj programowej regulacji głośności - - Visibility Control - Sterowanie - - - + View - - Always on top - - - - + Hide on close Zminimalizuj przy zamykaniu - + Start hidden Uruchom zminimalizowany - + Cover Image Retrieve Pobieranie okładek - + Use separate image files Użyj oddzielnych obrazków - + Include files: Użyj plików: - + Exclude files: Wyłącz pliki: - + Recursive search depth: Głębokość rekursywnego przeszukiwania: - + Playback Odtwarzanie - + Continue playback on startup Wznów odtwarzanie po uruchomieniu programu - + Proxy Proxy - + Enable proxy usage Włącz proxy - + Proxy host name: Nazwa hosta proxy: - + Proxy port: Port proxy: - + Use authentication with proxy Użyj autoryzacji z proxy - + Proxy user name: Nazwa użytkownika: - + Proxy password: Hasło: - + Convert underscores to blanks Konwertuj podkreślenia na spacje - + Convert %20 to blanks Konwertuj sekwencje %20 na spacje - + Select Skin Files Wybierz skórę - + Skin files Pliki skór @@ -618,7 +603,7 @@ Odśwież - + Show protocol Pokaż protokół @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Wybierz katalog - + Select one or more files to open Wybierz jeden lub więcej plików do otwarcia - + &Play &Odtwarzaj - + X X - + &Pause &Wstrzymaj - + C C - + &Stop &Zatrzymaj - + V V - + &Previous &Poprzedni - + Z Z - + &Next &Następny - + B B - + &Jump To File &Skocz do pliku - + J J - + &Settings &Ustawienia - + Ctrl+P Ctrl+P - + &Exit &Wyjście - + Ctrl+Q Ctrl+Q - + Open Playlist Otwórz listę odtwarzania - + Save Playlist Zapisz listę odtwarzania - + &About &O programie - - + + Playlist Files Pliki listy odtwarzania - + Space - + &About Qt &O Qt - + &Play/Pause &Odtwarzaj/Wstrzymaj - + All Supported Bitstreams Wszystkie wspierane formaty - + &Repeat Track &Powtórz utwór - + &Shuffle &Losowo - + R - + Ctrl+R - + S - + &Repeat Playlist Powtó&rz listę odtwarzania - + Tools Narzędzia @@ -1630,6 +1615,29 @@ Automatyczne przewijanie tytułu utworu + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + Podwójny rozmiar + + VisualMenu diff --git a/src/ui/translations/qmmp_pt_BR.ts b/src/ui/translations/qmmp_pt_BR.ts index ad4b3394b..d709ff2f0 100644 --- a/src/ui/translations/qmmp_pt_BR.ts +++ b/src/ui/translations/qmmp_pt_BR.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Descrição - + Filename Nome do Arquivo - + Artist Artista - + Album Álbum @@ -204,72 +204,72 @@ - + Transports - + Decoders - + Engines - + Title Título - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Gênero - + Composer - + File name - + File path - + Year Ano - + Comment Comentário @@ -284,63 +284,63 @@ Temas - + Fonts Fontes - + Player: Player - + Playlist: Lista de músicas: - - + + ??? ??? - - - + + + ... ... - + Metadata MetaData - + Load metadata from files Carregar arquivo MetaData - + Song Display Mostrar música - + Title format: Tipo de Formato: - - + + Preferences Preferências - - - + + + Information Informações @@ -366,17 +366,17 @@ Avançado - + 16-bit output - + Archived skin - + Unarchived skin @@ -386,33 +386,33 @@ - + Visualization - + Effects - + General - + File Dialog - + Audio - + Replay Gain @@ -422,188 +422,173 @@ - + Use bitmap font if available - + Use skin cursors - - Double size - - - - + Show song numbers - + Show playlists - + Show popup information - + Customize - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Use software volume control - - Visibility Control - - - - + View - - Always on top - - - - + Hide on close - + Start hidden - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + Proxy - + Enable proxy usage - + Proxy host name: - + Proxy port: - + Use authentication with proxy - + Proxy user name: - + Proxy password: - + Convert underscores to blanks - + Convert %20 to blanks - + Select Skin Files - + Skin files @@ -618,7 +603,7 @@ Recarregar - + Show protocol @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Escolher o diretorio - + Select one or more files to open Selecionar um ou mais arquivos - + &Play Tocar - + X - + &Pause Pausar - + C - + &Stop Parar - + V - + &Previous Anterior - + Z - + &Next Próximo - + B - + &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 - + Space - + &About Qt - + &Play/Pause - + All Supported Bitstreams - + &Repeat Track - + &Shuffle - + R - + Ctrl+R - + S - + &Repeat Playlist - + Tools @@ -1630,6 +1615,29 @@ + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + + + VisualMenu diff --git a/src/ui/translations/qmmp_ru.ts b/src/ui/translations/qmmp_ru.ts index 2afc3d863..be05db88d 100644 --- a/src/ui/translations/qmmp_ru.ts +++ b/src/ui/translations/qmmp_ru.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Описание - + Filename Имя файла - + Artist Исполнитель - + Album Альбом @@ -204,72 +204,72 @@ Отключено - + Transports Транспорты - + Decoders Декодеры - + Engines Внешние проигрыватели - + Title Название - + Track number Номер трека - + Two-digit track number 2-x разрядный номер трека - + Disc number Номер диска - + Condition Условие - + Genre Жанр - + Composer Композитор - + File name Имя файла - + File path Путь к файлу - + Year Год - + Comment Комментарий @@ -284,63 +284,63 @@ Обложки - + Fonts Шрифты - + Player: Плеер: - + Playlist: Список: - - + + ??? ??? - - - + + + ... ... - + Metadata Метаданные - + Load metadata from files Считывать метаданные из файлов - + Song Display Список песен - + Title format: Формат названия: - - + + Preferences Настройки - - - + + + Information Информация @@ -366,17 +366,17 @@ Дополнительно - + 16-bit output 16-битный вывод - + Archived skin Упакованная тема - + Unarchived skin Распакованная тема @@ -386,33 +386,33 @@ Сеть - + Visualization Визуализация - + Effects Эффекты - + General Общие - + File Dialog Файловый диалог - + Audio Аудио - + Replay Gain Выравнивание громкости (Replay Gain) @@ -422,188 +422,173 @@ Разное - + Use bitmap font if available Использовать растровые шрифты, если возможно - + Use skin cursors Использовать встроенные курсоры - - Double size - Двойной размер - - - + Show song numbers Показывать номера песен - + Show playlists Показывать списки воспроизведения - + Show popup information Показывать всплывающее окно с информацией - + Customize Настроить - + Replay Gain mode: Режим Replay Gain: - + Preamp: Предусиление: - - + + dB дБ - + Default gain: Усиление по умолчанию: - + Use peak info to prevent clipping Использовать пиковое значение для предотвращения срезания - + Output: Вывод: - + Use software volume control Использовать программную регулировку громкости - - Visibility Control - Управление видимостью - - - + View Вид - - Always on top - Поверх всех окон - - - + Hide on close Скрывать при закрытии - + Start hidden Запускать скрытым - + Cover Image Retrieve Поиск обложки альбома - + Use separate image files Использовать отдельные файлы с изображениями - + Include files: Включить файлы: - + Exclude files: Исключить файлы: - + Recursive search depth: Глубина рекурсивного поиска: - + Playback Воспроизведение - + Continue playback on startup Продолжить воспроизведение после запуска - + Proxy Прокси - + Enable proxy usage Использовать прокси - + Proxy host name: Прокси сервер: - + Proxy port: Прокси порт: - + Use authentication with proxy Использовать авторизацию на прокси - + Proxy user name: Имя пользователя прокси: - + Proxy password: Пароль прокси: - + Convert underscores to blanks Преобразовывать подчёркивание в пробел - + Convert %20 to blanks Преобразовывать %20 в пробел - + Select Skin Files Выберите файлы обложек - + Skin files Файлы обложек @@ -618,7 +603,7 @@ Обновить - + Show protocol Показывать протокол @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Выберите директорию - + Select one or more files to open Выберите один или несколько файлов - + &Play &Воспроизвести - + X - + &Pause &Приостановить - + C - + &Stop &Стоп - + V - + &Previous &Предыдущий фрагмент - + Z - + &Next &Следующий фрагмент - + B - + &Jump To File &Перейти к файлу - + J - + &Settings &Настройки - + Ctrl+P - + &Exit &Выход - + Ctrl+Q - + Open Playlist Открыть список - + Save Playlist Сохранить список - + &About &О программе - - + + Playlist Files Файлы списков - + Space - + &About Qt &О библиотеке Qt - + &Play/Pause &Воспр/приост - + All Supported Bitstreams Все форматы - + &Repeat Track &Повторять трек - + &Shuffle &В случайном порядке - + R - + Ctrl+R - + S - + &Repeat Playlist &Повторять список - + Tools Сервис @@ -1630,6 +1615,29 @@ Автопрокрутка названия песни + + ViewMenu + + + View + Вид + + + + Always on top + Поверх всех окон + + + + Put on all workspaces + Разместить на всех рабочих столах + + + + Double size + Двойной размер + + VisualMenu diff --git a/src/ui/translations/qmmp_tr.ts b/src/ui/translations/qmmp_tr.ts index 3da0d04c8..fe5d095df 100644 --- a/src/ui/translations/qmmp_tr.ts +++ b/src/ui/translations/qmmp_tr.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Açıklama - + Filename Dosya adı - + Artist Sanatçı - + Album Albüm @@ -204,72 +204,72 @@ - + Transports - + Decoders - + Engines - + Title Başlık - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre Tarz - + Composer - + File name - + File path - + Year Yıl - + Comment Yorum @@ -284,63 +284,63 @@ Kabuklar - + Fonts Fontlar - + Player: Oynatıcı: - + Playlist: Çalma Listesi: - - + + ??? ??? - - - + + + ... ... - + Metadata Veri bilgisi - + Load metadata from files Veri bilgisini dosyadan yükle - + Song Display Şarkı Göstergesi - + Title format: Başlık formatı: - - + + Preferences Tercihler - - - + + + Information Bilgi @@ -366,17 +366,17 @@ Gelişmiş - + 16-bit output - + Archived skin Arşivlenmiş kabuk - + Unarchived skin Arşivlenmemiş kabuk @@ -386,33 +386,33 @@ Bağlanırlık - + Visualization Görsellik - + Effects Efektler - + General Genel - + File Dialog Dosya Diyaloğu - + Audio Ses - + Replay Gain @@ -422,188 +422,173 @@ - + Use bitmap font if available - + Use skin cursors - - Double size - - - - + Show song numbers Şarkı numaralarını göster - + Show playlists - + Show popup information - + Customize - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Use software volume control Yazılımsal ses kontrolünü kullan - - Visibility Control - Görünürlük Kontrolü - - - + View - - Always on top - - - - + Hide on close Kapatınca saklan - + Start hidden Gizli başlat - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + Proxy Vekil sunucu - + Enable proxy usage Vekil sunucu kullanımını etkinleştir - + Proxy host name: Vekil sunucu adı: - + Proxy port: Vekil sunucu portu: - + Use authentication with proxy Vekil sunucu yetkilendirmesi kullan - + Proxy user name: Vekil sunucu kullanıcı adı: - + Proxy password: Vekil sunucu parolası: - + Convert underscores to blanks Alt çizgileri boşluğa çevir - + Convert %20 to blanks %20 yi boşluğa çevir - + Select Skin Files Kabuk Dosyası Seç - + Skin files Kabuk dosyaları @@ -618,7 +603,7 @@ Yenile - + Show protocol Protokolü göster @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Bir dizin seçin - + Select one or more files to open Açmak için bir yada daha çok dosya seçin - + &Play &Çal - + X X - + &Pause &Duraklat - + C C - + &Stop &Durdur - + V V - + &Previous &Önceki - + Z Z - + &Next &Sonraki - + B B - + &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ı - + Space Boşluk - + &About Qt &Qt Hakkında - + &Play/Pause &Oynat/Duraklat - + All Supported Bitstreams Tüm Desteklenen Bitstreamler - + &Repeat Track &Parçayı Yinele - + &Shuffle &Rastgele - + R R - + Ctrl+R Ctrl+R - + S S - + &Repeat Playlist &Çalma Listesini Yinele - + Tools Araçlar @@ -1630,6 +1615,29 @@ Şarkı Adını Otomatik Kaydır + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + + + VisualMenu diff --git a/src/ui/translations/qmmp_uk_UA.ts b/src/ui/translations/qmmp_uk_UA.ts index 51d7e234d..7c0964bcc 100644 --- a/src/ui/translations/qmmp_uk_UA.ts +++ b/src/ui/translations/qmmp_uk_UA.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description Пояснення - + Filename Ім'я файлу - + Artist Виконавець - + Album Альбом @@ -204,72 +204,72 @@ Вимкнено - + Transports Транспорти - + Decoders Декодери - + Engines Зовнішні програвачі - + Title Назва - + Track number Номер треку - + Two-digit track number 2- розрядний номер трека - + Disc number Номер диску - + Condition Умова - + Genre Жанр - + Composer Композитор - + File name Ім'я файлу - + File path Шлях файлу - + Year Рік - + Comment Коментар @@ -284,63 +284,63 @@ Шкурки - + Fonts Шрифти - + Player: Програвач: - + Playlist: Список: - - + + ??? ??? - - - + + + ... ... - + Metadata Метадані - + Load metadata from files Зчитувати метадані з файлів - + Song Display Список пісень - + Title format: Формат назви: - - + + Preferences Налаштування - - - + + + Information Інформація @@ -366,17 +366,17 @@ Додатково - + 16-bit output 16-бітний вивід - + Archived skin Упакована тема - + Unarchived skin Розпакована тема @@ -386,33 +386,33 @@ Мережа - + Visualization Візуалізація - + Effects Ефекти - + General Загальне - + File Dialog Файловий діалог - + Audio Звук - + Replay Gain Нормалізація гучності @@ -422,188 +422,173 @@ Різне - + Use bitmap font if available Використовувати растрові шрифти, якщо доступні - + Use skin cursors Використовувати курсори скіна - - Double size - Подвійний розмір - - - + Show song numbers Відображати номера пісень - + Show playlists Показати списки - + Show popup information Показувати спливаюче вікно з інформацією - + Customize Налаштувати - + Replay Gain mode: Режим нормалізації гучності: - + Preamp: Преамплітуда: - - + + dB - + Default gain: Нормалізація за умовчанням: - + Use peak info to prevent clipping Використовувати інформацію піків для запобігання відсікання - + Output: Виведення: - + Use software volume control Використовувати програмний контроль гучності - - Visibility Control - Керування видимістю - - - + View Вигляд - - Always on top - Видимий завжди - - - + Hide on close Ховати при закритті - + Start hidden Запускати схованим - + Cover Image Retrieve Пошук обладинки альбома - + Use separate image files Використовувати окремі файли зображень - + Include files: Включити файли: - + Exclude files: Виключити файли: - + Recursive search depth: Глибина рекурсивного пошуку: - + Playback Відтворення - + Continue playback on startup Продовжити відтворення при запуску - + Proxy Проксі - + Enable proxy usage Використосувати проксі - + Proxy host name: Сервер проксі: - + Proxy port: Порт проксі: - + Use authentication with proxy Використовувати авторизацію на проксі - + Proxy user name: Ім'я користвача проксі: - + Proxy password: Пароль проксі: - + Convert underscores to blanks Конвертувати підкреслювання в пробіл - + Convert %20 to blanks Конвертувати %20 в пробіл - + Select Skin Files Вибрати файли скінів - + Skin files Файли скінів @@ -618,7 +603,7 @@ Поновити - + Show protocol Показати протокол @@ -949,168 +934,168 @@ MainWindow - + Choose a directory Виберіть теку - + Select one or more files to open Виберіть один чи кілька файлів - + &Play &Відтворити - + X - + &Pause &Пауза - + C - + &Stop &Стоп - + V - + &Previous &Назад - + Z - + &Next &Вперед - + B - + &Jump To File &Перейти до файлу - + J - + &Settings &Налаштування - + Ctrl+P - + &Exit &Вихід - + Ctrl+Q - + Open Playlist Відкрити список - + Save Playlist Зберегти список - + &About &Про програму - - + + Playlist Files Файли списків - + Space - + &About Qt &Про Qt - + &Play/Pause &Грати/Пауза - + All Supported Bitstreams Усі формати - + &Repeat Track &Повторити трек - + &Shuffle &Перемішати - + R - + Ctrl+R - + S - + &Repeat Playlist &Повторити список - + Tools Утиліти @@ -1630,6 +1615,29 @@ Автопрокрутка назви пісні + + ViewMenu + + + View + Вигляд + + + + Always on top + Видимий завжди + + + + Put on all workspaces + + + + + Double size + Подвійний розмір + + VisualMenu diff --git a/src/ui/translations/qmmp_zh_CN.ts b/src/ui/translations/qmmp_zh_CN.ts index 817237d36..9a462ad8b 100644 --- a/src/ui/translations/qmmp_zh_CN.ts +++ b/src/ui/translations/qmmp_zh_CN.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description 描述 - + Filename 文件名 - + Artist 艺术家 - + Album 专辑 @@ -204,72 +204,72 @@ - + Transports - + Decoders - + Engines - + Title 标题 - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre 流派 - + Composer - + File name - + File path - + Year 年代 - + Comment 备注 @@ -284,63 +284,63 @@ 皮肤 - + Fonts 字体 - + Player: 播放器: - + Playlist: 播放列表: - - + + ??? ??? - - - + + + ... ... - + Metadata 元数据 - + Load metadata from files 从文件载入元数据 - + Song Display 显示歌曲 - + Title format: 标题格式: - - + + Preferences 参数设置 - - - + + + Information 信息 @@ -366,17 +366,17 @@ 高级 - + 16-bit output - + Archived skin 压缩皮肤 - + Unarchived skin 未压缩皮肤 @@ -386,33 +386,33 @@ 连接 - + Visualization 可视化 - + Effects 特效 - + General 常规 - + File Dialog 文件对话 - + Audio 音频 - + Replay Gain @@ -422,188 +422,173 @@ - + Use bitmap font if available - + Use skin cursors - - Double size - - - - + Show song numbers 显示曲目编号 - + Show playlists - + Show popup information - + Customize - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Use software volume control 使用软设备音量控制 - - Visibility Control - 可见性控制 - - - + View - - Always on top - - - - + Hide on close 关闭时隐藏 - + Start hidden 启动时隐藏 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + Proxy 代理 - + Enable proxy usage 启用代理 - + Proxy host name: 主机名: - + Proxy port: 端口: - + Use authentication with proxy 需要身份验证 - + Proxy user name: 用户名: - + Proxy password: 密码: - + Convert underscores to blanks 转换下划线为空格 - + Convert %20 to blanks 转换 %20 为空格 - + Select Skin Files 选择皮肤文件 - + Skin files 皮肤文件 @@ -618,7 +603,7 @@ 刷新 - + Show protocol 显示协议 @@ -949,168 +934,168 @@ MainWindow - + Choose a directory 选择一个目录 - + Select one or more files to open 选择打开一个或更多文件 - + &Play 播放(&P) - + X X - + &Pause 暂停(&P) - + C C - + &Stop 停止(&S) - + V V - + &Previous 上一曲(&P) - + Z Z - + &Next 下一曲(&N) - + B B - + &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 播放列表文件 - + Space 空格 - + &About Qt 关于 Qt (&A) - + &Play/Pause 播放/暂停(&P) - + All Supported Bitstreams 支持的全部文件 - + &Repeat Track 重复音轨(&R) - + &Shuffle 乱序(&S) - + R R - + Ctrl+R Ctrl+R - + S S - + &Repeat Playlist 重复播放列表(&R) - + Tools 工具 @@ -1630,6 +1615,29 @@ 自动滚动曲目名 + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + + + VisualMenu diff --git a/src/ui/translations/qmmp_zh_TW.ts b/src/ui/translations/qmmp_zh_TW.ts index 514bafa0b..dc0a24eba 100644 --- a/src/ui/translations/qmmp_zh_TW.ts +++ b/src/ui/translations/qmmp_zh_TW.ts @@ -173,23 +173,23 @@ ConfigDialog - + Description 說明 - + Filename 檔名 - + Artist 藝術家 - + Album 專輯 @@ -204,72 +204,72 @@ - + Transports - + Decoders - + Engines - + Title 標題 - + Track number - + Two-digit track number - + Disc number - + Condition - + Genre 流派 - + Composer - + File name - + File path - + Year 年代 - + Comment 備註 @@ -284,63 +284,63 @@ 皮膚 - + Fonts 字型 - + Player: 播放器: - + Playlist: 播放清單: - - + + ??? ??? - - - + + + ... ... - + Metadata 元資料 - + Load metadata from files 從檔案載入元資料 - + Song Display 察看歌曲 - + Title format: 標題格式: - - + + Preferences 引數設定 - - - + + + Information 資訊 @@ -366,17 +366,17 @@ 進階 - + 16-bit output - + Archived skin 封包皮膚 - + Unarchived skin 未封包皮膚 @@ -386,33 +386,33 @@ 連線 - + Visualization 可視化 - + Effects 特效 - + General 常規 - + File Dialog 檔案對話 - + Audio 聲訊 - + Replay Gain @@ -422,188 +422,173 @@ - + Use bitmap font if available - + Use skin cursors - - Double size - - - - + Show song numbers 顯示曲目編號 - + Show playlists - + Show popup information - + Customize - + Replay Gain mode: - + Preamp: - - + + dB - + Default gain: - + Use peak info to prevent clipping - + Output: - + Use software volume control 使用軟裝置音量控制 - - Visibility Control - 可見性控制 - - - + View - - Always on top - - - - + Hide on close 關閉時隱藏 - + Start hidden 啟動時隱藏 - + Cover Image Retrieve - + Use separate image files - + Include files: - + Exclude files: - + Recursive search depth: - + Playback - + Continue playback on startup - + Proxy 代理 - + Enable proxy usage 啟用代理 - + Proxy host name: 主機名: - + Proxy port: 通訊埠: - + Use authentication with proxy 需要身份驗證 - + Proxy user name: 用戶名: - + Proxy password: 密碼: - + Convert underscores to blanks 轉換底線為空格 - + Convert %20 to blanks 轉換 %20 為空格 - + Select Skin Files 選取皮膚檔案 - + Skin files 皮膚檔案 @@ -618,7 +603,7 @@ 刷新 - + Show protocol 顯示協議 @@ -949,168 +934,168 @@ MainWindow - + Choose a directory 選取一個目錄 - + Select one or more files to open 選取開啟一個或更多檔案 - + &Play 播放(&P) - + X X - + &Pause 暫停(&P) - + C C - + &Stop 停止(&S) - + V V - + &Previous 上一曲(&P) - + Z Z - + &Next 下一曲(&N) - + B B - + &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 播放清單檔案 - + Space 空格 - + &About Qt 關於 Qt (&A) - + &Play/Pause 播放/暫停(&P) - + All Supported Bitstreams 支援的全部檔案 - + &Repeat Track 重復音軌(&R) - + &Shuffle 亂序(&S) - + R R - + Ctrl+R Ctrl+R - + S S - + &Repeat Playlist 重復播放清單(&R) - + Tools 工具 @@ -1630,6 +1615,29 @@ 自動捲動曲目名 + + ViewMenu + + + View + + + + + Always on top + + + + + Put on all workspaces + + + + + Double size + + + VisualMenu diff --git a/src/ui/ui.pro b/src/ui/ui.pro index dcd01e573..7f070680c 100644 --- a/src/ui/ui.pro +++ b/src/ui/ui.pro @@ -56,7 +56,8 @@ HEADERS += mainwindow.h \ playlistselector.h \ popupwidget.h \ popupsettings.h \ - windowsystem.h + windowsystem.h \ + viewmenu.h SOURCES += mainwindow.cpp \ mp3player.cpp \ button.cpp \ @@ -107,7 +108,8 @@ SOURCES += mainwindow.cpp \ playlistselector.cpp \ popupwidget.cpp \ popupsettings.cpp \ - windowsystem.cpp + windowsystem.cpp \ + viewmenu.cpp win32:HEADERS += ../qmmp/visual.h unix { HEADERS += unixdomainsocket.h @@ -171,8 +173,7 @@ TRANSLATIONS = translations/qmmp_ru.ts \ translations/qmmp_it.ts \ translations/qmmp_lt.ts \ translations/qmmp_hu.ts - -x11{ -CONFIG += link_pkgconfig -PKGCONFIG += x11 +x11 { + CONFIG += link_pkgconfig + PKGCONFIG += x11 } diff --git a/src/ui/viewmenu.cpp b/src/ui/viewmenu.cpp new file mode 100644 index 000000000..32efd78ae --- /dev/null +++ b/src/ui/viewmenu.cpp @@ -0,0 +1,48 @@ +/*************************************************************************** + * Copyright (C) 2010 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#include +#include +#include "viewmenu.h" + +ViewMenu::ViewMenu(MainWindow *parent) : QMenu(parent) +{ + setTitle(tr("View")); + m_alwaysOnTopAction = addAction(tr("Always on top")); + m_showOnAllDesktopsAction = addAction(tr("Put on all workspaces")); + m_doubleSizeAction = addAction(tr("Double size")); + m_alwaysOnTopAction->setCheckable(true); + m_showOnAllDesktopsAction->setCheckable(true); + m_doubleSizeAction->setCheckable(true); + QSettings settings (Qmmp::configFile(), QSettings::IniFormat); + m_doubleSizeAction->setChecked(settings.value ("General/double_size", false).toBool()); + m_alwaysOnTopAction->setChecked(settings.value ("General/always_on_top",false).toBool()); + m_showOnAllDesktopsAction->setChecked(settings.value ("General/show_on_all_desktops", false).toBool()); + connect(this, SIGNAL(triggered(QAction*)), SLOT(updateSettings())); +} + +void ViewMenu::updateSettings() +{ + QSettings settings (Qmmp::configFile(), QSettings::IniFormat); + settings.setValue ("General/double_size", m_doubleSizeAction->isChecked()); + settings.setValue ("General/always_on_top", m_alwaysOnTopAction->isChecked()); + settings.setValue ("General/show_on_all_desktops", m_showOnAllDesktopsAction->isChecked()); + qobject_cast (parent())->updateSettings(); +} diff --git a/src/ui/viewmenu.h b/src/ui/viewmenu.h new file mode 100644 index 000000000..d5a90af2d --- /dev/null +++ b/src/ui/viewmenu.h @@ -0,0 +1,45 @@ +/*************************************************************************** + * Copyright (C) 2010 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef VIEWMENU_H +#define VIEWMENU_H + +#include +#include "mainwindow.h" + +/** + @author Ilya Kotov +*/ +class ViewMenu : public QMenu +{ +Q_OBJECT +public: + explicit ViewMenu(MainWindow *parent = 0); + +private slots: + void updateSettings(); + +private: + QAction *m_alwaysOnTopAction; + QAction *m_showOnAllDesktopsAction; + QAction *m_doubleSizeAction; +}; + +#endif // VIEWMENU_H diff --git a/src/ui/windowsystem.cpp b/src/ui/windowsystem.cpp index bbf1a457b..72746434d 100644 --- a/src/ui/windowsystem.cpp +++ b/src/ui/windowsystem.cpp @@ -102,7 +102,7 @@ QString WindowSystem::netWindowManagerName() void WindowSystem::changeWinSticky(WId win, bool stick) { - qDebug("WindowSystem: setting sticky state of window 0x%lx to %s.\n", + qDebug("WindowSystem: setting sticky state of window 0x%lx to %s.", static_cast(win), stick ? "true" : "false"); Display* dsp = QX11Info::display(); Window root = DefaultRootWindow(dsp); -- cgit v1.2.3-13-gbd6f