summaryrefslogtreecommitdiffstats
path: root/helper.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement color choosing dialog for QTreeViewsArno2017-03-071-0/+4
| | | | | 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...
* Implement statusBarArno2017-03-051-0/+1
| | | | | | | | Display in statusBar: * viewMode * number of files in playlist * length of playlist in h:m:s * player status (Stopped, Playing, Paused)
* Implement expand and collapse for DB viewArno2017-03-051-0/+14
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...