summaryrefslogtreecommitdiffstats
path: root/playerwidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add view for added by dateArno2017-05-021-0/+84
|
* Added navigation for folder modeArno2017-04-091-2/+47
|
* Show volume as tray icon messageArno2017-04-091-9/+25
| | | | | | | | | Use a QTimer to prevent the messages to pile up on every volume change. Only show it when the timer isn't running. The timeout value of 500msecs is totally arbitrary. The mStarting thingy prevents showing the message twice while constructing (setupGui and readSettings).
* Remove tool windowArno2017-04-091-20/+0
| | | | It was kinda useless, didn't work out, sorry, ToolWindow :)
* Add refresh action for folder modeArno2017-04-091-0/+6
|
* Show Popup-Window on various occasionsArno2017-03-251-0/+27
| | | | | | | | | When we play a new song, get paused, continue and change volume. The hardest part was to display the QWidget on the current desktop. Turns out KWindowSystem and Qt::ToolWindow don't work together well... I should post that on my blog, I guess...
* Change to new style connect syntaxArno2017-03-241-48/+44
| | | | | | | | Quite some code churn, but I like the idea that wrong connections are compile time errors. Since I had to get rid of default arguments in Slots, this simplified things in doPopulateByFolder...
* Fix deleting filesArno2017-03-201-1/+4
| | | | Don't delete the parent directory recursively when deleting files...
* Implement select, deselect all and delete for folder viewArno2017-03-201-0/+71
| | | | | | CTRL++ -> select pattern CTRL+- -> deselect all Delete -> Delete selected files
* Use $HOME as start when the saved dir doesn't exist any moreArno2017-03-191-0/+4
|
* Quit BeetPlayer when closing the main windowArno2017-03-081-1/+0
| | | | Adding QSystemTrayIcon actually changed that behavior...
* Set the tooltip for the tray icon in playCurrentArno2017-03-081-4/+2
| | | | Otherwise it won't advance to the next song...
* Create tray icon with a context menuArno2017-03-081-0/+28
|
* Add bindings for global KDE shortcutsArno2017-03-071-0/+47
| | | | | Hell, this was much harder than it should be. The API documentation is crap and I didn't find a single decent example with my google foo!
* Use the new color settings, make it buunt!Arno2017-03-071-0/+2
|
* Set correct window title when changing from pause to playArno2017-03-071-2/+3
|
* Implement help and about dialogsArno2017-03-061-0/+21
|
* Read and write settingsArno2017-03-061-1/+22
|
* Show messages when changing viewArno2017-03-061-0/+12
|
* Set appropriate window titleArno2017-03-061-5/+11
|
* Remove obsolete connection to setDuration(qint64)Arno2017-03-061-1/+0
|
* Add view: searchArno2017-03-061-5/+14
|
* Fix display of lengthArno2017-03-061-14/+8
| | | | | Stop the dance in setDuration. Get rid of the function and use TagLib::File::AudioProperties in play() to set it.
* Search for albums, tooArno2017-03-061-0/+1
| | | | The infrastructure was there, just not used...
* Fix player statusArno2017-03-051-18/+36
| | | | | Display the appropriate status in statusBar. Don't use QMediaPlayer::State, but QMediaStatus::MediaStatus to signal EOF.
* Fix play ButtonArno2017-03-051-2/+18
| | | | | Print a statusbar message when the playlist is empty. If it isn't empty, but nothing is selected, select the first entry and play it.
* Implement statusBarArno2017-03-051-9/+41
| | | | | | | | Display in statusBar: * viewMode * number of files in playlist * length of playlist in h:m:s * player status (Stopped, Playing, Paused)
* Implemet Filesystem ViewArno2017-03-051-6/+85
| | | | Kinda works, but expect unexpected bugs :)
* Implement expand and collapse for DB viewArno2017-03-051-3/+29
| | | | | | | | | | | | | Sounds easy, right? It is, if you don't try to create a QIcon from a QChar. That took me a while... First, it's not a good idea to fill the QPixmap for the QIcon with transparency. That gives you a random background. Fill it with palette color instead. Then there's QFont's pixelSize(). I have absolutely no idea how it corresponds to the pixmap's size, but roughly double the width of the pixmap is a good guess...
* Ensure that Length: is only printed onceArno2017-03-051-0/+5
|
* Set mCurrentTE read-onlyArno2017-03-051-0/+1
| | | | It's no notepad...
* Add Action to View: clear and playArno2017-03-051-0/+11
|
* Change icon for clearing searchArno2017-03-041-1/+1
|
* Fix display of current lengthArno2017-03-041-3/+3
| | | | | The player is a strange beast. Calculate the duration after the new song has been triggered. The results were more or less randon, I guess...
* Make Playlist non-editableArno2017-03-041-0/+1
|
* Show artist when viewing by albumArno2017-03-041-3/+12
| | | | Show VA if there are more than 1 artists, otherwise the artist's name.
* Introduce different viewsArno2017-03-041-10/+129
| | | | | | | | | * view by artist (already there) * view by album * view by song * view by genre Doesn't work as expected, so it's likely gonna change soon.
* Replace Filter buttons with Toolbar+ActionsArno2017-03-041-12/+14
| | | | | | | The QPushButtons took too much real estate, so turn them into QActions in a Toolbar. Also rename mFilter to the more appropriate mSearch.
* Set BusyCursor in doFilter()Arno2017-03-041-0/+4
| | | | Also return after setting the view back to artists.
* Change artworkArno2017-03-041-10/+23
| | | | | | Add icons for genres, songs, albums and artists. As it turns out, you really should use the copy constructor of QIcon. Speeds up things considerably!
* Show info when playing fileArno2017-02-271-3/+24
|
* Advance to next song from playlistArno2017-02-271-2/+8
| | | | when the current one has finished.
* Implement Song SliderArno2017-02-271-0/+24
|
* Implement previous and nextArno2017-02-271-6/+44
|
* Implement basic play controlsArno2017-02-271-10/+60
| | | | | Actually make play, pause and stop do something. Also implement mute and volume control.
* Finally play something!Arno2017-02-271-0/+16
| | | | Far from there, but it finally, actually plays songs!
* Implement random selectionArno2017-02-271-0/+22
| | | | Hard code limit to 1000 songs.
* Implement shuffle playlistArno2017-02-271-0/+21
| | | | And add some artwork for icons...
* Fix filteringArno2017-02-271-2/+2
| | | | | The SQL query for genres was wrong. Copy and Paste error. Also mark songs as songs when filtering.
* Implement clear playlistArno2017-02-271-0/+6
|