Commit Graph

100 Commits

Author SHA1 Message Date
craig.p.drummond
fdf3a97f4e Add other tabs 2014-04-11 17:40:42 +00:00
craig.p.drummond
b119ad0c65 Put plural translations in separate source files. 2014-03-25 20:11:58 +00:00
craig.p.drummond
c1a1f90f4c More Song::formattedTime into Utils class 2014-03-19 19:47:47 +00:00
craig.p.drummond
7bcb40d159 Use Q_GLOBAL_STATIC for Qt only builds 2014-03-17 19:52:47 +00:00
craig.p.drummond
b47bedab07 Create a 'Page' interface class, and use as base class for all pages. Mainwindow can now just store a pointer to the current page, and call relevant functions on this. 2014-02-06 19:50:16 +00:00
craig.p.drummond
b058a97b17 Dont display duration for smart-playlists - will be 0 2014-02-04 19:14:44 +00:00
craig.p.drummond
4d809330ea Create a base class for TableViews 2014-02-04 19:14:11 +00:00
craig.p.drummond
3880bce631 Only translate "Unknown" and "Various Artists" once 2014-01-29 19:15:57 +00:00
craig.p.drummond
4af9ea0d04 Fetch playlist contents when length is requested.
BUG: 399
2014-01-28 22:37:10 +00:00
craig.p.drummond
6e8b7a75cb Only column 0 has children... Caught by running model test :-) 2014-01-28 22:11:06 +00:00
craig.p.drummond
a77d285877 Coding style... 2014-01-28 19:13:26 +00:00
craig.p.drummond
c0a0751643 Add 'Table' style view for playlists.
BUG: 391
2014-01-27 19:37:54 +00:00
craig.p.drummond
1a2c7eb0b0 If Mopidy playlist starts with "Smart Playlist:" then treat as a 'smart' playlist - e.g. don't try to display song count, don't try to load songs in playlists view, use sub text 'Smart Playlist' (and fix playlist name), and don't allow saving to these playlsts. 2014-01-23 19:52:33 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
b1ff1c0fb1 Use audioFileIcon from Icons 2013-12-18 19:17:05 +00:00
craig.p.drummond
93783e5000 Fix sub-text display in grouped view. 2013-11-26 23:59:11 +00:00
craig.p.drummond
e8f99117ac Only load info of stored playlists when required. 2013-11-26 19:59:57 +00:00
craig.p.drummond
bb2f217304 Add model test code 2013-11-21 18:15:36 +00:00
craig.p.drummond
afd5082a43 Allow to disable playlists model - if so hide playlist actions 2013-11-15 19:39:11 +00:00
craig.p.drummond
7e222b698e Remove unrequired include 2013-10-04 19:05:47 +00:00
craig.p.drummond
13c4d2bfc6 (Hopefully) fix selection order of items - and order added to playqueue. 2013-09-03 18:40:50 +00:00
craig.p.drummond
01080397e4 Dont include qtplural in localize.h - support folder should be as stand-alone as possible 2013-07-18 14:54:10 +00:00
craig.p.drummond
fc392f8858 Add 'Copy Songs To Device' action to playlists page. 2013-06-26 16:19:29 +00:00
craig.p.drummond
dc6e3af0d8 Fix Qt5 segfault on exit, due to static QIcons being destructed. 2013-06-12 19:56:59 +00:00
craig.p.drummond
cf54c3faad Only create new playlist act once 2013-04-06 07:41:27 +00:00
craig.p.drummond
755e1217d2 Remove icons from menu for Qt5 QGtkStyle 2013-03-13 19:50:54 +00:00
craig.p.drummond
7417f9040d - Move common actions into StdActions
- Models are in control of what actions are show at what level
2013-02-18 17:07:46 +00:00
craig.p.drummond
c60604502f Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
9ef4608666 Playlist editing fixes? 2013-01-21 19:51:26 +00:00
craig.p.drummond
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
2d8a613c24 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond@gmail.com
c004974d3e Update 'Add To Playlist' menu when rename a playlist.
BUG:112
2012-10-16 12:18:31 +00:00
craig.p.drummond
094354c66b Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
e5793d6b52 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
e704299f24 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
ee457e227c Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
de7478723f Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
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
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
8894263b1f More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond
3d4c516184 Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond
f31a7264cd Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond
f5f3114145 Reduce KDE/Qt code duplication - by creating dummy Dialog, MessageBox, and InputDialog classes/namespaces for Qt. 2012-05-31 17:45:57 +00:00
craig
1cc7520751 Update grouped-view controlled albums set when we update model 2012-04-16 18:36:02 +00:00
craig
7078e6c7df Save/restore current index - like we do with playqueue.
Also, try to ensure an item is selected - in case we are delteing items
2012-04-04 20:25:23 +00:00
craig
04ae381df7 Drag'n'drop fix?? 2012-03-26 19:41:37 +00:00
craig
2c1b796e96 Fix removing, and moving, songs??? 2012-03-26 19:26:56 +00:00
craig
278cd9d3c0 Fix incremental updates 2012-03-26 18:48:54 +00:00
craig
2c8f3d4d61 Make play list menu order consistent with view order 2012-03-23 20:35:34 +00:00