Commit graph

46 commits

Author SHA1 Message Date
Thomas Frauendorfer
8267d2e93c OTHER: small fix for time formating in playlist 2009-07-17 11:35:23 +02:00
Henrik Grindal Bakken
9e1b318854 BUG(2229): Fix compiling with g++ 4.4
The correct header would be cstdint, but it isn't in the c++ standard yet
2009-07-06 23:25:02 +02:00
Thomas Frauendorfer
9e1aa92d20 OTHER: show playlist and selection playtimes in playlistwindow 2009-01-07 02:53:59 +01:00
Thomas Frauendorfer
c682233749 OTHER: scroll playlist to current entry 2008-12-14 23:55:56 +01:00
Thomas Frauendorfer
c7e1a7fa6b OTHER: Fix memleak and fixed small bug in hideEvent handlers
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
2008-11-29 16:20:03 +01:00
Thomas Frauendorfer
982660510a OTHER: get rid of XMMSHandler and update classes using it 2008-11-04 19:50:28 +01:00
Thomas Frauendorfer
786b745d55 OTHER: move togglePlaytime to Application class and some other small fixes 2008-11-04 14:26:19 +01:00
Thomas Frauendorfer
d0d07f7553 OTHER: Make the settingsdialog emit a settingsChanged Signal
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
2008-10-31 04:53:09 +01:00
Thomas Frauendorfer
1fe1c8f9be OTHER: Some cleanups 2008-10-20 03:48:34 +02:00
Thomas Frauendorfer
ef687a9375 OTHER: implement playtime and playback controls in playlistwindow 2008-10-13 03:59:43 +02:00
Thomas Frauendorfer
096ac37121 OTHER: removed PixWidget
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
2008-10-03 01:22:40 +02:00
Thomas Frauendorfer
20cfdad68d OTHER: Replaced code for current_id handling
Now the current_id changed broadcast is handled in xclientcache, the now
unused code from XMMSHandler has been removed
2008-07-12 06:12:20 +02:00
Thomas Frauendorfer
a89be5dd9b Other: change how pkg-config includes are handeles
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
2008-07-04 00:40:56 +02:00
Thomas Frauendorfer
c0ca792481 Fix problem with utf-8 charactes in playlist names
If a playlist had utf-8 characters in it's name, promoe couldn't switch
to it.
Also move another function from XMMSHandler to class in lib
2008-07-02 19:25:57 +02:00
Thomas Frauendorfer
d1a98b5367 Fix bug when used together with metacity
The playlist and equalizer windows where hidden when switching to
another desktop
2008-06-09 03:12:51 +02:00
Thomas Frauendorfer
bece172e92 OTHER: Make pause button toggle play/pause 2008-05-17 04:48:48 +02:00
Thomas Frauendorfer
4eb7762009 OTHER: Modified buttons in PlaylistWindow
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
2008-05-16 16:46:07 +02:00
Thomas Frauendorfer
b4e4b365b3 OTHER: Fixed playlist scrollbar
The playlistscrollbar is now also visible if the playlist was open on
program start.
Also fixed grapics glitches in small numbers after Skin change
Updated dependencies in README (because of API change in
broadcastCurrentPos)
2008-05-15 08:37:02 +02:00
Thomas Frauendorfer
d3e140ad0e Changed handling of buttons
Use PixmapButton in most cases insteas of Button or ToggleButton
Moved positions and sizes of the buttons to Skin and let it return QIcons instead of Pixmaps
2008-03-26 02:44:32 +01:00
Thomas Frauendorfer
3f8ba378ad Some cleanups, file moves and changes in PlayStatus 2008-03-22 02:54:19 +01:00
Thomas Frauendorfer
a5e35d986e Added PlaylistChooser to PlaylistView's contextmenu 2008-03-22 00:54:36 +01:00
Thomas Frauendorfer
220c124447 Change PosBar to use the new PixmapSlider class 2008-03-21 22:43:21 +01:00
Thomas Frauendorfer
6e7e2c2184 Added a PixmapSlider class and changed Slider to inherit from it.
PixmapSlider is a subclass of QAbstractSlider.
It is independent of Skin.cpp. Slider is now only a wrapper to update the
QPixmaps on a skin change.
removed a workaround from equalizerwidget, that was necessary for the previous
implementation.
2-3 one line fixes I don't remember
2008-03-13 05:30:00 +01:00
Thomas Frauendorfer
4b90120888 Updated copyright notices in the files (mainly 2007->2008)
Additionaly, I transfer the copyright for nearly all modifications I made
to the XMMS2 Team (The only exception are the files under directory  widgets)
2008-03-09 12:24:36 +01:00
Thomas Frauendorfer
575c4c12dd Fixed two small bugs in EntryInfo and PlaylistWindow 2008-03-09 11:44:49 +01:00
Thomas Frauendorfer
87771bfe11 OTHER: small fix to correctly connect Windows to the mainwindow after a showEvent
Previously a show event in PlaylistWindow and EqualizerWindow didn't connect
those windows to the Mainwindow
2008-03-03 02:06:27 +01:00
Thomas Frauendorfer
94ca829e98 Make windows snap to each other 2008-02-29 12:30:47 +01:00
Thomas Frauendorfer
2b551ef00b Fix a stupid typo and a wrong include (<> instead of "") 2008-02-28 23:48:56 +01:00
Thomas Frauendorfer
ec50cbdbeb Fix a crash introduced in the last commit 2008-02-17 18:14:48 +01:00
Thomas Frauendorfer
5b5600aadd Enable loading playlists from filesystem 2008-02-17 17:49:16 +01:00
Thomas Frauendorfer
6af763a954 Whitespace cleanups and replaceing a functon from XMMSHandler by one in xplayback 2008-02-17 08:12:30 +01:00
Thomas Frauendorfer
8dc34b1759 added a small fileinfo dialog to the playlistwidget 2008-02-14 20:21:13 +01:00
Thomas Frauendorfer
0369b3aa37 implemented repeatbutton 2008-02-12 21:10:24 +01:00
Thomas Frauendorfer
f10cd0465a remove some now unused code from XMMSHandler and clean up headers 2008-02-11 19:28:07 +01:00
Thomas Frauendorfer
e1e809d8fb added dialog to add urls 2008-02-10 10:35:57 +01:00
Thomas Frauendorfer
d93f2ee188 Implement creation, deletion and switching of playlists (Idlists) 2008-02-08 14:36:30 +01:00
Thomas Frauendorfer
ba27687590 renamed XSettings to XConfig. 2008-02-05 08:22:29 +01:00
Thomas Frauendorfer
47d8e323ab make playlist show playtime again 2008-02-01 09:53:10 +01:00
Thomas Frauendorfer
67dade4e4b seperate equalizer.* into equalizerwindow.* and equalizerwidget.*
clean up some headers
2008-02-01 05:57:13 +01:00
Thomas Frauendorfer
a228d7a01b rework PlaylistWindow: move handling of visibilitychanges into Playlistwindow
and rely on signals and slots to get rid of MainWindow::togglePL().
cleaned up some unnecessary includes
2008-02-01 05:16:32 +01:00
Thomas Frauendorfer
b10ef97cfc put PlaylistWindow into an on file 2008-01-31 06:14:51 +01:00
Thomas Frauendorfer
02d2a1a1f4 Start to move mainwindow widgets into a subdirectory,
get rid of some unneeded includes
2008-01-28 17:29:00 +01:00
Thomas Frauendorfer
efa16e9236 rewrote Button and ToggleButton to use the new PixmapButton as baseclass. 2008-01-27 07:58:02 +01:00
Thomas Frauendorfer
b7ae919014 Added GPL-header to files 2008-01-26 06:16:59 +01:00
Thomas Frauendorfer
e677ad6f83 Enable Drag and Drop in playlist 2008-01-26 05:13:42 +01:00
Thomas Frauendorfer
883243a376 Moved some files and minor cleanups 2008-01-24 05:52:52 +01:00