Commit Graph

78 Commits

Author SHA1 Message Date
Craig Drummond
74fb297167 Make 'Icon' a namespace not class 2018-05-24 19:05:54 +01:00
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
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
948026d73b Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
bea7c210cf Revert "Remove Cantata's high-dpi handling code, this should be done by Qt."
This reverts commit 28df204fc4.

Issue #1077
2017-08-30 19:25:26 +01:00
Craig Drummond
28df204fc4 Remove Cantata's high-dpi handling code, this should be done by Qt.
Issue #1063
2017-08-15 23:20:18 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
e60bdafa11 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
379890162e Fix crash when changinh playqueue view type. (Issue #878) 2016-08-11 17:05:44 +01:00
Craig Drummond
b58fbff787 Use FontAwesome icons for all action icons. 2016-07-19 19:44:51 +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
12b7bf0e83 Rename mpd source folder to mpd-interface to help build errors when libmpdclient(?) is also installed.
BUG: 650
2015-03-16 19:18:52 +00:00
craig.p.drummond
f7118de09e Unbreak views!!!! 2015-02-27 22:34:33 +00:00
craig.p.drummond
2d343f8b79 - Separate title and track number in search model table view.
- Show rating in search model table view.
2015-02-27 22:06:34 +00: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
0f5001e1cc Better method of setting disabled opacity for monochrome icons. 2014-09-22 18:43:11 +00:00
craig.p.drummond
73aa0ce300 Simplify 2014-08-17 15:03:19 +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
0b72ffa25c Refactor high-dpi stuff 2014-06-04 18:45:30 +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
7e02d0058b Move model roles into separate roles.h file. 2014-04-23 20:36:38 +00:00
craig.p.drummond
54b0eb57cc Make QtWidgets version more touch friendly? 2014-04-17 16:06:00 +00:00
craig.p.drummond
8b19eaf390 REduce KDE differences 2014-03-26 19:34:28 +00:00
craig.p.drummond
fb2ab37e0b Fix expand all / collapse all actions. Expand all will only expand 1 level for main browsers. 2014-03-18 19:47:49 +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
cb65db90c8 Playlists model ALWAYS needs to return a columnCount of 6. In TreeView, set a flag 'forceSingleColumn' when model is set, TreeView will hide all bar 1st column.
This is better than resetting the proxy each time - as this messes up the column stretching.

BUG: 397
2014-01-28 20:23:04 +00:00
craig.p.drummond
2f24b3fd9b Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
e934e72f56 When closing search widget, after performing a search, collapse all bar top level items.
BUG: 367
2013-12-30 09:21:32 +00:00
craig.p.drummond
05b65d6f79 Fix crash when changing online view from list to tree, after a soundcloud search. 2013-12-21 10:44:48 +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
b395deafe8 Expand podcasts by default - if it is the only service, or if it and soundcloud are the only services 2013-10-01 18:27:27 +00:00
craig.p.drummond
9cc4138b2f When getting the selected indexes, we only actually care about column 0. In fact, only playqueue has more columns, and when acting on this its the row numbers that we care about - so this is safe enough.
BUG: 289
2013-09-17 18:50:00 +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
40e72b230f Put BasicItemDelegate into its own source files 2013-08-13 19:40:05 +00:00
craig.p.drummond
4b9e65ba01 More work for Jamendo searches 2013-07-15 19:13:14 +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
88bade2fa5 Consistent style for treeviews 2013-05-30 18:58:37 +00:00
craig.p.drummond
50d34651d6 Expand sync dialog, and action dialog, items on click 2013-05-30 18:09:05 +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
33485acf79 Playqueue menu 2013-03-28 19:13:05 +00:00