summaryrefslogtreecommitdiffstats
path: root/playerwidget.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement view for WebRadioArno2017-08-261-1/+4
| | | | does nothing yet, doesn't crash, either :)
* Add shortcut to filter band from PlaylistArno2017-07-061-0/+1
|
* Implemented MusicBrainz lookupArno2017-07-061-2/+7
| | | | | | | | | | Wow, what a convoluted api, to say the least... They have documentation, which is good, but the query syntax definitely needs more explaining, foremost how to encode non-ASCII characters and names with whitspaces... Well, it kinda works, but the Other Albums sections can be waaaaay off...
* Add context menu entry for MusicBrainzArno2017-07-061-0/+1
| | | | Also add a dummy slot that does nothing yet.
* List files appropriate for musicbrainzArno2017-06-181-1/+1
|
* Display properties of selectionArno2017-05-051-0/+3
| | | | | either left or right. Worked immediately. There have to be subtle bugs or something. Cannot believe that it's bug free!
* Factor out file infoArno2017-05-051-0/+3
| | | | Implement function for displaying file info from TagLib.
* Add views for selected filesArno2017-05-051-0/+2
| | | | | Create separate displays for selected on the database side and the playlist side.
* Add view for added by dateArno2017-05-021-0/+2
|
* Added navigation for folder modeArno2017-04-091-0/+5
|
* Show volume as tray icon messageArno2017-04-091-0/+5
| | | | | | | | | 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-2/+0
| | | | It was kinda useless, didn't work out, sorry, ToolWindow :)
* Add refresh action for folder modeArno2017-04-091-0/+1
|
* Show Popup-Window on various occasionsArno2017-03-251-0/+3
| | | | | | | | | 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-1/+1
| | | | | | | | 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...
* Implement select, deselect all and delete for folder viewArno2017-03-201-0/+8
| | | | | | CTRL++ -> select pattern CTRL+- -> deselect all Delete -> Delete selected files
* Quit BeetPlayer when closing the main windowArno2017-03-081-2/+1
| | | | Adding QSystemTrayIcon actually changed that behavior...
* Create tray icon with a context menuArno2017-03-081-0/+3
|
* Add bindings for global KDE shortcutsArno2017-03-071-0/+4
| | | | | 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!
* Set correct window title when changing from pause to playArno2017-03-071-0/+1
|
* Implement help and about dialogsArno2017-03-061-0/+1
|
* Read and write settingsArno2017-03-061-0/+4
|
* Set appropriate window titleArno2017-03-061-0/+2
|
* Add view: searchArno2017-03-061-0/+1
|
* Fix display of lengthArno2017-03-061-1/+0
| | | | | Stop the dance in setDuration. Get rid of the function and use TagLib::File::AudioProperties in play() to set it.
* Fix player statusArno2017-03-051-1/+4
| | | | | Display the appropriate status in statusBar. Don't use QMediaPlayer::State, but QMediaStatus::MediaStatus to signal EOF.
* Fix play ButtonArno2017-03-051-0/+1
| | | | | 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-1/+10
| | | | | | | | 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-1/+4
| | | | Kinda works, but expect unexpected bugs :)
* Implement expand and collapse for DB viewArno2017-03-051-0/+2
| | | | | | | | | | | | | 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...
* Add Action to View: clear and playArno2017-03-051-0/+1
|
* Introduce different viewsArno2017-03-041-2/+7
| | | | | | | | | * 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-1/+1
| | | | | | | The QPushButtons took too much real estate, so turn them into QActions in a Toolbar. Also rename mFilter to the more appropriate mSearch.
* Show info when playing fileArno2017-02-271-0/+1
|
* Advance to next song from playlistArno2017-02-271-0/+2
| | | | when the current one has finished.
* Implement Song SliderArno2017-02-271-0/+3
|
* Implement previous and nextArno2017-02-271-0/+4
|
* Implement basic play controlsArno2017-02-271-1/+8
| | | | | Actually make play, pause and stop do something. Also implement mute and volume control.
* Finally play something!Arno2017-02-271-0/+2
| | | | Far from there, but it finally, actually plays songs!
* Implement random selectionArno2017-02-271-0/+1
| | | | Hard code limit to 1000 songs.
* Implement shuffle playlistArno2017-02-271-0/+1
| | | | And add some artwork for icons...
* Implement clear playlistArno2017-02-271-0/+1
|
* Implement remove from playlistArno2017-02-271-0/+1
| | | | | | Isn't as easy as it sounds. We have to convert the QModelIndexes to remove into persistant ones, because the row number changes when the first one is removed.
* Implement add to PlaylistArno2017-02-271-1/+5
|
* Turned IndexerWidget into a dialogArno2017-02-261-0/+1
| | | | and got rid of the TabWidget!
* Artwork and GUI modificationsArno2017-02-261-3/+6
| | | | | | | | Added the necessary QActions. Except the ConfigAction they don't do anything yet, but they have nice icons :) I got rid of the menuBar(tm) and added a QToolBar to the center widget instead.
* Implement filteringArno2017-02-251-3/+6
| | | | | | Well, as it turns out, QSortFilterProxyModel isn't the weapon of choice for this. Implement it by creating a separate model which is populated by SQL-Queries.
* Rethink GUIArno2017-02-251-8/+6
| | | | | | | | | | While figuring out how to populate the album view, I realized that I don't want to view my music by albums, only by artist, maybe by genre... So I removed the QComboBox for the different sort orders and concentrated on the filter, which is a good thing (tm). Just make the filter find anything you need. Name/Title is already implemented. Have to think about genre/year...
* Populate albumsArno2017-02-251-0/+2
|
* Implement basic player layoutArno2017-02-251-0/+42
Does nothing yet, just for show :)