I don't know under which license CleanAMP is provided, and I don't want to take
any risks, so I had to replace it. As the default skin is included in the
binary, it might be even necessary for it to be GPL, so I choose the debranded
Almond-blue skin for the time beeing.
Added creator of Almond-blue to AUTHORS file
Also added some magic to make it easier to add new skins through the resource
system
When promoe was minimized or on a different virtual desktop when it was quit,
the visible setting of playlist and equalizer was set to false.
So even when those two were visible before switching to a different desktop
they where set to closed when promoe was started the next time
It's now no longer necessary to restart promoe for new settings to take effect.
The Signal is piped through Application.
Updated the classes that are affected by settings changes
Removed some now unused code from XMMSHandler
Make getPixmap return a QPixmap instead of a QPixmap * (Make use of Qt's implicit sharing) and update the rest of the class accordingly
Make all BuildSomething methods return a bool to indicate if creating the corresponding bitmaps was sucessfull. Move setting skin to default if parsing a skin was unsuccessful to setSkin
PixWidget sole purpose was to paint a given pixmap. Some of PixWidgets
child classes had to create that pixmap from some other pixmaps. Thus
PixWidget introduced some kind of unnecessary double buffering.
Furthermore, those pixmaps where created even if a widget wasn't
visible. Painting directly to the widget and calling the 'update ()'
method on changes might allow Qt to do some performance optimizations.
Most likely they will be to small to be noticable though.
I also disabled the shortcuts of the titlebarmenu. They were diplayed in
the menu but didn't work. As soon as I figure out how to get them
working again I will enable them again
Wrote some own functions to hande pkg-config includes.
now Makefile generation will stop if xmms2-client-cpp.pc is missing
Now, compilation should work, even if xmms2-client-cpp development files
where installed after qmake das called for the first time.
also enabled adding files in the playlistview contextmenu
split Timedisplay into a common class and a specialised class and make
new SmallTimeDisplay inherit from the common class. Thus as much code as
possible is reused in SmallTimeDisplay
If the playtime is bigger or equal to 100 minutes, timedisplay shows
hours and minutes now, if playtime is bigger or equal to 100 hours,
timedisplay gives up and only showes '--:--'
Moved positions and sizes of close and shade buttons to Skin
changed buttons to use PixmapButton
moved buttons from PlaylistWindow to PlaylistWidget and PlaylistShade
removed now unused Button
fixed position of shadebutton (was off by 1)
fixed icon of shade button in shaded mode