Commit graph

249 commits

Author SHA1 Message Date
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
63def9b10b OTHER: Some cleanups
Whitespace cleanups and small changes to SkinChooser
2008-09-22 20:47:10 +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
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
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
1fa72bd3f0 OTHER: Update promoe to the latest api change (currentPos)
At the moment the api change has not yet reached the c++ bindings in
xmms2-devel.
get patch for bug #1973 if necessary
2008-05-19 16:44:50 +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
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
f0211e3958 OTHER: Fixes to Skin handling
Fixed grapicglitches in equalizer, and added close button to equalizer
2008-05-16 01:55:25 +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
1bc5d6fb02 OTHER: Fixed mistake in fix for BUG 1963 2008-05-15 03:25:59 +02:00
Thomas Frauendorfer
ca0582e1cc BUG(1963): update promoe to playlist position broadcast
Promoe should still compile with DrK. If you compile against -devel,
you need the fix for Bug 1965 from xmms2-eclipser.git
2008-05-14 17:51:36 +02:00
Thomas Frauendorfer
38431358ae OTHER: Some Header cleanups 2008-05-14 17:18:26 +02:00
Thomas Frauendorfer
345f5d930e Cleanup TextBar.h and remove now unused VolumeSlider 2008-05-12 20:45:41 +02:00
Thomas Frauendorfer
c30d2c2285 Fixed scrolling in Textbar 2008-05-12 15:45:31 +02:00
Thomas Frauendorfer
5c2b669285 Small fix to make promoe compile with g++-4.3 and Qt-4.4 2008-05-09 17:26:39 +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
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
88b8ab8683 Add install target. promoe is installed to /usr/local/bin
The install path is fixed for now (to modify change config.pri).
2008-03-11 17:03:28 +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
25e24dc9c7 OTHER: updated README file and modified AUTHORS file
Added information about how to report bugs and how to send patches to README
file and clarified who develops promoe at the moment (whom to bug)
2008-03-03 01:59:26 +01:00
Thomas Frauendorfer
b48997d0bf Fix a small glitch with windows snapping 2008-02-29 18:43:52 +01:00
Thomas Frauendorfer
4e8144732e Remove some commented out, unused code I forgot to remove in the last commit 2008-02-29 18:30:57 +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
c7531032d7 Add new files forgotton in last commit 2008-02-29 12:31:43 +01:00
Thomas Frauendorfer
94ca829e98 Make windows snap to each other 2008-02-29 12:30:47 +01:00
Thomas Frauendorfer
ab988d8496 README file updated and enhanced 2008-02-29 02:30:19 +01:00
Thomas Frauendorfer
3a74436a2e Fix a warning on string comparison 2008-02-29 00:29:07 +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
9772abae05 Fix a graphic bug in monostereo.cpp 2008-02-21 21:22:38 +01:00
Thomas Frauendorfer
ec50cbdbeb Fix a crash introduced in the last commit 2008-02-17 18:14:48 +01:00