| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Hmm, this shouldn't be so hard. Quite a lot of code for such an easy
thing, but maybe it's just me and I'm over-complicating things...
|
|
|
|
|
|
|
|
| |
Display in statusBar:
* viewMode
* number of files in playlist
* length of playlist in h:m:s
* player status (Stopped, Playing, Paused)
|
|
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...
|