Projects
Multimedia
qmp3gain
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
qmp3gain.changes
Changed
@@ -1,4 +1,17 @@ ------------------------------------------------------------------- +Fri Jan 26 15:30:35 UTC 2024 - Carsten Ziepke <kieltux@gmail.com> + +- Update to version 0.9.4 + * Feature: Column widths of tableView are stored in config + * Feature: String columns of tableView got tooltips + * Fix: Adding file using drag&drop which failed with more dots + in the filename + * Fix: Crash due to missing values in case of backend abort + * Fix: Crash on showing context menu of tableView without any row +- Run spec-cleaner +- Use fdupes macro + +------------------------------------------------------------------- Sun Feb 11 19:33:09 UTC 2018 - aloisio@gmx.com - Initial package (0.9.0)
View file
qmp3gain.spec
Changed
@@ -1,7 +1,7 @@ # # spec file for package qmp3gain # -# Copyright (c) 2018 Packman Team <packman@links2linux.de> +# Copyright (c) 2024 Packman Team <packman@links2linux.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,20 +17,21 @@ Name: qmp3gain -Version: 0.9.3 +Version: 0.9.4 Release: 0 Summary: Qt frontend for mp3gain -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Multimedia/Sound/Editors and Convertors URL: https://qmp3gain.sourceforge.io -Source0: %name-%version.tar.xz +Source0: %{name}-%{version}.tar.xz +BuildRequires: fdupes BuildRequires: pkgconfig +BuildRequires: sqlite3 BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) -BuildRequires: sqlite3 Requires: mp3gain Supplements: mp3gain @@ -55,7 +56,7 @@ TimeStamp="${date}" LastRegisterTime="${date}.123" %qmake5_install -install -D -m0644 resources/linux/icons/hicolor/256x256/qmp3gain.png %buildroot%_datadir/pixmaps/%name.png +install -D -m0644 resources/linux/icons/hicolor/256x256/qmp3gain.png %{buildroot}%{_datadir}/pixmaps/%{name}.png %suse_update_desktop_file -r %{name} Qt AudioVideo AudioVideoEditing %find_lang %{name} --with-qt @@ -78,8 +79,9 @@ touch -d "@${ts}" * . fi +%fdupes %{buildroot}%{_datadir} + %files -%defattr(-,root,root) %license LICENSE.txt %{_bindir}/%{name} %dir %{_datadir}/%{name}
View file
_service
Changed
@@ -1,7 +1,7 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">qmp3gain</param> - <param name="revision">95b26089e80ca1e2aa0b43136e8f153f4f6d0538</param> + <param name="revision">8952ec2f8a7b837b29c05171bf501418bda9038d</param> <param name="scm">git</param> <param name="submodules">disable</param> <param name="url">https://git.code.sf.net/p/qmp3gain/code</param>
View file
qmp3gain-0.9.3.tar.xz/.gitignore -> qmp3gain-0.9.4.tar.xz/.gitignore
Changed
@@ -59,7 +59,9 @@ # QtCreator local machine specific files for imported projects *creator.user* +# Qt others *_qmlcache.qrc +.qmake.stash # Others .*.swp
View file
qmp3gain-0.9.3.tar.xz/CHANGES.md -> qmp3gain-0.9.4.tar.xz/CHANGES.md
Changed
@@ -1,5 +1,15 @@ ## Changes +### Version 0.9.4 + +* Feature: Column widths of tableView are stored in config +* Feature: String columns of tableView got tooltips +* Fix: Adding file using drag&drop which failed with more dots in the filename +* Fix: Crash due to missing values in case of backend abort +* Fix: Crash on showing context menu of tableView without any row +* Fix: Retrieval of current played media filename was buggy (Windows) +* Fix: Launched AppImage could not play MP3 file (Linux) + ### Version 0.9.3 * Fix: Help/Contents did not work from AppImage (Linux)
View file
qmp3gain-0.9.3.tar.xz/INSTALL.md -> qmp3gain-0.9.4.tar.xz/INSTALL.md
Changed
@@ -4,8 +4,8 @@ Download latest AppImage file of QMP3Gain. Make it executable and run. - chmod u+x qmp3gain-0.9.3-linux-x64.AppImage - ./qmp3gain-0.9.3-linux-x64.AppImage + chmod u+x qmp3gain-0.9.4-linux-x64.AppImage + ./qmp3gain-0.9.4-linux-x64.AppImage Linux installer does not contain required mp3gain backend, which must be installed separately. Unless you know how to install it, check the verbose Linux guide(#verbose-linux-guide). @@ -20,17 +20,17 @@ git clone git://qmp3gain.git.sourceforge.net/gitroot/qmp3gain/qmp3gain cd qmp3gain qmake - make + make -j Don't be surprised if the build runs into failure. Probably some dependencies are missing for the successful compilation. In this case check the proper verbose guide out! -### Verbose guide on Linux (Ubuntu 18.04) {#verbose-linux-guide} +### Verbose guide on Linux (Ubuntu 22.04) {#verbose-linux-guide} -1. Install QT SDK (at least v5.9 is required). +1. Install QT SDK (at least v5.15.2 is required). Check it out on https://www.qt.io and https://wiki.qt.io/Install_Qt_5_on_Ubuntu for more info. - sudo apt install qt5-default + sudo apt install qtbase5-dev Or if you want to actively work on the (fork of the) project install QT Creator IDE with its QT dependencies at once. @@ -76,31 +76,30 @@ sudo make uninstall -6. To generate all files for a later installation bundle. +6. Create AppImage installation bundle file which can be run individually in itself by end users. - make deploy - - At first the required dependency must be downloaded and made it executable. +6.1. At first the required dependencies must be downloaded and made them executable. - sudo wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" -O /usr/local/bin/linuxdeployqt - sudo chmod a+x /usr/local/bin/linuxdeployqt - - The generated files are stored in the `dist` directory. + sudo wget -q -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" -O /usr/local/bin/linuxdeploy + sudo chmod a+x /usr/local/bin/linuxdeploy + + sudo wget -q -c "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" -O /usr/local/bin/linuxdeploy-plugin-qt + sudo chmod a+x /usr/local/bin/linuxdeploy-plugin-qt + + sudo wget -q -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gstreamer/master/linuxdeploy-plugin-gstreamer.sh" -O /usr/local/bin/linuxdeploy-plugin-gstreamer.sh + sudo chmod a+x /usr/local/bin/linuxdeploy-plugin-gstreamer.sh + +6.2. Dependency linuxdeploy-plugin-gstreamer.sh needs the fllowing package - Important note: this target uses linuxdeployqt(https://github.com/probonopd/linuxdeployqt) which is a great tool to export all (Qt and other) dependencies of the application. Because linuxdeployqt (normally) cannot be run on systems newer than the oldest Ubuntu LTS release, the build must be done on that. If creation of installer is not among your goals, inside installer/installer.pri add `-unsupported-allow-new-glibc` option to `DEPLOY_OPTIONS`. For more info check https://github.com/probonopd/linuxdeployqt/issues/340 + apt-get install patchelf -7. To create AppImage installation bundle file which can be run individually in itself by end users. +6.3. Create AppImage installation bundle file. - make installer - - At first the required dependency must be downloaded and made it executable. - - sudo wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O /usr/local/bin/appimagetool - sudo chmod a+x /usr/local/bin/appimagetool + make deploy - The generated installer file is stored in the `bin` directory. Noted that this `installer` target invokes `deploy` one. + The generated AppDir files are stored in the `dist` directory. The generated AppImage file is stored in the `bin` directory. -8. Unified `README.md` markdown file can be created from different md files scattered in the project. +7. Unified `README.md` markdown file can be created from different md files scattered in the project. make docs @@ -116,13 +115,13 @@ ### Verbose guide on Windows (10) -1. Install QT SDK (at least v5.9 is required) +1. Install QT SDK (at least v5.15.2 is required) - It can be installed from https://www.qt.io/offline-installers + It can be installed from https://www.qt.io/download-open-source using online installer. After QT installation, usually I make a symbolic link from `mingw32-make.exe` file to `make.exe` to ease my work, eg. - cd c:\ProgramFiles\Qt\Qt5.12.11\Tools\mingw730_64\bin + cd c:\ProgramFiles\Qt\Qt5.15.2\Tools\mingw810_64\bin mklink make.exe mingw32-make.exe If you already have a make executable from another developer tool, forget the symbolic link and use original `mingw32-make` instead of "make" later.) @@ -136,7 +135,7 @@ Launch a "Qt command prompt" from the new menu item, and in the downloaded qmp3gain build folder use the following commands: qmake - make + make -j 4. Install mp3gain backend @@ -159,19 +158,13 @@ sudo make uninstall -7. To generate all files for a later installation bundle. +7. Generate files for installation bundle and create installer bundle file which can be run individually in itself by end users. make deploy - The generated files are stored in the `dist` directory. - -8. To create installer bundle file which can be run individually in itself by end users. - - make installer - - The generated installer exe file is stored in the `bin` directory. Noted that this `installer` target invokes `deploy` one. + The generated work files are stored in the `dist` directory but the installer exe file is stored in the `bin` directory. - Remember to copy `mp3gain.exe` into `bin` folder before runnung this target. It is supposed that the Windows installer contains the backend. + Remember to copy `mp3gain.exe` into `bin` folder before running this target. It is supposed that the Windows installer contains the backend. 9. Unified `README.md` markdown file can be created from different md files scattered in the project.
View file
qmp3gain-0.9.3.tar.xz/config.pri -> qmp3gain-0.9.4.tar.xz/config.pri
Changed
@@ -1,14 +1,11 @@ unix|win32: else:error(Only Unix and Windows platforms are supported. Create a new ticket if you want Mac support.) -#!versionAtLeast(QT_VERSION, 5.9.0):error("Use at least Qt version 5.9.0") # versionAtLeast function exists only from 5.10 -if(lessThan(QT_MAJOR_VERSION, 5) | equals(QT_MAJOR_VERSION, 5):lessThan(QT_MINOR_VERSION, 9)) { - error("Use at least Qt version 5.9") -} +!versionAtLeast(QT_VERSION, 5.15.2):error("Use at least Qt version 5.15.2") # application version APP_MAJOR_VER = 0 APP_MINOR_VER = 9 -APP_SUBMINOR_VER = 3 +APP_SUBMINOR_VER = 4 APP_VERSION = "$${APP_MAJOR_VER}.$${APP_MINOR_VER}.$${APP_SUBMINOR_VER}" ROOT = $$shell_path($$PWD) # absolute path containing this file
View file
qmp3gain-0.9.3.tar.xz/docker-compose.yml -> qmp3gain-0.9.4.tar.xz/docker-compose.yml
Changed
@@ -17,8 +17,10 @@ tty: true # docker run -t environment: DISPLAY: + PULSE_SERVER: unix:/run/user/${USER_ID:-0}/pulse/native volumes: - $HOME/.Xauthority:/root/.Xauthority + - /run/user/${USER_ID:-0}/pulse/native:/run/user/${USER_ID:-0}/pulse/native - .:/home/zematix/qmp3gain test: @@ -36,6 +38,8 @@ tty: true # docker run -t environment: DISPLAY: + PULSE_SERVER: unix:/run/user/${USER_ID:-0}/pulse/native volumes: - $HOME/.Xauthority:/root/.Xauthority + - /run/user/${USER_ID:-0}/pulse/native:/run/user/${USER_ID:-0}/pulse/native - .:/home/zematix/qmp3gain
View file
qmp3gain-0.9.3.tar.xz/docker/README.md -> qmp3gain-0.9.4.tar.xz/docker/README.md
Changed
@@ -12,6 +12,8 @@ * build * test +Both images based on the oldest still-supported Ubuntu LTS version. If the application is built on that, the resulting binaries should be able to run on newer (but not older) systems (Ubuntu and other distributions). If compatibilty with as many target systems as possible is not an issue for you, for example building the application in your up-to-date local system on your own, it can be also feasible without the docker containers. + ### Usage Start a terminal and change your current/working directory to the qmp3gain root folder. All commands bellow must be launched from there. @@ -46,5 +48,5 @@ docker-compose build -and start the containers in detached mode again. +and start the containers in detached mode again if you want.
View file
qmp3gain-0.9.3.tar.xz/docker/build/Dockerfile -> qmp3gain-0.9.4.tar.xz/docker/build/Dockerfile
Changed
@@ -1,22 +1,40 @@ +## Build image creator of qmap3gain app FROM ubuntu:18.04 +ENV DEBIAN_FRONTEND=noninteractive +ENV PATH="$PATH:/usr/local/Qt-5.15.3/bin" +ENV LD_LIBRARY_PATH="/usr/local/Qt-5.15.3/lib:${LD_LIBRARY_PATH}" ## values should be overwitten in local .env file ARG USER_ID=1001 ARG GROUP_ID=100 -## install fuse (for linuxdeployqt), mp3gain, qt5 and wget +## install fuse (for creating qmp3gain AppImage), mp3gain, gstreamer and qt5 RUN set -x; \ apt-get update &&\ apt-get install -y software-properties-common &&\ add-apt-repository -y ppa:sicklylife/qtgain &&\ apt-get update &&\ - apt-get install -y fuse mp3gain qt5-default qtmultimedia5-dev qttools5-dev wget sudo &&\ - wget -q -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" -O /usr/local/bin/linuxdeployqt &&\ - chmod a+x /usr/local/bin/linuxdeployqt &&\ - wget -q -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" -O /usr/local/bin/appimagetool &&\ - chmod a+x /usr/local/bin/appimagetool &&\ + apt-get install -y sudo fuse mp3gain wget &&\ + apt-get install -y build-essential libgl1-mesa-dev libfontconfig1-dev libfreetype6-dev libx11-dev libx11-xcb-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libxcb-cursor-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-dev libxcb-util-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev &&\ + apt-get install -y libasound2-dev libcups2-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-good1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-bad &&\ + wget -q -c "https://download.qt.io/archive/qt/5.15/5.15.3/single/qt-everywhere-opensource-src-5.15.3.tar.xz" -O /tmp/qt-everywhere-opensource-src-5.15.3.tar.xz &&\ + cd /tmp &&\ + tar -xf qt-everywhere-opensource-src-5.15.3.tar.xz &&\ + rm -f qt-everywhere-opensource-src-5.15.3.tar.xz &&\ + cd qt-everywhere-src-5.15.3 &&\ + ./configure -opensource -confirm-license -release -no-opengl -nomake examples -nomake tests &&\ + make -j $(nproc) &&\ + make install &&\ + rm -rf /tmp/qt-everywhere-src-5.15.3 &&\ + wget -q -c "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" -O /usr/local/bin/linuxdeploy &&\ + chmod a+x /usr/local/bin/linuxdeploy &&\ + wget -q -c "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" -O /usr/local/bin/linuxdeploy-plugin-qt &&\ + chmod a+x /usr/local/bin/linuxdeploy-plugin-qt &&\ + wget -q -c "https://raw.githubusercontent.com/linuxdeploy/linuxdeploy-plugin-gstreamer/master/linuxdeploy-plugin-gstreamer.sh" -O /usr/local/bin/linuxdeploy-plugin-gstreamer.sh &&\ + chmod a+x /usr/local/bin/linuxdeploy-plugin-gstreamer.sh &&\ + apt-get install -y patchelf &&\ rm -rf /var/lib/apt/lists/* - + ## create working user and its group RUN set -x; \ if ${USER_ID:-0} -ne 0 && ${GROUP_ID:-0} -ne 0 ; then \ @@ -27,7 +45,7 @@ fi &&\ groupadd -f -g ${GROUP_ID} zematix &&\ useradd -l -u ${USER_ID} -g zematix zematix &&\ - echo "zematix:zematix" | chpasswd && adduser zematix sudo &&\ + echo "zematix:zematix" | chpasswd && adduser zematix sudo && adduser zematix audio &&\ install -d -m 0755 -o zematix -g zematix /home/zematix \ ;fi
View file
qmp3gain-0.9.3.tar.xz/docker/test/Dockerfile -> qmp3gain-0.9.4.tar.xz/docker/test/Dockerfile
Changed
@@ -1,16 +1,19 @@ +## Test image creator of qmp3gain app FROM ubuntu:18.04 +ENV DEBIAN_FRONTEND=noninteractive ## values should be overwitten in local .env file ARG USER_ID=1001 ARG GROUP_ID=100 -## install fuse (for running qmp3gain AppImage) and mp3gain +## install fuse (for running AppImage), mp3gain and some essential application dependencies RUN set -x; \ apt-get update &&\ apt-get install -y software-properties-common &&\ add-apt-repository -y ppa:sicklylife/qtgain &&\ apt-get update &&\ - apt-get install -y fuse libgl1 libharfbuzz0b libfontconfig1 libsm6 mp3gain sudo &&\ + apt-get install -y sudo fuse mp3gain &&\ + apt-get install -y libgl1 libharfbuzz0b libfontconfig1 libsm6 pulseaudio &&\ rm -rf /var/lib/apt/lists/* ## create working user and its group @@ -23,7 +26,7 @@ fi &&\ groupadd -f -g ${GROUP_ID} zematix &&\ useradd -l -u ${USER_ID} -g zematix zematix &&\ - echo "zematix:zematix" | chpasswd && adduser zematix sudo &&\ + echo "zematix:zematix" | chpasswd && adduser zematix sudo && adduser zematix audio &&\ install -d -m 0755 -o zematix -g zematix /home/zematix \ ;fi @@ -31,7 +34,7 @@ RUN set -x; \ mkdir -p /home/zematix/qmp3gain && \ chown -hR zematix:zematix /home/zematix/qmp3gain - + USER zematix WORKDIR /home/zematix/qmp3gain
View file
qmp3gain-0.9.3.tar.xz/help/html/MP3Gain.htm -> qmp3gain-0.9.4.tar.xz/help/html/MP3Gain.htm
Changed
@@ -14,11 +14,11 @@ <center> <h2 style="text-align: center">QMP3Gain</h2> -<h4>version 0.9.1</h4> +<h4>version 0.9.4</h4> <h4><img src="MP3Gain.gif"></h4> -<h4>Copyright © 2009-2021 by Zsolt Branyiczky</h4> +<h4>Copyright © 2009-2023 by Zsolt Branyiczky</h4> </body>
View file
qmp3gain-0.9.3.tar.xz/help/qmp3gain.qhp -> qmp3gain-0.9.4.tar.xz/help/qmp3gain.qhp
Changed
@@ -1,14 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <QtHelpProject version="1.0"> - <namespace>zematix.hu.qmp3gain.0.9.0</namespace> + <namespace>zematix.hu.qmp3gain.0.9.4</namespace> <virtualFolder>help</virtualFolder> - <customFilter name="QMP3Gain 0.9.0"> + <customFilter name="QMP3Gain 0.9.4"> <filterAttribute>qmp3gain</filterAttribute> - <filterAttribute>0.9.3</filterAttribute> + <filterAttribute>0.9.4</filterAttribute> </customFilter> <filterSection> <filterAttribute>qmp3gain</filterAttribute> - <filterAttribute>0.9.3</filterAttribute> + <filterAttribute>0.9.4</filterAttribute> <toc> <section title="QMP3Gain Help" ref="html/MP3Gain.htm"> <section title="Overview" ref="html/Overview.htm"/>
View file
qmp3gain-0.9.3.tar.xz/installer/config/config.xml -> qmp3gain-0.9.4.tar.xz/installer/config/config.xml
Changed
@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <Installer> <Name>QMP3Gain</Name> - <Version>0.9.1</Version> + <Version>0.9.4</Version> <Title>QMP3Gain</Title> <Publisher>Zematix</Publisher> <ProductUrl>https://sourceforge.net/projects/qmp3gain/</ProductUrl>
View file
qmp3gain-0.9.3.tar.xz/installer/installer.pri -> qmp3gain-0.9.4.tar.xz/installer/installer.pri
Changed
@@ -8,10 +8,6 @@ DEBDIR = $$shell_path($$ROOT/deb) INSTALLERDIR = $$shell_path($$PWD) -unix { - DEPLOY_OPTIONS = "-no-translations -no-copy-copyright-files -bundle-non-qt-libs" - #DEPLOY_OPTIONS = "-no-translations -no-copy-copyright-files -bundle-non-qt-libs -unsupported-allow-new-glibc" # discoured use to run on latest systems - just for test purpose -} win32 { DEPLOY_OPTIONS = "--no-svg --no-system-d3d-compiler --no-opengl --no-angle --no-opengl-sw --no-translations" } @@ -23,7 +19,6 @@ mkdir -p $${DEPLOYDIR}/usr/bin &&\ cp $$ROOT/bin/qmp3gain $${DEPLOYDIR}/usr/bin &&\ mkdir -p $${DEPLOYDIR}/usr/share &&\ - cp -r $$ROOT/resources/linux/* $${DEPLOYDIR}/usr/share &&\ mkdir -p $${DEPLOYDIR}/usr/share/$${TARGET}/resources/sounds &&\ cp -r $$ROOT/resources/sounds/* $${DEPLOYDIR}/usr/share/$${TARGET}/resources/sounds &&\ mkdir -p $${DEPLOYDIR}/usr/share/$${TARGET}/help &&\ @@ -32,39 +27,31 @@ cp $$QT_INSTALL_BINS/assistant $${DEPLOYDIR}/usr/bin &&\ mkdir -p $${DEPLOYDIR}/usr/share/$${TARGET}/translations &&\ cp $$ROOT/translations/qmp3gain_*.qm $${DEPLOYDIR}/usr/share/$${TARGET}/translations &&\ - linuxdeployqt $${DEPLOYDIR}/usr/share/applications/$${TARGET}.desktop $${DEPLOY_OPTIONS} -executable=$${DEPLOYDIR}/usr/bin/assistant -extra-plugins=printsupport,sqldrivers + linuxdeploy --appdir $${DEPLOYDIR} -i $$ROOT/resources/linux/icons/hicolor/256x256/$${TARGET}.png --icon-filename=qmp3gain -d $$ROOT/resources/linux/applications/$${TARGET}.desktop --plugin qt --plugin gstreamer --output appimage &&\ + mv $$ROOT/QMP3Gain-x86_64.AppImage $$ROOT/bin/$${TARGET}-$${APP_VERSION}-linux-x64.AppImage } win32 { - deploy.commands = windeployqt $${DEPLOY_OPTIONS} --qthelp --printsupport --sql --dir $${DEPLOYDIR} $${DESTDIR}//$${TARGET}.exe & \ - copy $${DESTDIR}\\$${TARGET}.exe $${DEPLOYDIR} & \ - if not exist $${DESTDIR}\\mp3gain.exe ( echo "Backend mp3gain.exe must copied into $$DESTDIR" ) $$escape_expand(\n\t) \ - copy $${DESTDIR}\\mp3gain.exe $${DEPLOYDIR} && \ - xcopy /s /y $$ROOT\resources\sounds $${DEPLOYDIR}\\resources\sounds\ & \ - if not exist $${DEPLOYDIR}\\help ( mkdir $${DEPLOYDIR}\\help ) $$escape_expand(\n\t) \ - copy $$ROOT\help\qmp3gain.qhc $${DEPLOYDIR}\\help & \ - copy $$ROOT\help\qmp3gain.qch $${DEPLOYDIR}\\help & \ - copy $$shell_path($$QT_INSTALL_BINS\assistant.exe) $${DEPLOYDIR} & \ - if not exist $${DEPLOYDIR}\\translations ( mkdir $${DEPLOYDIR}\\translations ) $$escape_expand(\n\t) \ - copy $$ROOT\translations\qmp3gain_*.qm $${DEPLOYDIR}\\translations + deploy.commands = @if not exist $${DESTDIR}\\mp3gain.exe ( echo "Backend mp3gain.exe must copied into $$DESTDIR" ) $$escape_expand(\n\t) \ + @if not exist $${DESTDIR}\\mp3gain.exe ( exit 1 ) $$escape_expand(\n\t) \ + if exist $${DEPLOYDIR} ( rmdir /s /q $${DEPLOYDIR} ) $$escape_expand(\n\t) \ + mkdir $${DEPLOYDIR}\main\data & \ + copy $${DESTDIR}\\mp3gain.exe $${DEPLOYDIR}\main\data && \ + windeployqt $${DEPLOY_OPTIONS} --qthelp --printsupport --sql --dir $${DEPLOYDIR}\main\data $${DESTDIR}//$${TARGET}.exe & \ + copy $${DESTDIR}\\$${TARGET}.exe $${DEPLOYDIR}\main\data & \ + xcopy /s /y $$ROOT\resources\sounds $${DEPLOYDIR}\\main\\data\\resources\sounds\ & \ + if not exist $${DEPLOYDIR}\\main\\data\\help ( mkdir $${DEPLOYDIR}\\main\\data\\help ) $$escape_expand(\n\t) \ + copy $$ROOT\help\qmp3gain.qhc $${DEPLOYDIR}\\main\\data\\help & \ + copy $$ROOT\help\qmp3gain.qch $${DEPLOYDIR}\\main\\data\\help & \ + copy $$shell_path($$QT_INSTALL_BINS\assistant.exe) $${DEPLOYDIR}\\main\\data & \ + if not exist $${DEPLOYDIR}\\main\\data\\\translations ( mkdir $${DEPLOYDIR}\\main\\data\\translations ) $$escape_expand(\n\t) \ + copy $$ROOT\translations\qmp3gain_*.qm $${DEPLOYDIR}\\main\\data\\translations & \ + xcopy /s /y $$INSTALLERDIR\packages\main\meta $${DEPLOYDIR}\main\meta\ & \ + lrelease $${DEPLOYDIR}\main\meta\hu.ts & \ + binarycreator --offline-only -c $${INSTALLERDIR}\config\config.xml -p $${DEPLOYDIR} $${DESTDIR}\qmp3gain-$${APP_VERSION}-win-x64-installer.exe } QMAKE_EXTRA_TARGETS += deploy unix { - installer.commands = appimagetool $${DEPLOYDIR} bin/$${TARGET}-$${APP_VERSION}-linux-x64.AppImage -} -win32 { - installer.commands = \ - move $${DEPLOYDIR} $${INSTALLERDIR}\packages\main\ & \ - if exist $${INSTALLERDIR}\packages\main\data ( rmdir /s /q $${INSTALLERDIR}\packages\main\data ) $$escape_expand(\n\t) \ - rename $${INSTALLERDIR}\packages\main\dist data & \ - lrelease $${INSTALLERDIR}\packages\main\meta\hu.ts & \ - binarycreator --offline-only -c $${INSTALLERDIR}\config\config.xml -p $${INSTALLERDIR}\packages $${DESTDIR}\qmp3gain-$${APP_VERSION}-win-x64-installer.exe & \ - if exist $${INSTALLERDIR}\packages\main\data ( rmdir /s /q $${INSTALLERDIR}\packages\main\data ) -} -installer.depends = deploy -QMAKE_EXTRA_TARGETS += installer - -unix { deb.commands = \ mkdir -p $${DEBDIR}/usr/bin &&\ cp $$ROOT/bin/qmp3gain $${DEBDIR}/usr/bin &&\ @@ -82,7 +69,7 @@ cd $$INSTALLERDIR && mv DEBIAN debian && dpkg-shlibdeps $$ROOT/bin/qmp3gain && mv debian DEBIAN && cd $$ROOT &&\ dpkg-deb --build --root-owner-group $$DEBDIR &&\ rm -f $$INSTALLERDIR/DEBIAN/substvars &&\ - mv deb.deb bin/$${TARGET}-$${APP_VERSION}-linux-x64.deb + mv deb.deb $$ROOT/bin/$${TARGET}-$${APP_VERSION}-linux-x64.deb } QMAKE_EXTRA_TARGETS += deb @@ -92,7 +79,6 @@ win32 { extradistclean.commands = \ if exist $${DEPLOYDIR} ( rmdir /s /q $${DEPLOYDIR} ) $$escape_expand(\n\t) \ - if exist $${INSTALLERDIR}\packages\main\data ( rmdir /s /q $${INSTALLERDIR}\packages\main\data ) } distclean.depends = extradistclean QMAKE_EXTRA_TARGETS += distclean extradistclean
View file
qmp3gain-0.9.3.tar.xz/installer/packages/main/meta/package.xml -> qmp3gain-0.9.4.tar.xz/installer/packages/main/meta/package.xml
Changed
@@ -4,9 +4,10 @@ <DisplayName xml:lang="hu_HU">Főkomponens</DisplayName> <Description>Install QMP3Gain application. It contains a single component.</Description> <Description xml:lang="hu">QMP3Gain alkalmazás telepítése. Mindössze egyetlen komponenst tartalmaz.</Description> - <Version>0.9.1</Version> + <Description xml:lang="it">Installa l'applicazione QMP3Gain. Contiene un solo componente.</Description> + <Version>0.9.4</Version> <Name>main</Name> - <ReleaseDate>2021-09-10</ReleaseDate> + <ReleaseDate>2023-12-27</ReleaseDate> <ForcedInstallation>true</ForcedInstallation> <Licenses> <License name="GNU General Public License" file="LICENSE.txt" />
View file
qmp3gain-0.9.3.tar.xz/src/aboutdialog.cpp -> qmp3gain-0.9.4.tar.xz/src/aboutdialog.cpp
Changed
@@ -7,35 +7,35 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); - - MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); - - // english makes translationLabel invisible - translationLabel->setVisible(false); - //translationVerticalSpacer->setVisible(false); - - // set appTitle, e.g. "%1 (GUI)" -> "QMP3Gain (GUI)" - appTitleLabel->setText(appTitleLabel->text().arg(MainWindow::getAppTitle())); - - // add appVersion to label, e.g. "Version %1" -> "Version 1.3.4" - appVersionLabel->setText(appVersionLabel->text().arg(MainWindow::getAppVersion())); - - // add backEnd to label - QFileInfo fi(mainWindow->getBackEnd()); - backEndLabel->setText(backEndLabel->text().arg(fi.baseName())); - - // add backEndVersion to label - backEndVersionLabel->setText(backEndVersionLabel->text().arg(mainWindow->getBackEndVersion())); - - latestAppVersionAtLabel->setText(latestAppVersionAtLabel->text().arg(MainWindow::getAppTitle())); + setupUi(this); + + MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + + // english makes translationLabel invisible + translationLabel->setVisible(false); + //translationVerticalSpacer->setVisible(false); + + // set appTitle, e.g. "%1 (GUI)" -> "QMP3Gain (GUI)" + appTitleLabel->setText(appTitleLabel->text().arg(MainWindow::getAppTitle())); + + // add appVersion to label, e.g. "Version %1" -> "Version 1.3.4" + appVersionLabel->setText(appVersionLabel->text().arg(MainWindow::getAppVersion())); + + // add backEnd to label + QFileInfo fi(mainWindow->getBackEnd()); + backEndLabel->setText(backEndLabel->text().arg(fi.baseName())); + + // add backEndVersion to label + backEndVersionLabel->setText(backEndVersionLabel->text().arg(mainWindow->getBackEndVersion())); + + latestAppVersionAtLabel->setText(latestAppVersionAtLabel->text().arg(MainWindow::getAppTitle())); } void AboutDialog::on_donationButton_clicked() { - // modal dialog - DonationDialog donationDialog(this); - if (donationDialog.exec()) { - this->accept(); - } + // modal dialog + DonationDialog donationDialog(this); + if (donationDialog.exec()) { + this->accept(); + } }
View file
qmp3gain-0.9.3.tar.xz/src/aboutdialog.h -> qmp3gain-0.9.4.tar.xz/src/aboutdialog.h
Changed
@@ -13,7 +13,7 @@ AboutDialog(QWidget *parent = 0); private slots: - void on_donationButton_clicked(); + void on_donationButton_clicked(); }; #endif
View file
qmp3gain-0.9.3.tar.xz/src/advancedoptionsdialog.cpp -> qmp3gain-0.9.4.tar.xz/src/advancedoptionsdialog.cpp
Changed
@@ -4,78 +4,78 @@ AdvancedOptionsDialog::AdvancedOptionsDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); - - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + setupUi(this); - // fill fields vector with checkable control elements - { - fields << checkBox_Maximizing; - fields << horizontalSlider_logBackendDepth; - fields << horizontalSlider_logTraceDepth; - fields << checkBox_ShowHiddenFields; - fields << spinBox_beepAfter; - fields << checkBox_UseNoTempFiles; - fields << checkBox_ShowNoFileProgress; - fields << radioButton_threadRealtime; - fields << radioButton_threadHigh; - fields << radioButton_threadNormal; - fields << radioButton_threadIdle; - } - - MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); - readSettings(mainWindow->getSettings()); - - isAccepted = false; - horizontalSlider_logBackendDepth_origValue = horizontalSlider_logBackendDepth->value(); - horizontalSlider_logTraceDepth_origValue = horizontalSlider_logTraceDepth->value(); - spinBox_beepAfter_origValue = spinBox_beepAfter->value(); - } + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + + // fill fields vector with checkable control elements + { + fields << checkBox_Maximizing; + fields << horizontalSlider_logBackendDepth; + fields << horizontalSlider_logTraceDepth; + fields << checkBox_ShowHiddenFields; + fields << spinBox_beepAfter; + fields << checkBox_UseNoTempFiles; + fields << checkBox_ShowNoFileProgress; + fields << radioButton_threadRealtime; + fields << radioButton_threadHigh; + fields << radioButton_threadNormal; + fields << radioButton_threadIdle; + } + + MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); + readSettings(mainWindow->getSettings()); + + isAccepted = false; + horizontalSlider_logBackendDepth_origValue = horizontalSlider_logBackendDepth->value(); + horizontalSlider_logTraceDepth_origValue = horizontalSlider_logTraceDepth->value(); + spinBox_beepAfter_origValue = spinBox_beepAfter->value(); +} AdvancedOptionsDialog::~AdvancedOptionsDialog(){ - if (isAccepted){ - MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); - writeSettings(mainWindow->getSettings()); - if (horizontalSlider_logBackendDepth->value() != horizontalSlider_logBackendDepth_origValue){ - mainWindow->actionLogBackend->setChecked(horizontalSlider_logBackendDepth->value() > 0); - } - if (horizontalSlider_logTraceDepth->value() != horizontalSlider_logTraceDepth_origValue){ - mainWindow->actionLogTrace->setChecked(horizontalSlider_logTraceDepth->value() > 0); - } - } + if (isAccepted){ + MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); + writeSettings(mainWindow->getSettings()); + if (horizontalSlider_logBackendDepth->value() != horizontalSlider_logBackendDepth_origValue){ + mainWindow->actionLogBackend->setChecked(horizontalSlider_logBackendDepth->value() > 0); + } + if (horizontalSlider_logTraceDepth->value() != horizontalSlider_logTraceDepth_origValue){ + mainWindow->actionLogTrace->setChecked(horizontalSlider_logTraceDepth->value() > 0); + } + } } void AdvancedOptionsDialog::readSettings(QSettings *settings){ - settings->beginGroup("advancedOptionsDialog"); - for (int i=0; i<fields.count(); i++){ - if (fieldsi->objectName().startsWith("horizontalSlider")) - (qobject_cast<QSlider*>(fieldsi))->setValue(settings->value(fieldsi->objectName(), (qobject_cast<QSlider*>(fieldsi))->value()).toInt()); - if (fieldsi->objectName().startsWith("spinBox")) - (qobject_cast<QSpinBox*>(fieldsi))->setValue(settings->value(fieldsi->objectName(), (qobject_cast<QSpinBox*>(fieldsi))->value()).toInt()); - else if (fieldsi->objectName().startsWith("checkBox")) - (qobject_cast<QCheckBox*>(fieldsi))->setChecked(settings->value(fieldsi->objectName(), (qobject_cast<QCheckBox*>(fieldsi))->isChecked()).toBool()); - else if (fieldsi->objectName().startsWith("radioButton")) - (qobject_cast<QRadioButton*>(fieldsi))->setChecked(settings->value(fieldsi->objectName(), (qobject_cast<QRadioButton*>(fieldsi))->isChecked()).toBool()); - } - settings->endGroup(); + settings->beginGroup("advancedOptionsDialog"); + for (int i=0; i<fields.count(); i++){ + if (fieldsi->objectName().startsWith("horizontalSlider")) + (qobject_cast<QSlider*>(fieldsi))->setValue(settings->value(fieldsi->objectName(), (qobject_cast<QSlider*>(fieldsi))->value()).toInt()); + if (fieldsi->objectName().startsWith("spinBox")) + (qobject_cast<QSpinBox*>(fieldsi))->setValue(settings->value(fieldsi->objectName(), (qobject_cast<QSpinBox*>(fieldsi))->value()).toInt()); + else if (fieldsi->objectName().startsWith("checkBox")) + (qobject_cast<QCheckBox*>(fieldsi))->setChecked(settings->value(fieldsi->objectName(), (qobject_cast<QCheckBox*>(fieldsi))->isChecked()).toBool()); + else if (fieldsi->objectName().startsWith("radioButton")) + (qobject_cast<QRadioButton*>(fieldsi))->setChecked(settings->value(fieldsi->objectName(), (qobject_cast<QRadioButton*>(fieldsi))->isChecked()).toBool()); + } + settings->endGroup(); } void AdvancedOptionsDialog::writeSettings(QSettings *settings){ - settings->beginGroup("advancedOptionsDialog"); - for (int i=0; i<fields.count(); i++){ - if (fieldsi->objectName().startsWith("horizontalSlider")) - settings->setValue(fieldsi->objectName(), (qobject_cast<QSlider*>(fieldsi))->value()); - if (fieldsi->objectName().startsWith("spinBox")) - settings->setValue(fieldsi->objectName(), (qobject_cast<QSpinBox*>(fieldsi))->value()); - else if (fieldsi->objectName().startsWith("checkBox")) - settings->setValue(fieldsi->objectName(), (qobject_cast<QCheckBox*>(fieldsi))->isChecked()); - else if (fieldsi->objectName().startsWith("radioButton")) - settings->setValue(fieldsi->objectName(), (qobject_cast<QRadioButton*>(fieldsi))->isChecked()); - } - settings->endGroup(); + settings->beginGroup("advancedOptionsDialog"); + for (int i=0; i<fields.count(); i++){ + if (fieldsi->objectName().startsWith("horizontalSlider")) + settings->setValue(fieldsi->objectName(), (qobject_cast<QSlider*>(fieldsi))->value()); + if (fieldsi->objectName().startsWith("spinBox")) + settings->setValue(fieldsi->objectName(), (qobject_cast<QSpinBox*>(fieldsi))->value()); + else if (fieldsi->objectName().startsWith("checkBox")) + settings->setValue(fieldsi->objectName(), (qobject_cast<QCheckBox*>(fieldsi))->isChecked()); + else if (fieldsi->objectName().startsWith("radioButton")) + settings->setValue(fieldsi->objectName(), (qobject_cast<QRadioButton*>(fieldsi))->isChecked()); + } + settings->endGroup(); } void AdvancedOptionsDialog::accept(){ - isAccepted = true; - return QDialog::accept(); + isAccepted = true; + return QDialog::accept(); }
View file
qmp3gain-0.9.3.tar.xz/src/advancedoptionsdialog.h -> qmp3gain-0.9.4.tar.xz/src/advancedoptionsdialog.h
Changed
@@ -11,20 +11,20 @@ Q_OBJECT public: - AdvancedOptionsDialog(QWidget *parent = 0); - ~AdvancedOptionsDialog(); + AdvancedOptionsDialog(QWidget *parent = 0); + ~AdvancedOptionsDialog(); private: - bool isAccepted; - int horizontalSlider_logBackendDepth_origValue; - int horizontalSlider_logTraceDepth_origValue; - int spinBox_beepAfter_origValue; - QVector<QObject*> fields; - void readSettings(QSettings *settings); - void writeSettings(QSettings *settings); + bool isAccepted; + int horizontalSlider_logBackendDepth_origValue; + int horizontalSlider_logTraceDepth_origValue; + int spinBox_beepAfter_origValue; + QVector<QObject*> fields; + void readSettings(QSettings *settings); + void writeSettings(QSettings *settings); private slots: - void accept(); + void accept(); }; #endif
View file
qmp3gain-0.9.3.tar.xz/src/backenddialog.cpp -> qmp3gain-0.9.4.tar.xz/src/backenddialog.cpp
Changed
@@ -5,65 +5,65 @@ BackEndDialog::BackEndDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); + setupUi(this); - mainWindow = qobject_cast<MainWindow*>(this->parent()); - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + mainWindow = qobject_cast<MainWindow*>(this->parent()); + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); - label_Status_Orig = label_Status->text(); - label_Version_Orig = label_Version->text(); + label_Status_Orig = label_Status->text(); + label_Version_Orig = label_Version->text(); - lineEdit_fileName->setText(mainWindow->getBackEndFileName()); - refreshStatusAndVersion(true); - - isAccepted = false; + lineEdit_fileName->setText(mainWindow->getBackEndFileName()); + refreshStatusAndVersion(true); + + isAccepted = false; } BackEndDialog::~BackEndDialog(){ - if (isAccepted){ - mainWindow->setBackEndFileName(lineEdit_fileName->text()); + if (isAccepted){ + mainWindow->setBackEndFileName(lineEdit_fileName->text()); QString version = label_Version->text().remove(QRegExp("^.*: ")); // "Version: 1.6.2" -> "1.6.2" mainWindow->setBackEndVersion(version); - } + } } void BackEndDialog::refreshStatusAndVersion(bool isInit){ - bool isStatusOk = false; - QString status = "<b><font color=red>"+tr("invalid")+"</font></b>"; - QString version = ""; - QString backEndVersion = isInit ? mainWindow->getBackEndVersion() : mainWindow->findBackEndVersionByProcess(lineEdit_fileName->text()); - if (backEndVersion.isEmpty()){ - status = "<b><font color=red>"+tr("invalid (not found)")+"</font></b>"; - } - else if(!mainWindow->isBackEndAvailable(backEndVersion)) - { - status = "<b><font color=red>"+tr("invalid (%1 or later required)").arg(mainWindow->getRequiredBackEndVersion())+"</font></b>"; - version = backEndVersion; - } - else{ - status = "<b><font color=green>"+tr("ok")+"</font></b>"; - isStatusOk = true; - version = backEndVersion; - } - label_Status->setText(label_Status_Orig.arg(status)); - label_Version->setText(label_Version_Orig.arg(version)); - buttonBox->button(QDialogButtonBox::Ok)->setEnabled(isStatusOk); + bool isStatusOk = false; + QString status = "<b><font color=red>"+tr("invalid")+"</font></b>"; + QString version = ""; + QString backEndVersion = isInit ? mainWindow->getBackEndVersion() : mainWindow->findBackEndVersionByProcess(lineEdit_fileName->text()); + if (backEndVersion.isEmpty()){ + status = "<b><font color=red>"+tr("invalid (not found)")+"</font></b>"; + } + else if(!mainWindow->isBackEndAvailable(backEndVersion)) + { + status = "<b><font color=red>"+tr("invalid (%1 or later required)").arg(mainWindow->getRequiredBackEndVersion())+"</font></b>"; + version = backEndVersion; + } + else{ + status = "<b><font color=green>"+tr("ok")+"</font></b>"; + isStatusOk = true; + version = backEndVersion; + } + label_Status->setText(label_Status_Orig.arg(status)); + label_Version->setText(label_Version_Orig.arg(version)); + buttonBox->button(QDialogButtonBox::Ok)->setEnabled(isStatusOk); } void BackEndDialog::accept(){ - isAccepted = true; - return QDialog::accept(); + isAccepted = true; + return QDialog::accept(); } void BackEndDialog::on_toolButton_fileName_clicked(){ - QString fileName = QFileDialog::getOpenFileName(this, tr("Select back end mp3gain executable file"), - lineEdit_fileName->text(), QString()); - if (!fileName.isEmpty()){ - lineEdit_fileName->setText(fileName); - refreshStatusAndVersion(false); - } + QString fileName = QFileDialog::getOpenFileName(this, tr("Select back end mp3gain executable file"), + lineEdit_fileName->text(), QString()); + if (!fileName.isEmpty()){ + lineEdit_fileName->setText(fileName); + refreshStatusAndVersion(false); + } } void BackEndDialog::on_lineEdit_fileName_editingFinished(){ - refreshStatusAndVersion(false); + refreshStatusAndVersion(false); }
View file
qmp3gain-0.9.3.tar.xz/src/backenddialog.h -> qmp3gain-0.9.4.tar.xz/src/backenddialog.h
Changed
@@ -11,20 +11,20 @@ Q_OBJECT public: - BackEndDialog(QWidget *parent = 0); - ~BackEndDialog(); + BackEndDialog(QWidget *parent = 0); + ~BackEndDialog(); private: - bool isAccepted; - void refreshStatusAndVersion(bool isInit); - MainWindow* mainWindow; - QString label_Status_Orig; - QString label_Version_Orig; + bool isAccepted; + void refreshStatusAndVersion(bool isInit); + MainWindow* mainWindow; + QString label_Status_Orig; + QString label_Version_Orig; private slots: - void accept(); - void on_toolButton_fileName_clicked(); - void on_lineEdit_fileName_editingFinished(); + void accept(); + void on_toolButton_fileName_clicked(); + void on_lineEdit_fileName_editingFinished(); }; #endif
View file
qmp3gain-0.9.3.tar.xz/src/constantgainchangedialog.cpp -> qmp3gain-0.9.4.tar.xz/src/constantgainchangedialog.cpp
Changed
@@ -3,41 +3,41 @@ #include "mymessagebox.h" ConstantGainChangeDialog::ConstantGainChangeDialog(QWidget *parent) - : QDialog(parent) + : QDialog(parent) { - setupUi(this); + setupUi(this); - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); - connect(horizontalSlider_constGainChange, SIGNAL(valueChanged(int)), this, SLOT(updateLineEdit_constGainChange(int))); - connect(groupBox_onlyOneChannel, SIGNAL(toggled(bool)), this, SLOT(groupBox_onlyOneChannel_toggled(bool))); + connect(horizontalSlider_constGainChange, SIGNAL(valueChanged(int)), this, SLOT(updateLineEdit_constGainChange(int))); + connect(groupBox_onlyOneChannel, SIGNAL(toggled(bool)), this, SLOT(groupBox_onlyOneChannel_toggled(bool))); - updateLineEdit_constGainChange(horizontalSlider_constGainChange->value()); + updateLineEdit_constGainChange(horizontalSlider_constGainChange->value()); } ConstantGainChangeDialog::~ConstantGainChangeDialog(){ } void ConstantGainChangeDialog::updateLineEdit_constGainChange(int value){ - lineEdit_constGainChange->setText(QString("%1").arg((double)value*1.5, 0, 'f', 1)); - buttonBox->button(QDialogButtonBox::Ok)->setEnabled(value!=0); + lineEdit_constGainChange->setText(QString("%1").arg((double)value*1.5, 0, 'f', 1)); + buttonBox->button(QDialogButtonBox::Ok)->setEnabled(value!=0); } void ConstantGainChangeDialog::groupBox_onlyOneChannel_toggled(bool isOn){ - if (isOn){ - MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); - mainWindow->getSettings()->beginGroup("logOptionsDialog"); - bool isConfirmSuppressed = mainWindow->getSettings()->value("groupBox_onlyOneChannel_ConfirmSuppressed", false).toBool(); - if (!isConfirmSuppressed){ - MyMessageBox::warning(this, MainWindow::getAppTitle()+QString(" - ")+tr("Warning"), - tr("This function will only work if the mp3 is encoded as " - "stereo or dual channel, NOT joint-stereo or mono."), - tr("Don't show this warning again"), - isConfirmSuppressed); - if (isConfirmSuppressed){ - mainWindow->getSettings()->setValue("groupBox_onlyOneChannel_ConfirmSuppressed", true); - } - } - mainWindow->getSettings()->endGroup(); - } + if (isOn){ + MainWindow* mainWindow = qobject_cast<MainWindow*>(this->parent()); + mainWindow->getSettings()->beginGroup("logOptionsDialog"); + bool isConfirmSuppressed = mainWindow->getSettings()->value("groupBox_onlyOneChannel_ConfirmSuppressed", false).toBool(); + if (!isConfirmSuppressed){ + MyMessageBox::warning(this, MainWindow::getAppTitle()+QString(" - ")+tr("Warning"), + tr("This function will only work if the mp3 is encoded as " + "stereo or dual channel, NOT joint-stereo or mono."), + tr("Don't show this warning again"), + isConfirmSuppressed); + if (isConfirmSuppressed){ + mainWindow->getSettings()->setValue("groupBox_onlyOneChannel_ConfirmSuppressed", true); + } + } + mainWindow->getSettings()->endGroup(); + } }
View file
qmp3gain-0.9.3.tar.xz/src/constantgainchangedialog.h -> qmp3gain-0.9.4.tar.xz/src/constantgainchangedialog.h
Changed
@@ -14,8 +14,8 @@ ~ConstantGainChangeDialog(); private slots: - void updateLineEdit_constGainChange(int value); - void groupBox_onlyOneChannel_toggled(bool isOn); + void updateLineEdit_constGainChange(int value); + void groupBox_onlyOneChannel_toggled(bool isOn); }; #endif // CONSTANTGAINCHANGEDIALOG_H
View file
qmp3gain-0.9.3.tar.xz/src/disclaimerdialog.cpp -> qmp3gain-0.9.4.tar.xz/src/disclaimerdialog.cpp
Changed
@@ -4,7 +4,7 @@ DisclaimerDialog::DisclaimerDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); - - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + setupUi(this); + + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); }
View file
qmp3gain-0.9.3.tar.xz/src/donationdialog.cpp -> qmp3gain-0.9.4.tar.xz/src/donationdialog.cpp
Changed
@@ -6,8 +6,8 @@ DonationDialog::DonationDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + setupUi(this); + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); } void DonationDialog::on_donationButton_clicked() {
View file
qmp3gain-0.9.3.tar.xz/src/donationdialog.h -> qmp3gain-0.9.4.tar.xz/src/donationdialog.h
Changed
@@ -10,10 +10,10 @@ Q_OBJECT public: - DonationDialog(QWidget *parent = 0); + DonationDialog(QWidget *parent = 0); private slots: - void on_donationButton_clicked(); + void on_donationButton_clicked(); }; #endif
View file
qmp3gain-0.9.3.tar.xz/src/doubleprogressbar.cpp -> qmp3gain-0.9.4.tar.xz/src/doubleprogressbar.cpp
Changed
@@ -1,18 +1,18 @@ #include "doubleprogressbar.h" DoubleProgressBar::DoubleProgressBar(QWidget *parent): QProgressBar(parent) { - this->dValue = (double)this->value(); - connect(this, SIGNAL(valueChanged(int)), this, SLOT(setDoubleValue(int))); + this->dValue = (double)this->value(); + connect(this, SIGNAL(valueChanged(int)), this, SLOT(setDoubleValue(int))); } DoubleProgressBar::~DoubleProgressBar() { } void DoubleProgressBar::setDoubleValue(double doubleValue) { - this->dValue = doubleValue; - this->setValue((int)doubleValue); + this->dValue = doubleValue; + this->setValue((int)doubleValue); } void DoubleProgressBar::setDoubleValue(int value) { - setDoubleValue((double)value); + setDoubleValue((double)value); }
View file
qmp3gain-0.9.3.tar.xz/src/doubleprogressbar.h -> qmp3gain-0.9.4.tar.xz/src/doubleprogressbar.h
Changed
@@ -4,17 +4,17 @@ #include <QProgressBar> class DoubleProgressBar: public QProgressBar { - Q_OBJECT + Q_OBJECT public: - DoubleProgressBar(QWidget *parent = 0); - virtual ~DoubleProgressBar(); - inline double doubleValue() const { return dValue; } + DoubleProgressBar(QWidget *parent = 0); + virtual ~DoubleProgressBar(); + inline double doubleValue() const { return dValue; } public slots: - void setDoubleValue(double doubleValue); - void setDoubleValue(int value); + void setDoubleValue(double doubleValue); + void setDoubleValue(int value); private: - double dValue; + double dValue; }; #endif /* DOUBLEPROGRESSBAR_H_ */
View file
qmp3gain-0.9.3.tar.xz/src/logoptionsdialog.cpp -> qmp3gain-0.9.4.tar.xz/src/logoptionsdialog.cpp
Changed
@@ -7,99 +7,99 @@ LogOptionsDialog::LogOptionsDialog(QWidget *parent) : QDialog(parent) { - setupUi(this); - - mainWindow = qobject_cast<MainWindow*>(this->parent()); - setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); - readSettings(mainWindow->getSettings()); - - lineEdit_logFile->setText(mainWindow->getFileLog() ? mainWindow->getFileLog()->fileName() : QString()); + setupUi(this); - isAccepted = false; + mainWindow = qobject_cast<MainWindow*>(this->parent()); + setWindowTitle(windowTitle().arg(MainWindow::getAppTitle())); + readSettings(mainWindow->getSettings()); + + lineEdit_logFile->setText(mainWindow->getFileLog() ? mainWindow->getFileLog()->fileName() : QString()); + + isAccepted = false; } LogOptionsDialog::~LogOptionsDialog(){ - if (isAccepted){ - writeSettings(mainWindow->getSettings()); - } + if (isAccepted){ + writeSettings(mainWindow->getSettings()); + } } void LogOptionsDialog::readSettings(QSettings *settings){ - settings->beginGroup("logOptionsDialog"); - //lineEdit_logFile->setText(settings->value("lineEdit_logFile").toString()); - settings->endGroup(); + settings->beginGroup("logOptionsDialog"); + //lineEdit_logFile->setText(settings->value("lineEdit_logFile").toString()); + settings->endGroup(); } void LogOptionsDialog::writeSettings(QSettings *settings){ - settings->beginGroup("logOptionsDialog"); - //settings->setValue("lineEdit_logFile", lineEdit_logFile->text()); - settings->endGroup(); + settings->beginGroup("logOptionsDialog"); + //settings->setValue("lineEdit_logFile", lineEdit_logFile->text()); + settings->endGroup(); } void LogOptionsDialog::openFileDialog(QLineEdit *lineEdit){ - QFileDialog dialog(this, tr("Add log file(s)"), QString() /* directory */); - QString fileName = lineEdit->text(); - if (QFile::exists(fileName)){ - dialog.selectFile(fileName); - } - QStringList filters; - filters << "Log files (*.log)" << "Text files (*.txt)" << "Any files (*)"; - dialog.setNameFilters(filters); - QStringList fileNames; - if (dialog.exec()){ - fileNames = dialog.selectedFiles(); - if (!fileNames.isEmpty()){ - QString fileName = fileNames.at(0); - lineEdit->setText(fileName); - } - } + QFileDialog dialog(this, tr("Add log file(s)"), QString() /* directory */); + QString fileName = lineEdit->text(); + if (QFile::exists(fileName)){ + dialog.selectFile(fileName); + } + QStringList filters; + filters << "Log files (*.log)" << "Text files (*.txt)" << "Any files (*)"; + dialog.setNameFilters(filters); + QStringList fileNames; + if (dialog.exec()){ + fileNames = dialog.selectedFiles(); + if (!fileNames.isEmpty()){ + QString fileName = fileNames.at(0); + lineEdit->setText(fileName); + } + } } void LogOptionsDialog::accept(){ - QPointer<QFile> fileLogActual = mainWindow->getFileLog(); - QPointer<QFile> fileLog; - bool isToBeClosed = false; - bool hasNewLog = false; - if (!lineEdit_logFile->text().isEmpty()){ - fileLog = new QFile(lineEdit_logFile->text()); - if (!fileLog->open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)){ - QMessageBox::critical(this, MainWindow::getAppTitle(), - tr("Cannot write log file: %1").arg(fileLog->fileName())); - delete fileLog; - return; - } - else{ - isToBeClosed = true; - hasNewLog = true; - } - } - else{ - isToBeClosed = true; - } - if (isToBeClosed){ - if (fileLogActual){ - if (fileLogActual->isOpen()) - fileLogActual->close(); - delete fileLogActual; - } - } - if (hasNewLog){ - mainWindow->setFileLog(fileLog); - } - isAccepted = true; - return QDialog::accept(); + QPointer<QFile> fileLogActual = mainWindow->getFileLog(); + QPointer<QFile> fileLog; + bool isToBeClosed = false; + bool hasNewLog = false; + if (!lineEdit_logFile->text().isEmpty()){ + fileLog = new QFile(lineEdit_logFile->text()); + if (!fileLog->open(QIODevice::WriteOnly | QIODevice::Append | QIODevice::Text)){ + QMessageBox::critical(this, MainWindow::getAppTitle(), + tr("Cannot write log file: %1").arg(fileLog->fileName())); + delete fileLog; + return; + } + else{ + isToBeClosed = true; + hasNewLog = true; + } + } + else{ + isToBeClosed = true; + } + if (isToBeClosed){ + if (fileLogActual){ + if (fileLogActual->isOpen()) + fileLogActual->close(); + delete fileLogActual; + } + } + if (hasNewLog){ + mainWindow->setFileLog(fileLog); + } + isAccepted = true; + return QDialog::accept(); } void LogOptionsDialog::on_toolButton_logFile_clicked(){ - openFileDialog(lineEdit_logFile); + openFileDialog(lineEdit_logFile); } void LogOptionsDialog::on_buttonBox_clicked(QAbstractButton * button){ - if (button == buttonBox->button(QDialogButtonBox::Reset)){ - lineEdit_logFile->clear(); - } - else if (button == buttonBox->button(QDialogButtonBox::RestoreDefaults)){ - QString fileName = QDir::homePath()+"/"+MainWindow::getAppTitle().toLower()+".log"; - lineEdit_logFile->setText(fileName); - } + if (button == buttonBox->button(QDialogButtonBox::Reset)){ + lineEdit_logFile->clear(); + } + else if (button == buttonBox->button(QDialogButtonBox::RestoreDefaults)){ + QString fileName = QDir::homePath()+"/"+MainWindow::getAppTitle().toLower()+".log"; + lineEdit_logFile->setText(fileName); + } }
View file
qmp3gain-0.9.3.tar.xz/src/logoptionsdialog.h -> qmp3gain-0.9.4.tar.xz/src/logoptionsdialog.h
Changed
@@ -12,20 +12,20 @@ Q_OBJECT public: - LogOptionsDialog(QWidget *parent = 0); - ~LogOptionsDialog(); + LogOptionsDialog(QWidget *parent = 0); + ~LogOptionsDialog(); private: - bool isAccepted; - void readSettings(QSettings *settings); - void writeSettings(QSettings *settings); - void openFileDialog(QLineEdit *lineEdit); - MainWindow* mainWindow; + bool isAccepted; + void readSettings(QSettings *settings); + void writeSettings(QSettings *settings); + void openFileDialog(QLineEdit *lineEdit); + MainWindow* mainWindow; private slots: - void accept(); - void on_toolButton_logFile_clicked(); - void on_buttonBox_clicked(QAbstractButton * button); + void accept(); + void on_toolButton_logFile_clicked(); + void on_buttonBox_clicked(QAbstractButton * button); }; #endif
View file
qmp3gain-0.9.3.tar.xz/src/main.cpp -> qmp3gain-0.9.4.tar.xz/src/main.cpp
Changed
@@ -5,18 +5,18 @@ int main(int argc, char *argv) { - QApplication app(argc, argv); - QStringList argumentList = app.arguments(); - argumentList.removeFirst(); - if (!argumentList.isEmpty()) - return 0; - MainWindow mainWin; - app.setApplicationName(mainWin.getAppTitle()); - mainWin.switchLanguage(); - mainWin.show(); - if (!mainWin.isBackEndAvailable()){ - mainWin.showNoBackEndVersion(true); - } - return app.exec(); + QApplication app(argc, argv); + QStringList argumentList = app.arguments(); + argumentList.removeFirst(); + if (!argumentList.isEmpty()) + return 0; + MainWindow mainWin; + app.setApplicationName(mainWin.getAppTitle()); + mainWin.switchLanguage(); + mainWin.show(); + if (!mainWin.isBackEndAvailable()){ + mainWin.showNoBackEndVersion(true); + } + return app.exec(); }
View file
qmp3gain-0.9.3.tar.xz/src/mainwindow.cpp -> qmp3gain-0.9.4.tar.xz/src/mainwindow.cpp
Changed
@@ -4,6 +4,7 @@ #include <QSound> #include <QtXml> #include <QMimeData> +#include <QClipboard> #include "mainwindow.h" #include "aboutdialog.h" @@ -36,257 +37,258 @@ const QString MainWindow::requiredBackEndVersion = "1.5.2"; MainWindow::MainWindow(QWidget *parent) - : QMainWindow(parent) + : QMainWindow(parent) { - backEndFileName = ""; // if it is set then this one is used instead of backEndFixed - isCancelled = false; - lastAddedIndices = QModelIndexList(); - menuLanguageActionGroup = new QActionGroup(this); - enabledGUI = false; + backEndFileName = ""; // if it is set then this one is used instead of backEndFixed + isCancelled = false; + lastAddedIndices = QModelIndexList(); + menuLanguageActionGroup = new QActionGroup(this); + enabledGUI = false; - appTranslator = new QTranslator(this); - qApp->installTranslator(appTranslator); + appTranslator = new QTranslator(this); + qApp->installTranslator(appTranslator); setAcceptDrops(true); - setupUi(this); + setupUi(this); - // add context menu for tableView - connect(tableView, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(showContextMenuForWidget(const QPoint &))); - // modified default dB value - connect(doubleSpinBox_targetNormalValue, SIGNAL(valueChanged(double)), this, SLOT(updateModelRowsByNewTargetNormalValue(double))); - - createLanguageMenu(); - - // fill actions vector with checkable menu items - { - // Options - actions << actionAlways_on_Top; - actions << actionWork_on_Selected_files_only; - actions << actionAdd_Subfolders; - actions << actionPreserve_file_date_time; - actions << actionNo_check_for_Layer_I_or_II; - actions << actionDon_t_clip_when_doing_track_gain; - // Options/Tags - actions << actionIgnore_do_not_read_or_write_tags; - actions << actionRe_calculate_do_not_read_tags; - actions << actionDon_t_check_adding_files; - actions << actionRemove_Tags_from_files; - // Options/Logs - actions << actionLogDock; - actions << actionLogOpenAutomaticallyPanel; - // Options/Logs/Output Type - actions << actionLogError; - actions << actionLogAnalysis; - actions << actionLogChange; - actions << actionLogBackend; - actions << actionLogTrace; - // Options/Logs/Timestamp - actions << actionLogTimestampToFile; - actions << actionLogTimestampToPanel; - // Options/Toolbar - actions << actionBig; - actions << actionSmall; - actions << actionText_only; - actions << actionNone; - // Options/Filename_Display - actions << actionShow_Path_slash_File; - actions << actionShow_File_only; - actions << actionShow_Path_at_File; - // Options - actions << actionMinimize_to_tray; - actions << actionBeep_when_finished; - } - - // fill logOutputTypes with action - checkbox pairs - logOutputTypes.insert(actionLogError, checkBox_logError); - logOutputTypes.insert(actionLogAnalysis, checkBox_logAnalysis); - logOutputTypes.insert(actionLogChange, checkBox_logChange); - logOutputTypes.insert(actionLogBackend, checkBox_logBackend); - - // persist parameters - settings = new QSettings("Zematix", appTitle); - readSettings(); - - // manage backEndVersion and backEndFileName - backEndVersion = findBackEndVersionByProcess(); - if (backEndVersion.isEmpty() && !backEndFileName.isEmpty()){ - backEndFileName = ""; - backEndVersion = findBackEndVersionByProcess(); - } - - // to resize toolbar icons later - iconDefaultSize = toolBar->iconSize(); - - // this array is a must to enable translations of buttons of QDialogButtonBox - static const char *QDialogButtonBox_strings = { - // QDialogButtonBox buttons must be set in our translation file - QT_TRANSLATE_NOOP("QDialogButtonBox", "OK"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Open"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Save"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Cancel"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Close"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Discard"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Apply"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Reset"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Restore Defaults"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Help"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Save All"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "&Yes"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Yes to &All"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "&No"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "N&o to All"), - - QT_TRANSLATE_NOOP("QDialogButtonBox", "Abort"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Retry"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Ignore"), - - QT_TRANSLATE_NOOP("QDialogButtonBox", "Don't Save"), - QT_TRANSLATE_NOOP("QDialogButtonBox", "Close without Saving") - }; - - // model and view columns for table containing files - static const char * _modelHeaderLabels = { - QT_TR_NOOP("Path/File"), - QT_TR_NOOP("Path"), - QT_TR_NOOP("File"), - QT_TR_NOOP("Volume"), - QT_TR_NOOP("Max Amplitude"), // hidden - QT_TR_NOOP("clipping"), - QT_TR_NOOP("Track Gain"), - QT_TR_NOOP("dBGain"), // hidden - QT_TR_NOOP("clip(Track)"), - QT_TR_NOOP("Max Noclip Gain"), - QT_TR_NOOP("Album Volume"), - QT_TR_NOOP("Album Max Amplitude"), // hidden (in fact this field is never used) - QT_TR_NOOP("Album Gain"), - QT_TR_NOOP("Album dBGain"), // hidden - QT_TR_NOOP("clip(Album)"), - 0 - }; - modelHeaderLabels = _modelHeaderLabels; - for (int i = 0; modelHeaderLabelsi; ++i){ - modelHeaderList << modelHeaderLabelsi; - } - model = new QStandardItemModel; - model->setHorizontalHeaderLabels(modelHeaderList); // translated later - tableView->setModel(model); - tableView->setSelectionBehavior(QAbstractItemView::SelectRows); - int widthPathFile = tableView->columnWidth(modelHeaderList.indexOf("Path/File"))*2; - int widthPath = tableView->columnWidth(modelHeaderList.indexOf("Path"))*2; - int widthFile = tableView->columnWidth(modelHeaderList.indexOf("File"))*2; - tableView->resizeColumnsToContents(); - tableView->setColumnWidth(modelHeaderList.indexOf("Path/File"), widthPathFile); - tableView->setColumnWidth(modelHeaderList.indexOf("Path"), widthPath); - tableView->setColumnWidth(modelHeaderList.indexOf("File"), widthFile); - - // store default widths of tableView - QList<QVariant> widths; // QList<int> - for (int i=0; i<tableView->model()->columnCount(); i++){ - widths.append(QVariant(tableView->columnWidth(i))); - } - tableView->setProperty("columnWidths", QVariant(widths)); - - // initialize operationMap - // contains operationId and a list with passes in percents - operationMap.insert("add_file", QList<int>() << 100); - operationMap.insert("add_file, analysis", QList<int>() << 30 << 70); - operationMap.insert("add_folder", QList<int>() << 100); - operationMap.insert("add_folder, analysis", QList<int>() << 30 << 70); - operationMap.insert("track_analysis", QList<int>() << 100); - operationMap.insert("album_analysis", QList<int>() << 80 << 20); - operationMap.insert("max_no_clip_analysis", QList<int>() << 100); - operationMap.insert("clear_analysis", QList<int>() << 100); - operationMap.insert("track_gain", QList<int>() << 100); - operationMap.insert("album_gain", QList<int>() << 100); - operationMap.insert("constant_gain", QList<int>() << 100); - operationMap.insert("max_no_clip_gain_for_each_file", QList<int>() << 50 << 50); - operationMap.insert("max_no_clip_gain_for_album", QList<int>() << 50 << 50); - operationMap.insert("undo_gain_changes", QList<int>() << 100); + // add context menu for tableView + connect(tableView, SIGNAL(customContextMenuRequested(const QPoint &)), this, SLOT(showContextMenuForWidget(const QPoint &))); + // modified default dB value + connect(doubleSpinBox_targetNormalValue, SIGNAL(valueChanged(double)), this, SLOT(updateModelRowsByNewTargetNormalValue(double))); + + createLanguageMenu(); + + // fill actions vector with checkable menu items + { + // Options + actions << actionAlways_on_Top; + actions << actionWork_on_Selected_files_only;
View file
qmp3gain-0.9.3.tar.xz/src/mainwindow.h -> qmp3gain-0.9.4.tar.xz/src/mainwindow.h
Changed
@@ -12,7 +12,7 @@ #include <QPointer> #include <QSound> #include <QSystemTrayIcon> -#include <QTime> +#include <QElapsedTimer> #include <QMediaPlayer> #include "ui_mainwindow.h" @@ -23,270 +23,272 @@ public: MainWindow(QWidget *parent = 0); - ~MainWindow(); - inline QPointer<QSettings> getSettings() { return settings; } - inline static const QString & getAppTitle() { return appTitle; } - inline static const QString & getAppVersion() { return appVersion; } - inline const QString & getBackEnd() { return backEndFileName.isEmpty() ? backEndFixed : backEndFileName; } - inline static const QString & getBackEndFixed() { return backEndFixed; } - inline static const QString & getDonationUrl() { return donationUrl; } - inline static const QString & getRequiredBackEndVersion() { return requiredBackEndVersion; } - inline QString & getBackEndFileName() { return backEndFileName; } - inline void setBackEndFileName(const QString & backEndFileName) { this->backEndFileName = backEndFileName; } - inline QString & getBackEndVersion() { return backEndVersion; } - inline void setBackEndVersion(const QString & backEndVersion) { this->backEndVersion = backEndVersion; } - inline bool isBackEndAvailable(const QString & backEndVersion = QString()) { return getVersionNumber(!backEndVersion.isEmpty() ? backEndVersion : this->backEndVersion)>=getVersionNumber(this->requiredBackEndVersion); } - inline QPointer<QFile> getFileLog() { return fileLog; } - inline void setFileLog(QPointer<QFile> fileLog) { this->fileLog = fileLog; } - inline QStandardItem* getItem(int row, const QString & column) { return model->item(row, modelHeaderList.indexOf(column)); } - inline QModelIndex getItemIndex(int row, const QString & column) { return model->index(row, modelHeaderList.indexOf(column)); } - long getVersionNumber(const QString & versionString); - void showNoBackEndVersion(bool isStartBackEndDialog = false); - QString findBackEndVersionByProcess(const QString & backEndFileName = QString()); - enum LogType { LOGTYPE_ERROR, LOGTYPE_ANALYSIS, LOGTYPE_CHANGE, LOGTYPE_BACKEND, LOGTYPE_TRACE }; - enum LogOptionFlag { LOGOPTION_NONE = 0x0000, LOGOPTION_BOLD = 0x0001 }; - Q_DECLARE_FLAGS(LogOption, LogOptionFlag) - enum ErrType { ERRTYPE_NONE = 0, - ERRTYPE_ANALYSING_MAX_TIME_REACHED, - ERRTYPE_CANCELLED_PROCESSING, - ERRTYPE_CANCELLED_PROCESSING_CORRUPT, - ERRTYPE_CANNOT_ADJUST_SINGLE_CHANNEL, - ERRTYPE_CANNOT_FIND_MP3_FRAME, - ERRTYPE_CANNOT_MAKE_TMP, - ERRTYPE_CANNOT_MODIFY_FILE, - ERRTYPE_CORRUPT_MP3, - ERRTYPE_FILEFORMAT_NOTSUPPORTED, - ERRTYPE_RENAME_TMP, - ERRTYPE_NOT_ENOUGH_TEMP_SPACE, - ERRTYPE_SUPPRESSED /* pseudo, usually part of another error */ }; - /* - enum OpType { OPTYPE_ADD_FILE, OPTYPE_ADD_FOLDER, OPTYPE_ALBUM_ANALYSIS, - OPTYPE_ALBUM_GAIN, OPTYPE_ANALYSIS, OPTYPE_CLEAR_ANALYSIS, - OPTYPE_CONSTANT_GAIN, OPTYPE_MAX_NO_CLIP_ANALYSIS, - OPTYPE_MAX_NO_CLIP_GAIN_FOR_EACH_FILE, OPTYPE_MAX_NO_CLIP_GAIN_FOR_ALBUM, - OPTYPE_TRACK_ANALYSIS, OPTYPE_TRACK_GAIN, OPTYPE_UNDO_GAIN_CHANGES }; - */ - enum LineType { LINETYPE_UNDEFINED = 0, - LINETYPE_ERROR, - LINETYPE_ANALYSIS, - LINETYPE_WRITTEN, - LINETYPE_APPLY_GAIN, - LINETYPE_FILE_HEADER, - LINETYPE_FILE_ALBUM, - LINETYPE_FILE_CONTENT }; - struct Line - { - QString content; - LineType type; - ErrType errType; - - Line() : content(QString()), type(LINETYPE_UNDEFINED), errType(ERRTYPE_NONE) - { - } - }; + ~MainWindow(); + inline QPointer<QSettings> getSettings() { return settings; } + inline static const QString & getAppTitle() { return appTitle; } + inline static const QString & getAppVersion() { return appVersion; } + inline const QString & getBackEnd() { return backEndFileName.isEmpty() ? backEndFixed : backEndFileName; } + inline static const QString & getBackEndFixed() { return backEndFixed; } + inline static const QString & getDonationUrl() { return donationUrl; } + inline static const QString & getRequiredBackEndVersion() { return requiredBackEndVersion; } + inline QString & getBackEndFileName() { return backEndFileName; } + inline void setBackEndFileName(const QString & backEndFileName) { this->backEndFileName = backEndFileName; } + inline QString & getBackEndVersion() { return backEndVersion; } + inline void setBackEndVersion(const QString & backEndVersion) { this->backEndVersion = backEndVersion; } + inline bool isBackEndAvailable(const QString & backEndVersion = QString()) { return getVersionNumber(!backEndVersion.isEmpty() ? backEndVersion : this->backEndVersion)>=getVersionNumber(this->requiredBackEndVersion); } + inline QPointer<QFile> getFileLog() { return fileLog; } + inline void setFileLog(QPointer<QFile> fileLog) { this->fileLog = fileLog; } + inline QStandardItem* getItem(int row, const QString & column) { return model->item(row, modelHeaderList.indexOf(column)); } + inline QModelIndex getItemIndex(int row, const QString & column) { return model->index(row, modelHeaderList.indexOf(column)); } + long getVersionNumber(const QString & versionString); + void showNoBackEndVersion(bool isStartBackEndDialog = false); + QString findBackEndVersionByProcess(const QString & backEndFileName = QString()); + enum LogType { LOGTYPE_ERROR, LOGTYPE_ANALYSIS, LOGTYPE_CHANGE, LOGTYPE_BACKEND, LOGTYPE_TRACE }; + enum LogOptionFlag { LOGOPTION_NONE = 0x0000, LOGOPTION_BOLD = 0x0001 }; + Q_DECLARE_FLAGS(LogOption, LogOptionFlag) + enum ErrType { ERRTYPE_NONE = 0, + ERRTYPE_ANALYSING_MAX_TIME_REACHED, + ERRTYPE_CANCELLED_PROCESSING, + ERRTYPE_CANCELLED_PROCESSING_CORRUPT, + ERRTYPE_CANNOT_ADJUST_SINGLE_CHANNEL, + ERRTYPE_CANNOT_DECODE_FRAME, + ERRTYPE_CANNOT_FIND_MP3_FRAME, + ERRTYPE_CANNOT_MAKE_TMP, + ERRTYPE_CANNOT_MODIFY_FILE, + ERRTYPE_CORRUPT_MP3, + ERRTYPE_FILEFORMAT_NOTSUPPORTED, + ERRTYPE_RENAME_TMP, + ERRTYPE_NOT_ENOUGH_TEMP_SPACE, + ERRTYPE_SUPPRESSED /* pseudo, usually part of another error */ }; + /* + enum OpType { OPTYPE_ADD_FILE, OPTYPE_ADD_FOLDER, OPTYPE_ALBUM_ANALYSIS, + OPTYPE_ALBUM_GAIN, OPTYPE_ANALYSIS, OPTYPE_CLEAR_ANALYSIS, + OPTYPE_CONSTANT_GAIN, OPTYPE_MAX_NO_CLIP_ANALYSIS, + OPTYPE_MAX_NO_CLIP_GAIN_FOR_EACH_FILE, OPTYPE_MAX_NO_CLIP_GAIN_FOR_ALBUM, + OPTYPE_TRACK_ANALYSIS, OPTYPE_TRACK_GAIN, OPTYPE_UNDO_GAIN_CHANGES }; + */ + enum LineType { LINETYPE_UNDEFINED = 0, + LINETYPE_ERROR, + LINETYPE_ANALYSIS, + LINETYPE_WRITTEN, + LINETYPE_APPLY_GAIN, + LINETYPE_FILE_HEADER, + LINETYPE_FILE_ALBUM, + LINETYPE_FILE_CONTENT }; + struct Line + { + QString content; + LineType type; + ErrType errType; + + Line() : content(QString()), type(LINETYPE_UNDEFINED), errType(ERRTYPE_NONE) + { + } + }; public slots: - void switchLanguage(QAction *action = 0); + void switchLanguage(QAction *action = 0); protected: void closeEvent(QCloseEvent *event); - void changeEvent (QEvent *event); + void changeEvent (QEvent *event); void dragEnterEvent(QDragEnterEvent *event); void dropEvent(QDropEvent *event); - void createStatusBar(); + void createStatusBar(); private: - QPointer<QTranslator> appTranslator; - QPointer<QActionGroup> menuLanguageActionGroup; - QMap<QString, QList<int> > operationMap; - QVector<QAction*> actions; - QMap<QAction*, QCheckBox*> logOutputTypes; - QPointer<QSettings> settings; - QString lastAddedFolder; - QModelIndexList lastAddedIndices; - const char ** modelHeaderLabels; - QStringList modelHeaderList; // contains column labels (always in english) of model header - QPointer<QStandardItemModel> model; - const static QString appTitle; - const static QString appVersion; - const static QString backEndFixed; - const static QString donationUrl; - const static QString requiredBackEndVersion; - QString backEndFileName; - QString backEndVersion; - bool backEndAvailable; - const static double defaultNormalTargetValue; - const static QString defaultLocale; - const static double DB; - QSize iconDefaultSize; - bool isCancelled; - bool enabledGUI; - QVariant isPopupErrorSuppressed; // bool, exists just inside a function - QVariant isOpenLogPanelQuestionSuppressed; // bool, exists just inside a function - QPointer<QFile> fileLog; - QPointer<QLabel> messageLabel; - QPointer<QLabel> modelRowCountLabel; - QPointer<QSound> beepSound; - QTime operationTime; - QByteArray mainGeometry; - - QPointer<QAction> restoreTrayAction; - QPointer<QAction> quitTrayAction; - QPointer<QSystemTrayIcon> trayIcon; - QPointer<QAction> actionPlay_mp3_file; // exists only in context menu + QPointer<QTranslator> appTranslator; + QPointer<QActionGroup> menuLanguageActionGroup; + QMap<QString, QList<int> > operationMap; + QVector<QAction*> actions; + QMap<QAction*, QCheckBox*> logOutputTypes; + QPointer<QSettings> settings; + QString lastAddedFolder; + QModelIndexList lastAddedIndices; + const char ** modelHeaderLabels; + QStringList modelHeaderList; // contains column labels (always in english) of model header + QPointer<QStandardItemModel> model;
View file
qmp3gain-0.9.3.tar.xz/src/mainwindow.ui -> qmp3gain-0.9.4.tar.xz/src/mainwindow.ui
Changed
@@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>732</width> - <height>477</height> + <height>512</height> </rect> </property> <property name="windowTitle"> @@ -162,7 +162,7 @@ <x>0</x> <y>0</y> <width>732</width> - <height>21</height> + <height>30</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -367,12 +367,25 @@ <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <widget class="QToolButton" name="clearLogButton"> + <property name="toolTip"> + <string>Clear logs</string> + </property> <property name="text"> <string extracomment="Log output clear button">Clear</string> </property> </widget> </item> <item> + <widget class="QToolButton" name="copyLogButton"> + <property name="toolTip"> + <string>Copy logs to clipboard</string> + </property> + <property name="text"> + <string>Copy</string> + </property> + </widget> + </item> + <item> <spacer name="horizontalSpacer_2"> <property name="orientation"> <enum>Qt::Horizontal</enum> @@ -870,6 +883,9 @@ <property name="checkable"> <bool>true</bool> </property> + <property name="checked"> + <bool>true</bool> + </property> <property name="text"> <string>No check for Layer I or II</string> </property> @@ -1275,22 +1291,6 @@ </resources> <connections> <connection> - <sender>actionLogError</sender> - <signal>toggled(bool)</signal> - <receiver>checkBox_logError</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>-1</x> - <y>-1</y> - </hint> - <hint type="destinationlabel"> - <x>274</x> - <y>324</y> - </hint> - </hints> - </connection> - <connection> <sender>actionLogAnalysis</sender> <signal>toggled(bool)</signal> <receiver>checkBox_logAnalysis</receiver> @@ -1387,22 +1387,6 @@ </hints> </connection> <connection> - <sender>checkBox_logError</sender> - <signal>toggled(bool)</signal> - <receiver>actionLogError</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>274</x> - <y>324</y> - </hint> - <hint type="destinationlabel"> - <x>-1</x> - <y>-1</y> - </hint> - </hints> - </connection> - <connection> <sender>actionQuit</sender> <signal>triggered()</signal> <receiver>MainWindow</receiver> @@ -1450,5 +1434,37 @@ </hint> </hints> </connection> + <connection> + <sender>actionLogError</sender> + <signal>toggled(bool)</signal> + <receiver>checkBox_logError</receiver> + <slot>setChecked(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>-1</x> + <y>-1</y> + </hint> + <hint type="destinationlabel"> + <x>274</x> + <y>324</y> + </hint> + </hints> + </connection> + <connection> + <sender>checkBox_logError</sender> + <signal>toggled(bool)</signal> + <receiver>actionLogError</receiver> + <slot>setChecked(bool)</slot> + <hints> + <hint type="sourcelabel"> + <x>274</x> + <y>324</y> + </hint> + <hint type="destinationlabel"> + <x>-1</x> + <y>-1</y> + </hint> + </hints> + </connection> </connections> </ui>
View file
qmp3gain-0.9.3.tar.xz/src/mymessagebox.cpp -> qmp3gain-0.9.4.tar.xz/src/mymessagebox.cpp
Changed
@@ -9,45 +9,45 @@ } QMessageBox::StandardButton MyMessageBox::messageBox ( QMessageBox::Icon icon, QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton){ - QMessageBox msgBox(parent); - msgBox.setWindowTitle(title); - msgBox.setText(text); - //msgBox.setInformativeText("Do you want to save your changes?"); - msgBox.setStandardButtons(buttons); - msgBox.setDefaultButton(defaultButton); - msgBox.setIcon(icon); - QCheckBox* checkBox = 0; - - if (!isConfirmSuppressed && !confirmText.isEmpty()){ - QGridLayout* grid = qobject_cast<QGridLayout*>(msgBox.layout()); - if (grid){ - checkBox = new QCheckBox(confirmText); - grid->addWidget(checkBox, grid->rowCount()-2, 0, 1, grid->columnCount()); - } - } - - if (msgBox.exec() == -1) - return QMessageBox::Cancel; - - if (checkBox){ - isConfirmSuppressed = checkBox->isChecked(); - } - - return msgBox.standardButton(msgBox.clickedButton()); + QMessageBox msgBox(parent); + msgBox.setWindowTitle(title); + msgBox.setText(text); + //msgBox.setInformativeText("Do you want to save your changes?"); + msgBox.setStandardButtons(buttons); + msgBox.setDefaultButton(defaultButton); + msgBox.setIcon(icon); + QCheckBox* checkBox = 0; + + if (!isConfirmSuppressed && !confirmText.isEmpty()){ + QGridLayout* grid = qobject_cast<QGridLayout*>(msgBox.layout()); + if (grid){ + checkBox = new QCheckBox(confirmText); + grid->addWidget(checkBox, grid->rowCount()-2, 0, 1, grid->columnCount()); + } + } + + if (msgBox.exec() == -1) + return QMessageBox::Cancel; + + if (checkBox){ + isConfirmSuppressed = checkBox->isChecked(); + } + + return msgBox.standardButton(msgBox.clickedButton()); } QMessageBox::StandardButton MyMessageBox::critical ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton){ - return messageBox(QMessageBox::Critical, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); + return messageBox(QMessageBox::Critical, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); } QMessageBox::StandardButton MyMessageBox::information ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton){ - return messageBox(QMessageBox::Information, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); + return messageBox(QMessageBox::Information, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); } QMessageBox::StandardButton MyMessageBox::question ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton){ - return messageBox(QMessageBox::Question, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); + return messageBox(QMessageBox::Question, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); } QMessageBox::StandardButton MyMessageBox::warning ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton){ - return messageBox(QMessageBox::Warning, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); + return messageBox(QMessageBox::Warning, parent, title, text, confirmText, isConfirmSuppressed, buttons, defaultButton); }
View file
qmp3gain-0.9.3.tar.xz/src/mymessagebox.h -> qmp3gain-0.9.4.tar.xz/src/mymessagebox.h
Changed
@@ -5,16 +5,16 @@ class MyMessageBox: public QMessageBox { public: - MyMessageBox(); - virtual ~MyMessageBox(); + MyMessageBox(); + virtual ~MyMessageBox(); - static QMessageBox::StandardButton critical ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); - static QMessageBox::StandardButton information ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); - static QMessageBox::StandardButton question ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); - static QMessageBox::StandardButton warning ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); + static QMessageBox::StandardButton critical ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); + static QMessageBox::StandardButton information ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); + static QMessageBox::StandardButton question ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); + static QMessageBox::StandardButton warning ( QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirm, StandardButtons buttons = Ok, QMessageBox::StandardButton defaultButton = NoButton); private: - static QMessageBox::StandardButton messageBox ( QMessageBox::Icon icon, QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton); + static QMessageBox::StandardButton messageBox ( QMessageBox::Icon icon, QWidget * parent, const QString & title, const QString & text, const QString & confirmText, bool & isConfirmSuppressed, StandardButtons buttons, QMessageBox::StandardButton defaultButton); }; #endif /* MYMESSAGEBOX_H_ */
View file
qmp3gain-0.9.3.tar.xz/translations/README.md -> qmp3gain-0.9.4.tar.xz/translations/README.md
Changed
@@ -6,17 +6,19 @@ To add a new language: -1. Run `cd translations` (change to the directory of this file) +1. Run `cd translations` to change the directory -2. Run `make ts-untranslated` +2. Run `qmake` if Makefile does not exist yet in the folder -3. Rename generated `qmp3gain_untranslated.ts` to `qmp3gain_<lang>.ts` +3. Run `make ts-untranslated` to create a skeleton translation file -4. Run `qmake` +4. Rename generated `qmp3gain_untranslated.ts` to `qmp3gain_<lang>.ts` -5. Do your translation. Take a look at the existing translation files if you are unfamiliar to the structure of ts translation files. Remember to use UTF-8 encoding in your editor! Just run `make` and start the application whenever you want to test it. In the application menu your language must be enlisted among the existing ones. +5. Run `qmake` to update Makefile with a new `make-ts<lang>` target -6. If you want to publish your finished translation, which is highly welcomed, just create a new feature request ticket and attach your `qmp3gain_<lang>.ts` there. Thanks for your contribution! +6. Do your translation. Take a look at the existing translation files if you are unfamiliar to the structure of ts translation files. Remember to use UTF-8 encoding in your editor! Just run `make` and start the application whenever you want to test it. In the application menu your language must be enlisted among the existing ones. -To update an existing translation, just run `make ts-<lang>` instead of steps 2) to 4). +7. If you want to publish your finished translation, which is highly welcomed, just create a new feature request ticket and attach your `qmp3gain_<lang>.ts` there. Thanks for your contribution! + +To update an already existing translation, just run `make ts-<lang>` instead of steps 3) to 5).
View file
qmp3gain-0.9.3.tar.xz/translations/qmp3gain_hu.ts -> qmp3gain-0.9.4.tar.xz/translations/qmp3gain_hu.ts
Changed
@@ -1,76 +1,61 @@ <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE TS> -<TS version="2.0" language="hu_HU" sourcelanguage="en_US"> +<TS version="2.1" language="hu_HU" sourcelanguage="en_US"> <context> <name>AboutDialog</name> <message> - <location filename="../src/aboutdialog.ui" line="14"/> <source>%1 - About</source> <translation>%1 - Névjegy</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="69"/> <source>Back end (%1)</source> <translation>Kiszolgáló oldal (%1)</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="103"/> <source>%1 (GUI)</source> <translation>%1 (felület)</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="167"/> <source>Latest version of %1 at</source> <translation>%1 legújabb verziója</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="206"/> <source>Latest version of back end at</source> <translation>Kiszolgáló oldali program (és az eredeti felület) legújabb verziója</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="245"/> <source>Contact the author, Zsolt Branyiczky at</source> <translation>A szerző, Branyiczky Zsolt elérhetősége</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="288"/> <source>The back end makes use of a modified version of mpglib. The original version of mpglib can be found at</source> <translation>A kiszolgáló oldal lehetővé teszi az mpglib módosított változatának használatát. Az mpglib eredeti verziója</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="394"/> <source>Send a donation to the author</source> <translation>Adomány küldése a szerzőnek</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="400"/> <source>Donation</source> <translation>Adományoz</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="420"/> <source>Close</source> <translation>Bezárás</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="76"/> - <location filename="../src/aboutdialog.ui" line="96"/> <source>Version %1</source> <translation>%1 verzió</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="125"/> <source>Performs ReplayGain analysis of MP3 files. For more information about ReplayGain, go to</source> <translation>ReplayGain algoritmus végzi az MP3 fájlok elemzését. Részletes ReplayGain információ</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="330"/> <source>Thanks to Marc Heubeck for making the control buttons look nicer, to Bill MacEachern for making the Help file more profession, and to Glen Swer for the MP3Gain back end (and original GUI).</source> <translation>Köszönet Marc Heubeck-nek a szebb kezelőgombokért, Bill MacEachern-nek a tökéletesebb súgó fájlért, és Glan Swer-nek a MP3Gain háttér oldali kiszolgáló programért és az eredeti felületért.</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="365"/> <source>English translation: Your Name</source> <translation>Magyar fordítás: Herczeg József Tamás</translation> </message> @@ -78,151 +63,120 @@ <context> <name>AdvancedOptionsDialog</name> <message> - <location filename="../src/advancedoptionsdialog.ui" line="28"/> <source>Thread Priority</source> <translation>Szálprioritás</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="44"/> <source>Realtime</source> <translation>Valós idejű</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="55"/> <source>High</source> <translation>Magas</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="65"/> <source>Normal</source> <translation>Normál</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="78"/> <source>Idle</source> <translation>Üresjárat</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="162"/> <source>Performance</source> <translation>Teljesítmény</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="14"/> <source>%1 - Advanced Options</source> <translation>%1 - Speciális beállítások</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="25"/> <source>This adjusts what priority the program has in using your computer's resources</source> <translation>Beállítható a program prioritása, azaz szabályozható mekkora számítógép erőforrásokat használjon az alkalmazás</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="40"/> <source>Applicaton has maximum priority of the computer's resource. Its usage is not recommended.</source> <translation>Az alkalmazás a szémítógép erőforrásaiból maximumot kap, használata nem javasolt.</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="51"/> <source>Applicaton has high priority of the computer's resource. Its usage might be not recommended</source> <translation>Az alkalmazás a számítőgép errőforrásaiból igen nagy részt kap, használata többnyire nem javasolt.</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="62"/> <source>Applicaton has normal priority of the computer's resource</source> <translation>Az alkalmazás a számítőgép errőforrásaiból átlagos részt kap.</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="75"/> <source>Applicaton has slight priority of the computer's resource</source> <translation>Az alkalmazás a számítőgép errőforrásaiból csekély részt kap.</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="96"/> <source>Extra features</source> <translation>Extra tulajdonságok</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="105"/> <source>New analysis and gain functions can be activated</source> <translation>Új elemzés és erősítés funkciók aktiválhatók</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="115"/> <source>Show "Max Amplitude" and dBGain fields in the list</source> <translation>Megjeleníti a "Max Amplitudó" és dBErősítés mezőket a listában</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="121"/> <source>Show hidden fields</source> <translation>Rejtett mezők megjelenítése</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="133"/> <source>Beep after</source> <translation>Hangjelzés</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="140"/> <source>Makes beep sound if the opeartion takes more time in seconds than this value</source> <translation>Hangjelzést ad a művelet végén, ha az tovább tart, mint az itt megadott másodperc érték</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="150"/> <source>seconds</source> <translation>másodperc múlva</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="168"/> <source>Gain modifications can be done directly in the files</source> <translation>Erősítés módosítások végrehajthatók direktben a fájlokon</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="171"/> <source>Do not use Temp files</source> <translation>Ideiglenes fájlok használata nélkül</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="178"/> <source>File progress bar can be switch off</source> <translation>Fájl feldogozás folyamat kijelzésének kikapcsolása</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="181"/> <source>Do not show file progress</source> <translation>Ne látszódjon a fájl feldolgozás folyamata</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="195"/>
View file
qmp3gain-0.9.3.tar.xz/translations/qmp3gain_it.ts -> qmp3gain-0.9.4.tar.xz/translations/qmp3gain_it.ts
Changed
@@ -4,73 +4,58 @@ <context> <name>AboutDialog</name> <message> - <location filename="../src/aboutdialog.ui" line="14"/> <source>%1 - About</source> <translation>%1 - Informazioni</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="69"/> <source>Back end (%1)</source> <translation>Back end (%1)</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="103"/> <source>%1 (GUI)</source> <translation>%1 (GUI)</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="167"/> <source>Latest version of %1 at</source> <translation>Ultima versione di %1 a</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="206"/> <source>Latest version of back end at</source> <translation>Ultima versione del backend a</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="245"/> <source>Contact the author, Zsolt Branyiczky at</source> <translation>Contatta l'autore, Zsolt Branyiczky a</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="288"/> <source>The back end makes use of a modified version of mpglib. The original version of mpglib can be found at</source> <translation>Il backend fa uso di una versione modificata di mpglib. La versione originale di mpglib può essere trovata su</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="394"/> <source>Send a donation to the author</source> <translation>Invia una donazione all'autore</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="400"/> <source>Donation</source> <translation>Donazione</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="420"/> <source>Close</source> <translation>Chiudi</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="76"/> - <location filename="../src/aboutdialog.ui" line="96"/> <source>Version %1</source> <translation>Versione %1</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="125"/> <source>Performs ReplayGain analysis of MP3 files. For more information about ReplayGain, go to</source> <translation>Esegue l'analisi ReplayGain dei file MP3. Per maggiori informazioni su ReplayGain, vai a</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="330"/> <source>Thanks to Marc Heubeck for making the control buttons look nicer, to Bill MacEachern for making the Help file more profession, and to Glen Swer for the MP3Gain back end (and original GUI).</source> <translation>Grazie a Marc Heubeck per aver reso i pulsanti di controllo più belli, a Bill MacEachern per aver reso il file di aiuto più professionale e a Glen Swer per il backend MP3Gain (e la GUI originale).</translation> </message> <message> - <location filename="../src/aboutdialog.ui" line="365"/> <source>English translation: Your Name</source> <translation>Traduzione in italiano: e.tabeta «e.tabeta@yahoo.it»</translation> </message> @@ -78,153 +63,122 @@ <context> <name>AdvancedOptionsDialog</name> <message> - <location filename="../src/advancedoptionsdialog.ui" line="28"/> <source>Thread Priority</source> <translation>Priorità del compito</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="44"/> <source>Realtime</source> <translation>In tempo reale</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="55"/> <source>High</source> <translation>Alta</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="65"/> <source>Normal</source> <translation>Normale</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="78"/> <source>Idle</source> <translation>Inattiva</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="162"/> <source>Performance</source> <translation>Prestazioni</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="14"/> <source>%1 - Advanced Options</source> <translation>%1 - Opzioni avanzate</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="25"/> <source>This adjusts what priority the program has in using your computer's resources</source> <translation>Questo regola la priorità che il programma ha nell'usare le risorse del tuo computer</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="40"/> <source>Applicaton has maximum priority of the computer's resource. Its usage is not recommended.</source> <translation>L'applicazione ha la priorità massima della risorsa del computer. Il suo utilizzo non è raccomandato.</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="51"/> <source>Applicaton has high priority of the computer's resource. Its usage might be not recommended</source> <translation>L'applicazione ha la priorità alta della risorsa del computer. Il suo utilizzo potrebbe non essere raccomandato</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="62"/> <source>Applicaton has normal priority of the computer's resource</source> <translation>L'applicazione ha la priorità normale delle risorse del computer</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="75"/> <source>Applicaton has slight priority of the computer's resource</source> <translation>L'applicazione ha una leggera priorità sulle risorse del computer</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="96"/> <source>Extra features</source> <translation>Caratteristiche extra</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="105"/> <source>New analysis and gain functions can be activated</source> <translation>È possibile attivare nuove funzioni di analisi e guadagno</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="115"/> <source>Show "Max Amplitude" and dBGain fields in the list</source> <translation>Mostra i campi "Ampiezza max" e dBGain nell'elenco</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="121"/> <source>Show hidden fields</source> <translation>Mostra i campi nascosti</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="133"/> <source>Beep after</source> <translation>Beep dopo</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="140"/> <source>Makes beep sound if the opeartion takes more time in seconds than this value</source> <translation>Emette un segnale acustico se l'operazione richiede più tempo in secondi di questo valore</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="150"/> <source>seconds</source> <translation>secondi</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="168"/> <source>Gain modifications can be done directly in the files</source> <translation>Le modifiche al guadagno possono essere eseguite direttamente nei file</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="171"/> <source>Do not use Temp files</source> <translation>Non usare i file temporanei</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="178"/> <source>File progress bar can be switch off</source> <translation>La barra di avanzamento del file può essere disattivata</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="181"/> <source>Do not show file progress</source> <translation>Non mostrare l'avanzamento del file</translation> </message> <message> - <location filename="../src/advancedoptionsdialog.ui" line="195"/> <source>Extra output log</source> <translation>Registro di uscita extra</translation>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.