Commit Graph

75 Commits

Author SHA1 Message Date
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
6e100a5ef5 Use for(var: list) and not foreach(var, list) 2017-11-27 22:36:53 +00:00
Craig Drummond
5001c5b593 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
e0b7550515 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
0a73215867 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
a517bf4f17 Remove KDE4 and Ubuntu Touch support 2017-04-01 22:55:27 +01:00
Craig Drummond
45d870f833 Fix crash when changinh playqueue view type. (Issue #878) 2016-08-11 17:05:44 +01:00
Craig Drummond
94f26acfe0 Use FontAwesome icons for all action icons. 2016-07-19 19:44:51 +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
93b70ec240 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
6817711560 Unbreak views!!!! 2015-02-27 22:34:33 +00:00
craig.p.drummond
8a315200c6 - 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
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
35f641b4de Better method of setting disabled opacity for monochrome icons. 2014-09-22 18:43:11 +00:00
craig.p.drummond
0ee187bb01 Simplify 2014-08-17 15:03:19 +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
8af2ea14f2 Refactor high-dpi stuff 2014-06-04 18:45:30 +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
786f2b39f6 Move model roles into separate roles.h file. 2014-04-23 20:36:38 +00:00
craig.p.drummond
17d4863385 Make QtWidgets version more touch friendly? 2014-04-17 16:06:00 +00:00
craig.p.drummond
3b700eefb8 REduce KDE differences 2014-03-26 19:34:28 +00:00
craig.p.drummond
5a1db47a15 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
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
9506f06e02 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
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond
03849ee1c7 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
5855442c53 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
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
ccbb0dd87f 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
970ff868d6 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
13c4d2bfc6 (Hopefully) fix selection order of items - and order added to playqueue. 2013-09-03 18:40:50 +00:00
craig.p.drummond
74bd6030d2 Put BasicItemDelegate into its own source files 2013-08-13 19:40:05 +00:00
craig.p.drummond
ea0aef26df More work for Jamendo searches 2013-07-15 19:13:14 +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
587aec145b Consistent style for treeviews 2013-05-30 18:58:37 +00:00
craig.p.drummond
d064136112 Expand sync dialog, and action dialog, items on click 2013-05-30 18:09:05 +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
a21609f4a0 Playqueue menu 2013-03-28 19:13:05 +00:00
craig.p.drummond
9e81727f50 Animate tree open/close 2013-03-25 19:53:59 +00:00
craig.p.drummond
ccc5f9b01a Treeview does not seem to need WA_MouseTracking set, even with QGtkStyle items still highlight under mouse. And enabling WA_MouseTracking here seems to cause drag-n-drop errors if an item is dragged onto playqueue whilst playqueue has a selected item!
BUG:145
2013-02-07 18:20:52 +00:00
craig.p.drummond
76786e254a Remove unused stuff 2013-02-07 18:19:59 +00:00