| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Stop the dance in setDuration. Get rid of the function and use
TagLib::File::AudioProperties in play() to set it.
|
|
|
|
| |
The infrastructure was there, just not used...
|
|
|
|
|
| |
Display the appropriate status in statusBar. Don't use
QMediaPlayer::State, but QMediaStatus::MediaStatus to signal EOF.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
Display in statusBar:
* viewMode
* number of files in playlist
* length of playlist in h:m:s
* player status (Stopped, Playing, Paused)
|
|
|
|
| |
Kinda works, but expect unexpected bugs :)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
| |
It's no notepad...
|
| |
|
| |
|
|
|
|
|
| |
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...
|
| |
|
|
|
|
| |
Show VA if there are more than 1 artists, otherwise the artist's name.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
The QPushButtons took too much real estate, so turn them into QActions
in a Toolbar.
Also rename mFilter to the more appropriate mSearch.
|
|
|
|
| |
Also return after setting the view back to artists.
|
|
|
|
|
|
| |
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!
|
| |
|
|
|
|
| |
when the current one has finished.
|
| |
|
| |
|
|
|
|
|
| |
Actually make play, pause and stop do something.
Also implement mute and volume control.
|
|
|
|
| |
Far from there, but it finally, actually plays songs!
|
|
|
|
| |
Hard code limit to 1000 songs.
|
|
|
|
| |
And add some artwork for icons...
|
|
|
|
|
| |
The SQL query for genres was wrong. Copy and Paste error. Also mark
songs as songs when filtering.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
and got rid of the TabWidget!
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
where needed
|
|
|
|
| |
Didn't work out...
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
| |
...again
|
|
|
|
|
|
| |
Well, as it turns out, an artist is not married to an album, but to a
song, and so is the genre. Adjust the database layout, indexer and view
accordingly.
|
| |
|
|
Does nothing yet, just for show :)
|