Commit Graph

50 Commits

Author SHA1 Message Date
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
a559a9d88f Add information text to views when these would otherwise be blank. 2018-02-14 18:04:15 +00:00
Craig Drummond
8650da896c Adjust action icon position based upon dynamic sizing of grid items.
Closes #1186
2018-02-02 17:04:03 +00:00
Craig Drummond
43e59bf01d Adjust horizontal gap between icons in grid view to equal distribute
icons over space.
Issue #1169
2018-01-19 21:49:48 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
2d1a6e0261 Don't use transparent as view background colour when using image
backgrounds. Causes issues with Kvantum's overlay scrollbars.
2018-01-08 19:41:49 +00:00
Craig Drummond
445d1497ac Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
832d81dd10 Add ability to change grid cover size - Ctrl+ / Ctrl-
Issue #1092
2017-10-08 14:43:23 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
379890162e Fix crash when changinh playqueue view type. (Issue #878) 2016-08-11 17:05:44 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
01f1e044bc Need to set palette on widget as well as viewport for non OSX builds.
BUG: 557
2014-10-08 13:11:21 +00:00
craig.p.drummond
670f869c0f Only need to set palette on viewport - othwise frame disappears under OSX! 2014-10-02 11:08:37 +00:00
craig.p.drummond
ee3300ffef If 'force single click' is disabled, then double-click on icon view will not add artist/album to playqueue but navigate into.
BUG: 541
2014-09-15 11:22:00 +00:00
craig.p.drummond
0d6fe28ffa Open search-widget as soon as user starts typing in view. 2014-06-05 18:41:32 +00:00
craig.p.drummond
63442d27ec Use TouchProxyStyle to enable flick-charm 2014-05-19 18:33:36 +00:00
craig.p.drummond
d29d9a8781 Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
54b0eb57cc Make QtWidgets version more touch friendly? 2014-04-17 16:06:00 +00:00
craig.p.drummond
6312243352 Change views to scroll-per-pixel. 2014-02-09 15:46:14 +00:00
craig.p.drummond
9692a5b62f Remove code duplication with startDrag() 2014-01-30 19:25:43 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
7913002346 - Use 32x32 for drag'n'drop icon, 64x64 for highdpi
- Use audio-x-generic icon for drag'n'drop if no cover found.
2013-12-18 19:16:21 +00:00
craig.p.drummond
974f6f4190 Check return of selectionModel() before using.
BUG: 333
2013-11-27 19:41:37 +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
d0a7d25a7e Draw service icon behind view when searching 2013-07-12 19:07:51 +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
ffd0958710 Dont use alternating rows in views (does not look too great with grouped view). Use a fading divider instead. 2013-05-16 18:09:32 +00:00
craig.p.drummond
088918db21 Remove unused stuff 2013-02-07 18:19:59 +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
476d132466 Update copyright year 2013-01-17 16:57:20 +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
85b8bdb710 Add 'Back' action to context menu of list/icon views. 2012-09-03 21:02:51 +00:00
craig.p.drummond
f4adbaf6a4 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
819344a6ac 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
a9d342577d - Fix track order when adding newly added album to playqueue.
- When dragging one artist, or album, in treeview to play queue, show cover image (if possible).

BUG:48
2012-07-20 11:46:34 +00:00
craig.p.drummond
42804a9e69 Android: Work on faking touch scroll. Still not perfect, seems to interfere with drag'n'drop :-( 2012-06-22 17:15:15 +00:00
craig.p.drummond
9a061fc2d0 Android: Faked up touch scroll - not fully working, behaves a bit odd... 2012-06-20 22:58:16 +00:00
craig.p.drummond
d932e73071 More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond@gmail.com
c678d98515 Enable mouse-tracking for all list/tree views.
BUG:28
2012-06-11 11:09:27 +00:00
craig
0970d7f5ec Better, less hacky, workaround for QAbstractItemView shif-select bug
(https://bugreports.qt-project.org/browse/QTBUG-18009). Thanks to Spitfire
from qtcentre.org forums for fix.
2012-04-16 18:35:20 +00:00
craig
199ec0805c Add #define for default cover icon names 2012-03-20 21:13:18 +00:00
craig
7dad99ec88 Update copyright statements. 2012-01-04 19:15:55 +00:00
craig
e9bc7a316e Sort selected items by the order they appear on screen - QAbstractItemView::selectedItems is not sorted!!!! 2011-12-20 19:17:39 +00:00
craig
9af9ddf6b4 Allow to navigate into albums 2011-12-18 22:58:29 +00:00
craig
383e7890ea Alternating row cols for lists. 2011-12-15 21:43:37 +00:00
craig
e493cc74a7 Only respond to mouseRelease if we have no modifiers - to allow items to be selected! 2011-12-11 19:00:11 +00:00
craig
e9bf295d41 List view for library - styled item delegate todo!!! 2011-12-10 22:59:48 +00:00
craig
4368cdb4ea Import!!! 2011-12-09 19:05:59 +00:00