Commit Graph

96 Commits

Author SHA1 Message Date
craig.p.drummond
ff67333643 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
fd8c774b23 Dont display duration for smart-playlists - will be 0 2014-02-04 19:14:44 +00:00
craig.p.drummond
a422c6b2ad Create a base class for TableViews 2014-02-04 19:14:11 +00:00
craig.p.drummond
a542e1e9ca Only translate "Unknown" and "Various Artists" once 2014-01-29 19:15:57 +00:00
craig.p.drummond
df5f1fc34c Fetch playlist contents when length is requested.
BUG: 399
2014-01-28 22:37:10 +00:00
craig.p.drummond
53236767e1 Only column 0 has children... Caught by running model test :-) 2014-01-28 22:11:06 +00:00
craig.p.drummond
746e390b5b Coding style... 2014-01-28 19:13:26 +00:00
craig.p.drummond
cbedf2776d Add 'Table' style view for playlists.
BUG: 391
2014-01-27 19:37:54 +00:00
craig.p.drummond
6d4db7e617 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
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
af5c9b2c84 Use audioFileIcon from Icons 2013-12-18 19:17:05 +00:00
craig.p.drummond
96a4b1a7c2 Fix sub-text display in grouped view. 2013-11-26 23:59:11 +00:00
craig.p.drummond
17fcbee698 Only load info of stored playlists when required. 2013-11-26 19:59:57 +00:00
craig.p.drummond
016a0f724e Add model test code 2013-11-21 18:15:36 +00:00
craig.p.drummond
32e0e2de11 Allow to disable playlists model - if so hide playlist actions 2013-11-15 19:39:11 +00:00
craig.p.drummond
63192dd65e Remove unrequired include 2013-10-04 19:05:47 +00:00
craig.p.drummond
87f3dfccc8 (Hopefully) fix selection order of items - and order added to playqueue. 2013-09-03 18:40:50 +00:00
craig.p.drummond
f0aad581a6 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
29e003c5de Add 'Copy Songs To Device' action to playlists page. 2013-06-26 16:19:29 +00:00
craig.p.drummond
a5622b4682 Fix Qt5 segfault on exit, due to static QIcons being destructed. 2013-06-12 19:56:59 +00:00
craig.p.drummond
699a79d29c Only create new playlist act once 2013-04-06 07:41:27 +00:00
craig.p.drummond
37daf25a84 Remove icons from menu for Qt5 QGtkStyle 2013-03-13 19:50:54 +00:00
craig.p.drummond
20a5a4db49 - 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
09374f37a4 Remove Qt module prefix from includes - will make Qt5 port a little easier! 2013-01-28 19:33:42 +00:00
craig.p.drummond
7901a45d7f Playlist editing fixes? 2013-01-21 19:51:26 +00:00
craig.p.drummond
476d132466 Update copyright year 2013-01-17 16:57:20 +00:00
craig.p.drummond
0d3303edc0 Only show relevant genres for playlist and devices 2012-12-20 21:16:53 +00:00
craig.p.drummond@gmail.com
a7e55dbe7d Update 'Add To Playlist' menu when rename a playlist.
BUG:112
2012-10-16 12:18:31 +00:00
craig.p.drummond
7562762728 Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
d3219a0ac7 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
f508ddbbc2 - 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
80ebbf5780 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
affa21ccc5 Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond@gmail.com
e5059c0a48 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
5669f724f6 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
fad8f81f84 Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond
d932e73071 More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond
4b64fa30fc Remove double semi-colons... 2012-06-10 14:44:29 +00:00
craig.p.drummond
632bc04c9b Add support for multiple MPD servers. 2012-06-08 17:53:35 +00:00
craig.p.drummond
f9f1edcb6f 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
7afc042d9c Update grouped-view controlled albums set when we update model 2012-04-16 18:36:02 +00:00
craig
ab456ae98f 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
f2fdff25a9 Drag'n'drop fix?? 2012-03-26 19:41:37 +00:00
craig
7b7da1ef58 Fix removing, and moving, songs??? 2012-03-26 19:26:56 +00:00
craig
25f126ca82 Fix incremental updates 2012-03-26 18:48:54 +00:00
craig
74bd86d482 Make play list menu order consistent with view order 2012-03-23 20:35:34 +00:00
craig
93de42c48d Update playlist menu 2012-03-23 20:35:15 +00:00
craig
c543d832b3 Fix indexes 2012-03-23 20:33:37 +00:00
craig
74b1603777 Fix remove rows 2012-03-23 20:32:32 +00:00
craig
5cb74e6e03 Need to use drop-row-adjust 2012-03-23 20:32:21 +00:00