diff options
| -rw-r--r-- | ALP.svg | 131 | ||||
| -rw-r--r-- | AleePlayer.desktop | 7 | ||||
| -rw-r--r-- | AleePlayer.pro | 4 | ||||
| -rw-r--r-- | main.cpp | 4 | ||||
| -rw-r--r-- | player.cpp | 3 |
5 files changed, 143 insertions, 6 deletions
@@ -0,0 +1,131 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="32px" + height="32px" + viewBox="0 0 32 32" + version="1.1" + id="SVGRoot" + inkscape:version="0.92.4 5da689c313, 2019-01-14" + sodipodi:docname="ALP.svg"> + <defs + id="defs23"> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient1815" + id="linearGradient1849" + x1="191.35619" + y1="77.545326" + x2="165.94176" + y2="36.145283" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(1.6679636,0,0,1.6679636,-180.21985,-725.61614)" /> + <linearGradient + inkscape:collect="always" + id="linearGradient1815"> + <stop + style="stop-color:#008000;stop-opacity:1" + offset="0" + id="stop1811" /> + <stop + style="stop-color:#000080;stop-opacity:1" + offset="1" + id="stop1813" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="11.313708" + inkscape:cx="17.930357" + inkscape:cy="8.2669824" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1920" + inkscape:window-height="974" + inkscape:window-x="0" + inkscape:window-y="36" + inkscape:window-maximized="1" + inkscape:grid-bbox="true" /> + <metadata + id="metadata26"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <g + transform="matrix(0.17705736,0,0,0.17705736,-3.9152667,126.91168)" + id="g1147" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96"> + <path + style="display:inline;fill:url(#linearGradient1849);fill-opacity:1;stroke-width:0.39826357" + id="path817-7" + sodipodi:type="arc" + sodipodi:cx="113.56826" + sodipodi:cy="-626.15546" + sodipodi:rx="86.480103" + sodipodi:ry="86.480103" + sodipodi:start="0" + sodipodi:end="6.2105971" + sodipodi:open="true" + d="m 200.04836,-626.15546 a 86.480103,86.480103 0 0 1 -84.91083,86.46587 86.480103,86.480103 0 0 1 -87.99242,-83.32784 86.480103,86.480103 0 0 1 81.7174,-89.49 86.480103,86.480103 0 0 1 90.95812,80.08005" /> + <path + style="display:inline;fill:#5aa02c;fill-opacity:1;stroke-width:0.58780181" + id="path819-0" + sodipodi:type="arc" + sodipodi:cx="113.56826" + sodipodi:cy="-626.15546" + sodipodi:rx="77.253967" + sodipodi:ry="77.253967" + sodipodi:start="0" + sodipodi:end="6.2105971" + sodipodi:open="true" + d="m 190.82223,-626.15546 a 77.253967,77.253967 0 0 1 -75.85212,77.24125 77.253967,77.253967 0 0 1 -78.604941,-74.438 77.253967,77.253967 0 0 1 72.999371,-79.94276 77.253967,77.253967 0 0 1 81.25425,71.53671" /> + <path + style="fill:#ffffff;stroke-width:0.08870116" + inkscape:connector-curvature="0" + d="m 155.94806,-608.99878 h -28.3844 c -7.84115,0 -14.19216,6.35103 -14.19216,14.19218 0,7.84118 6.35101,14.1922 14.19216,14.1922 3.97385,0 7.55736,-1.63212 10.12969,-4.25766 h 8.11618 c 2.57232,2.62554 6.16473,4.25766 10.12968,4.25766 7.84115,0 14.19215,-6.35101 14.19215,-14.1922 0,-7.84115 -6.34212,-14.19218 -14.1833,-14.19218 z m -19.86905,15.96623 c 0,0.58545 -0.479,1.06437 -1.06442,1.06437 h -4.61247 v 4.61249 c 0,0.58541 -0.47896,1.06441 -1.06442,1.06441 h -3.54806 c -0.58542,0 -1.0644,-0.479 -1.0644,-1.06441 v -4.61249 h -4.61245 c -0.58543,0 -1.06442,-0.47897 -1.06442,-1.06437 v -3.54809 c 0,-0.58543 0.47899,-1.0644 1.06442,-1.0644 h 4.61245 v -4.61245 c 0,-0.58543 0.47898,-1.06441 1.0644,-1.06441 h 3.54806 c 0.58546,0 1.06442,0.47898 1.06442,1.06441 v 4.61245 h 4.61247 c 0.58542,0 1.06442,0.47897 1.06442,1.0644 z m 16.32097,6.03166 c -2.35056,0 -4.25763,-1.90707 -4.25763,-4.25766 0,-2.35058 1.90707,-4.25765 4.25763,-4.25765 2.35062,0 4.25767,1.90707 4.25767,4.25765 0,2.35059 -1.90705,4.25766 -4.25767,4.25766 z m 7.09614,-7.0961 c -2.3506,0 -4.25768,-1.90708 -4.25768,-4.25766 0,-2.35055 1.90708,-4.25762 4.25768,-4.25762 2.35057,0 4.25764,1.90707 4.25764,4.25762 0,2.35058 -1.90707,4.25766 -4.25764,4.25766 z" + id="path1581-3" /> + <path + style="fill:#ffffff;stroke-width:0.08802874" + inkscape:connector-curvature="0" + d="m 98.479254,-607.66596 v 0.53336 H 87.211581 v -11.26769 h 0.533372 c 0.560277,0 1.097714,0.22264 1.493942,0.61877 l 8.621633,8.62159 a 2.1131295,2.1131295 0 0 1 0.618726,1.49397 z m -11.971928,3.35027 c -1.161952,0 -2.112663,-0.95072 -2.112663,-2.11267 v -11.97193 H 66.788914 c -1.166817,0 -2.11269,0.94588 -2.11269,2.1127 v 40.84531 c 0,1.16684 0.945873,2.11271 2.11269,2.11271 h 29.577672 c 1.166822,0 2.112668,-0.94587 2.112668,-2.11271 v -28.87341 z m -10.985439,21.17134 a 0.47535512,0.47535512 0 0 1 -0.671925,0.0216 l -5.710062,-5.35322 a 0.47535512,0.47535512 0 0 1 0,-0.69358 l 5.710062,-5.3532 a 0.47535512,0.47535512 0 0 1 0.671925,0.0216 l 1.723504,1.83851 a 0.47535512,0.47535512 0 0 1 -0.03262,0.68196 l -3.588304,3.15794 3.588304,3.15796 a 0.47535512,0.47535512 0 0 1 0.03262,0.68193 z m 4.515422,4.44362 -2.416637,-0.70158 a 0.47553119,0.47553119 0 0 1 -0.324046,-0.58908 l 5.408486,-18.62921 a 0.47553119,0.47553119 0 0 1 0.589101,-0.32402 l 2.416548,0.70159 a 0.47535512,0.47535512 0 0 1 0.323951,0.58908 l -5.408498,18.62918 a 0.47509106,0.47509106 0 0 1 -0.588905,0.32404 z m 14.154303,-9.77517 -5.710011,5.35324 a 0.47535512,0.47535512 0 0 1 -0.671925,-0.0216 l -1.723636,-1.83847 a 0.47535512,0.47535512 0 0 1 0.03265,-0.68196 l 3.588424,-3.15787 -3.588328,-3.15792 a 0.47535512,0.47535512 0 0 1 -0.03265,-0.68195 l 1.723636,-1.8385 a 0.47535512,0.47535512 0 0 1 0.671893,-0.0216 l 5.710091,5.35322 a 0.47535512,0.47535512 0 0 1 -9.6e-5,0.69359 z" + id="path3972" /> + <path + style="fill:#ffffff;stroke-width:0.08816871" + inkscape:connector-curvature="0" + d="m 61.212704,-654.75471 c 3.112359,0 5.642798,-2.53046 5.642798,-5.6428 0,-3.11235 -2.530439,-5.6428 -5.642798,-5.6428 -3.112347,0 -5.642785,2.53045 -5.642785,5.6428 0,3.11234 2.530438,5.6428 5.642785,5.6428 z m 39.499576,0 c 3.11238,0 5.64282,-2.53046 5.64282,-5.6428 0,-3.11235 -2.53044,-5.6428 -5.64282,-5.6428 -3.112362,0 -5.642792,2.53045 -5.642792,5.6428 0,3.11234 2.53043,5.6428 5.642792,5.6428 z m 2.82143,2.82138 h -5.642833 c -1.551769,0 -2.953639,0.62598 -3.976419,1.63993 3.55322,1.94855 6.074833,5.46647 6.621492,9.64569 h 5.81915 c 1.56058,0 2.8214,-1.26082 2.8214,-2.82143 v -2.8214 c 0,-3.11233 -2.53046,-5.64279 -5.64279,-5.64279 z m -22.571214,0 c 5.457654,0 9.874898,-4.41723 9.874898,-9.8749 0,-5.45762 -4.417244,-9.87488 -9.874898,-9.87488 -5.457639,0 -9.874882,4.41726 -9.874882,9.87488 0,5.45767 4.417243,9.8749 9.874882,9.8749 z m 6.771339,2.82142 h -0.731762 c -1.833939,0.88169 -3.870626,1.41069 -6.039577,1.41069 -2.168936,0 -4.19682,-0.529 -6.039548,-1.41069 h -0.731816 c -5.607522,0 -10.157029,4.54951 -10.157029,10.15703 v 2.53926 c 0,2.33647 1.895621,4.23207 4.2321,4.23207 h 25.392575 c 2.33648,0 4.232099,-1.8956 4.232099,-4.23207 v -2.53926 c 0,-5.60752 -4.549509,-10.15703 -10.157042,-10.15703 z m -19.723333,-1.18148 c -1.02275,-1.01394 -2.424634,-1.63992 -3.976399,-1.63992 h -5.642798 c -3.112347,0 -5.642798,2.53046 -5.642798,5.64278 v 2.82141 c 0,1.56059 1.260817,2.82142 2.821412,2.82142 h 5.810312 c 0.555461,-4.17922 3.07707,-7.69715 6.630271,-9.64569 z" + id="path3983" /> + <path + style="fill:#ffffff;stroke-width:0.09225987" + inkscape:connector-curvature="0" + d="m 148.63404,-668.58888 h -26.60777 c -2.43563,0 -4.41,1.97441 -4.41,4.41006 v 26.60771 c 0,2.43565 1.97437,4.41001 4.41,4.41001 h 26.60777 c 2.43565,0 4.41,-1.97436 4.41,-4.41001 v -26.60771 c 0,-2.43565 -1.97435,-4.41006 -4.41,-4.41006 z m 17.47394,3.4782 -10.11165,6.97481 v 14.52172 l 10.11165,6.96561 c 1.95595,1.34699 4.64998,-0.0278 4.64998,-2.3803 v -23.70155 c 0,-2.34338 -2.68482,-3.72733 -4.64998,-2.38029 z" + id="path1514-6-7" /> + </g> + </g> +</svg> diff --git a/AleePlayer.desktop b/AleePlayer.desktop new file mode 100644 index 0000000..7367d8e --- /dev/null +++ b/AleePlayer.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=AleePlayer +Comment=Music Player by Alee Productions +Exec=AleePlayer +Icon=ALP.png +Categories=Audio; diff --git a/AleePlayer.pro b/AleePlayer.pro index 1e93944..b40e961 100644 --- a/AleePlayer.pro +++ b/AleePlayer.pro @@ -1,5 +1,4 @@ -QT += core gui -QT += multimedia +QT += core gui multimedia greaterThan(QT_MAJOR_VERSION, 4): QT += widgets @@ -32,6 +31,7 @@ FORMS += \ TRANSLATIONS += \ AleePlayer_en_CA.ts + # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin @@ -1,12 +1,12 @@ -#include <iostream> #include "player.h" #include <QMessageBox> +#include <QDebug> #include <QApplication> int main(int argc, char *argv[]) { - std::cout << "AleePlayer: A music player by Alee Productions. Licensed with GPL-3.0\n"; + qInfo() << "AleePlayer: A music player by Alee Productions. Licensed with GPL-3.0\n"; QApplication a(argc, argv); Player musicPlayer; musicPlayer.show(); @@ -1,4 +1,3 @@ -#include <iostream> #include "player.h" #include "ui_player.h" #include "about.h" @@ -17,7 +16,7 @@ Player::Player(QWidget *parent) Player::~Player() { - std::cout << "Closing AleePlayer...\n"; + qInfo() << "Closing AleePlayer...\n"; mPlayer->deleteLater(); delete ui; } |
