Commit Graph

415 Commits

Author SHA1 Message Date
craig.p.drummond@gmail.com
1832ab8dc7 Use lupdate/lrelease for generating Qt translations from KDE ones.
Hack-around issues with Qt plural forms - use 'Tracks: 2' instead of '2 Tracks'
2012-09-03 11:27:16 +00:00
craig.p.drummond
f3518db48b Fix compilation!!!! 2012-09-02 20:17:35 +00:00
craig.p.drummond
5c7d22c72d Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
c7006bfaab Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond
49cc24eb46 Completly remove android changes - this NEVER worked very well, and never will with QWidgets :-( 2012-08-30 19:43:32 +00:00
craig.p.drummond
2034c11660 Force single-click activation in views. To enable double-click mode (which depends upon the style), edit cantatarc (KDE) or cantata.conf (Qt only) and set 'forceSingleClick=false' in the '[General]' section. 2012-08-30 19:37:59 +00:00
craig.p.drummond@gmail.com
9fd4109300 Fix MPD dir accessibility check for qt builds 2012-08-23 17:49:59 +00:00
craig.p.drummond@gmail.com
def05566fc Include kdeversion.h for KDE_IS_VERSION macro 2012-08-22 12:22:30 +00:00
craig.p.drummond@gmail.com
56c05ef290 For KDE<4.9 or Qt (Linux) builds, monitor /proc/mounts for changes - to know whether MPD dir is accessible or not. 2012-08-22 11:28:00 +00:00
craig.p.drummond@gmail.com
d96f457a6b When displaying year, get the year from the album - as this maybe different per track of album (if the album is a compilation) 2012-08-21 17:55:30 +00:00
craig.p.drummond@gmail.com
b9fd3eb225 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
ac5bcc0d31 If we have no song tag details, show filename in playqueue.
BUG:59
2012-08-21 11:28:52 +00:00
craig.p.drummond@gmail.com
458cead912 Dont need to stop dynamizer unless connection details have changed. 2012-08-16 17:14:32 +00:00
craig.p.drummond@gmail.com
5a61cf0609 When press CTRL-F, put focus on playqueue search if its currently on one of the playqueue buttons. 2012-08-15 11:13:49 +00:00
craig.p.drummond@gmail.com
4147e69835 Allow 'showPage' dbus command to also show playqueue (if this has been placed in the sidebar) 2012-08-15 11:12:55 +00:00
craig.p.drummond@gmail.com
ac5ac8a177 More consistent control of prev/next buttons. 2012-08-15 11:12:33 +00:00
craig.p.drummond@gmail.com
c7088e59bf Dont attempt to get current song if we are still inactive 2012-08-15 11:12:13 +00:00
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