55 Commits

Author SHA1 Message Date
Craig Drummond
b6bd94c236 Update (c) year 2022-01-08 21:24:07 +00:00
Craig Drummond
11bb7571c9 Update (c) year 2021-01-01 10:06:43 +00:00
Craig Drummond
b8645d1358 Fix most, but not all, deprecation warnings. 2020-02-16 09:51:37 +00:00
Craig Drummond
d7b3965b9b Update (c) year 2020-01-01 11:51:13 +00:00
Craig Drummond
cb9efe205f Update (c) year 2019-09-15 15:56:58 +01:00
Craig Drummond
eff0e66d39 Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
b7e8021a36 Add information text to views when these would otherwise be blank. 2018-02-14 18:04:15 +00:00
Craig Drummond
9be4367865 Adjust action icon position based upon dynamic sizing of grid items.
Closes #1186
2018-02-02 17:04:03 +00:00
Craig Drummond
b5da764dec 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
4f26eb686e Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01:00
Craig Drummond
0c6f781b43 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
2139d3dbb8 Update (c) year 2018-01-01 10:11:39 +00:00
Craig Drummond
f71f82beec Add ability to change grid cover size - Ctrl+ / Ctrl-
Issue #1092
2017-10-08 14:43:23 +01:00
Craig Drummond
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
45d870f833 Fix crash when changinh playqueue view type. (Issue #878) 2016-08-11 17:05:44 +01:00
Craig Drummond
705648420a Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
9533f12881 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
a192a02161 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
b1d3f94d4d Only need to set palette on viewport - othwise frame disappears under OSX! 2014-10-02 11:08:37 +00:00
craig.p.drummond
2b5c142866 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
77df458307 Open search-widget as soon as user starts typing in view. 2014-06-05 18:41:32 +00:00
craig.p.drummond
f5c8197617 Use TouchProxyStyle to enable flick-charm 2014-05-19 18:33:36 +00:00
craig.p.drummond
64c06773ce Alter includes to have su-folder - e.g. utils.h -> support/utils.h 2014-05-13 18:37:52 +00:00
craig.p.drummond
17d4863385 Make QtWidgets version more touch friendly? 2014-04-17 16:06:00 +00:00
craig.p.drummond
8177e79d97 Change views to scroll-per-pixel. 2014-02-09 15:46:14 +00:00
craig.p.drummond
931ca0d33a Remove code duplication with startDrag() 2014-01-30 19:25:43 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
8e67252f0d - 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
642bee5ed2 Check return of selectionModel() before using.
BUG: 333
2013-11-27 19:41:37 +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
a90fe42b4d Draw service icon behind view when searching 2013-07-12 19:07:51 +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
e35b0f6b86 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
76786e254a Remove unused stuff 2013-02-07 18:19:59 +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
fbe6f03408 Update copyright year 2013-01-17 16:57:20 +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
2f5452a14f Add 'Back' action to context menu of list/icon views. 2012-09-03 21:02:51 +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
720a09d1c6 - 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
8446a95e3d 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
bb523394ea Android: Faked up touch scroll - not fully working, behaves a bit odd... 2012-06-20 22:58:16 +00:00
craig.p.drummond
8894263b1f More android work... 2012-06-19 15:48:18 +00:00
craig.p.drummond@gmail.com
7c893bba51 Enable mouse-tracking for all list/tree views.
BUG:28
2012-06-11 11:09:27 +00:00
craig
2f27c29eb6 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
eb686e43df Add #define for default cover icon names 2012-03-20 21:13:18 +00:00
craig
9fc2286ce3 Update copyright statements. 2012-01-04 19:15:55 +00:00
craig
222ac7e5bd Sort selected items by the order they appear on screen - QAbstractItemView::selectedItems is not sorted!!!! 2011-12-20 19:17:39 +00:00