Commit graph

39 commits

Author SHA1 Message Date
Thomas Frauendorfer
49e4efad11 OTHER: Make text in textbar dragable. 2008-10-27 07:24:42 +01:00
Thomas Frauendorfer
1fe1c8f9be OTHER: Some cleanups 2008-10-20 03:48:34 +02:00
Thomas Frauendorfer
5e8d83ca8e OTHER: Make 'Quit server on close' option work 2008-10-14 03:56:27 +02:00
Thomas Frauendorfer
ef687a9375 OTHER: implement playtime and playback controls in playlistwindow 2008-10-13 03:59:43 +02:00
Thomas Frauendorfer
eb96c8b75b OTHER: make balance slider work
Implemented balance handling and moved volume slider handling to
lib/xplayback.cpp
2008-10-12 22:47:55 +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
6cf0ad2614 OTHER: Moved some files around
Moved some files that belong to mainwindow into the appropriate subdir
and changed them to lowercase. Changed the includes accordingly
2008-10-02 20:26:54 +02:00
Thomas Frauendorfer
15677bdf39 OTHER: Fixed a memleak in Skin.cpp
Also fixed 2 other minor valgrind warnings
2008-07-17 15:58:31 +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
058e2d0987 OTHER: Replaced SmallNumberDisplay 2008-07-11 03:41:45 +02:00
Thomas Frauendorfer
8221642227 OTHER: Fix crash on disconnected server.
Promoe now displays a message box, telling about what happened and
terminates correctly after that
2008-07-03 10:39:54 +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
221e1255d0 OTHER: Update ShadedDisplay to use new SmallTimeDisplay
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
2008-05-19 21:16:32 +02:00
Thomas Frauendorfer
18bcad6f99 OTHER: Fix timedisplay for playtimes >= 100 minutes
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 '--:--'
2008-05-18 14:04:05 +02:00
Thomas Frauendorfer
fb264e8d0e OTHER: Rewrote TimeDisplay
Positions and sizes of the numbers are now correct
NumberDisplay now unused -> removed
renamed file to lowercase and moved to subdir mainwindow
2008-05-17 06:08:05 +02:00
Thomas Frauendorfer
bece172e92 OTHER: Make pause button toggle play/pause 2008-05-17 04:48:48 +02:00
Thomas Frauendorfer
345f5d930e Cleanup TextBar.h and remove now unused VolumeSlider 2008-05-12 20:45:41 +02:00
Thomas Frauendorfer
60c17af114 Change Sliders to new Slider-class
Use the new PixmapSlider class which is based on Qt's AbstractSlider
class for sliders. This should also fix some offset problems in
PositionSlider which appeared after the introduction of the new Button
class
2008-05-08 04:19:34 +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
08cbc98487 Fix compilation (which was broken in the last commit) 2008-03-22 03:09:30 +01:00
Thomas Frauendorfer
3f8ba378ad Some cleanups, file moves and changes in PlayStatus 2008-03-22 02:54:19 +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
989d699372 Make Windows attached to the Mainwindow snap to Windows they get near and move the mainwindow accordingly 2008-02-29 18:23:06 +01:00
Thomas Frauendorfer
553138578d Attach Windows to mainwindow on startup 2008-02-29 15:27:34 +01:00
Thomas Frauendorfer
77f8c332f1 Windows snapped to the mainwindow now move, if the mainwindow is moves 2008-02-29 15:24:58 +01:00
Thomas Frauendorfer
94ca829e98 Make windows snap to each other 2008-02-29 12:30:47 +01:00
Thomas Frauendorfer
9772abae05 Fix a graphic bug in monostereo.cpp 2008-02-21 21:22:38 +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
ac44b4efc6 implement equalizer widget. access to legacy equalizer is now possible 2008-02-04 18:26:36 +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