Commit Graph

398 Commits

Author SHA1 Message Date
craig.p.drummond@gmail.com
4c8e7dd67b Use QWIDGETSIZE_MAX and not INT_MAX to set maximum height of expanded interface. 2012-08-15 11:11:36 +00:00
craig.p.drummond
33f4544361 If 'showPage' is called (via DBUS interface), ensure interface is expanded. 2012-08-13 18:55:33 +00:00
craig.p.drummond@gmail.com
266171697b Cant use 'isVisible' to detect when expanded/collapsed - as we might be hidden in system tray!! 2012-08-13 11:07:32 +00:00
craig.p.drummond
9bbfe046c7 Show current song details in tooltip of notification icon for Qt builds as per KDE builds. 2012-08-12 17:15:59 +00:00
craig.p.drummond
9fa4d74880 In Qt (Linux) build, also register org.kde.cantata service - so that messages from dynamic helper can be recieved. 2012-08-12 14:13:33 +00:00
craig.p.drummond@gmail.com
319293c6f6 Fix some sizing issues 2012-08-10 12:39:37 +00:00
craig.p.drummond
5dd0942066 - Reset status when connection lost.
- Dont attempt to send commands if not connected.
2012-08-09 20:57:15 +00:00
craig.p.drummond
14bed7ca3a If we show an error, or info, message whilst using compact interface - then adjust size to take message widget into account. 2012-08-09 20:26:42 +00:00
craig.p.drummond
6a09f94b64 More work on reconnectnig after 'resume'
- Use a QTimer, so that we can have queued connection
- Show info mesasge (if taken longer than 1 second) to indicate that we are resuming
2012-08-09 19:44:33 +00:00
craig.p.drummond@gmail.com
d3f8a54311 When restoring window from notification area, also raise and activate the window. 2012-08-08 11:42:32 +00:00
craig.p.drummond
abc80ebf47 To help with windows build, embed pre-rendered versions of main icon. 2012-08-07 19:38:33 +00:00
craig.p.drummond
6c379c693d Rename 'small' parameter - to fix build issue with windows. 2012-08-06 19:07:12 +00:00
craig.p.drummond@gmail.com
55af254f81 Fix crash when toggling playqueue in sidebar at application start-up.
BUG:48
2012-07-23 10:51:46 +00:00
craig.p.drummond
e8007615ee When fading on stop, reset original volume immediately before sending stop.
BUG:46
2012-07-10 20:18:35 +00:00
craig.p.drummond
65f03c0229 Dont update MPD volume just after we receive a status update - as MPD already has that setting! Fixes an issue with pulseaudio setups - where MPD disconnects from pulse audio, tells cantata that volume is -1, and cantata attempts to set volume to 0.
BUG:46
2012-07-10 20:09:10 +00:00
craig.p.drummond@gmail.com
674fff8fed When expanding interface, set max size to INT_MAX. Otherwise, on windows at least, the maximise button can get disabled.
BUG:45
2012-07-10 17:36:01 +00:00
craig.p.drummond@gmail.com
7a4257127b Ensure correct phonon state at start-up. 2012-07-10 17:14:35 +00:00
craig.p.drummond@gmail.com
0f5e9e9ffb Display version number in Qt-only about dialog. 2012-07-10 12:06:53 +00:00
craig.p.drummond
9e9d390b21 Detect when this is the first time a user has run Cantata. If so, don't place the play queue in the sidebar. 2012-07-09 18:41:44 +00:00
craig.p.drummond
badbe953c1 Fix auto-hiding splitter issues when toggle playqueue in sidebar:
1. Autohide is off, play queue is placed in the right part of the splitter (as in previous versions of Cantata), and the splitter handle is set to about 0.5 of whole windows width
2. Turn on sidebar autohide
3. Place the play queue in the sidebar
4. Remove the play queue from the sidebar
5. Result: the sidebar autohides (as expected), but occupies the whole width when expanded (and not the 0.5, as previously). 

Patch by Piotr Wicijowski
2012-07-03 19:35:46 +00:00
craig.p.drummond
773488ff8a Fix spelling!!!! 2012-07-03 18:43:42 +00:00
craig.p.drummond
81016aa112 Add default priority action 2012-07-03 18:40:33 +00:00
craig.p.drummond
78f1887fda Stop position timer whilst dragging slider. 2012-07-03 18:40:09 +00:00
craig.p.drummond
73de313ab5 Fix setting custmo priority in play queue. 2012-07-03 18:39:51 +00:00
craig.p.drummond
ce59bd7a36 - Use better names for library/folder loading signals.
- Don't pass dbDateTime into load function, instead store dbDateTime in connection and use this.
- Don't store db time all over the place in the GUI thread, turn MPDStats into a singleton like MPDStatus and use that
2012-06-27 17:05:48 +00:00
craig.p.drummond@gmail.com
a8be23dc18 Create a dummy clas for PlayQueuePage, so that when we save its name to the config file we get a more meaningfull name. 2012-06-26 11:10:39 +00:00
craig.p.drummond
4d84ed59fd Always add auto-hide splitter action to sidebar menu. Just change the visibility of this when playqueue is added/removed from sidebar.
BUG:38
2012-06-25 18:03:26 +00:00
craig.p.drummond
89518fc423 When main window recieves a closeEvent, ignore the event but call quit action. Destroy main window in app destructor.
BUG:39
2012-06-25 18:03:03 +00:00
craig.p.drummond
52dee325e6 Android: More improvements, still not really useable. :-( 2012-06-23 11:59:15 +00:00
craig.p.drummond
e5cfb4f8b0 Android: configure colour, font, and some style settings 2012-06-22 15:57:16 +00:00
craig.p.drummond
bdb679fec3 Only show number of tracks, and duration, in playqueue status - consistent with other players. 2012-06-22 15:53:40 +00:00
craig.p.drummond
b3f36f1cae Android: more sizing fixes 2012-06-22 15:51:13 +00:00
craig.p.drummond
86119efb0d Save splitter state 2012-06-20 20:33:40 +00:00
craig.p.drummond
7be4593875 Resize message widget when change orientation 2012-06-20 17:02:47 +00:00
craig.p.drummond
96234d4bee Android: Control location of sidebar depeding upon orientation. 2012-06-20 16:19:53 +00:00
craig.p.drummond
7e0be760f6 More work on android build - now have icons :-) 2012-06-20 05:57:40 +00:00
craig.p.drummond
8894263b1f More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond
06f3d61818 Fix global shortcuts in qt-only build 2012-06-19 15:45:18 +00:00
craig.p.drummond
08205662ee Initial support for android (Necessitas) build.
NOTE: This is *very* much a WORK IN PROGRESS. There are *lots* of missing icons, fonts are a bit too big, etc.
2012-06-18 23:00:22 +00:00
craig.p.drummond
6960b056d4 Add keyboard short-cut for 'back' icon in listviews. 2012-06-18 18:25:54 +00:00
craig.p.drummond
8991ad4287 Add option to place playqueue in sidebar. 2012-06-18 18:25:28 +00:00
craig.p.drummond
69112bdfc2 - Adjust size of covers in grouped view, icons in views, and main cover preview based upon font size.
- Add an extra cover-size setting (Automatic) which will adjust the covers in library and albums view based upon font size.
2012-06-18 18:23:47 +00:00
craig.p.drummond
c1c61ce0d4 Make TagLib optional. 2012-06-18 18:22:58 +00:00
craig.p.drummond
26b3bdc59c Fix saving/reading/updating connection details. 2012-06-15 22:36:55 +00:00
craig.p.drummond
7b9a6c5c9b Dont crash when close window! 2012-06-15 22:21:32 +00:00
craig.p.drummond
e5c17d08fd Only ignore closeEvent if this is a 'spontaneous' event and we have a tray icon.
BUG:21
2012-06-15 20:27:39 +00:00
craig.p.drummond
ab8ea09330 Correct icon! 2012-06-15 19:50:49 +00:00
craig.p.drummond
bcaafe09ae Adjust images when change sizes. 2012-06-15 19:40:41 +00:00
craig.p.drummond
5bff55a584 Support MPD queue functionality. Add an 'Add With Priority' to menu of library, etc, views. Add a 'Set Priority' to play queue. Requires MPD 0.17.0 or newer. 2012-06-15 19:05:14 +00:00
craig.p.drummond@gmail.com
fc7f4ab98e Add option to specify HTTP server listen address/interface. 2012-06-15 11:40:53 +00:00