87 Commits

Author SHA1 Message Date
Craig Drummond
5ff9a440cf Fix windows colours 2018-06-05 18:40:11 +01:00
Craig Drummond
7d63131af9 Make icon-only sidebar items a little wider 2018-03-25 16:10:26 +01:00
Craig Drummond
6d98ffaae2 Fix small side-bar when at top, or bottom. 2018-03-20 19:16:59 +00:00
Craig Drummond
c5e7fa9c0d Use AUTOMOC 2018-03-07 19:04:14 +00:00
Craig Drummond
bff2d06fd5 Only update if index changed 2018-02-17 10:13:43 +00:00
Craig Drummond
e1be48438c Make sidebar change pages on mouse wheel events.
Closes #1214
2018-02-16 21:50:18 +00:00
Craig Drummond
f23b4a9422 Fix small sidebar 2018-02-16 16:46:57 +00:00
padertux
d01f915b4a Refactor code to use C++11 nullptr 2018-01-08 23:01:25 +01: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
CDrummond
69b9dc59e8 Non-rounded selection 2017-08-26 08:55:42 +01:00
CDrummond
c2ac801b3a Fix sidebar highlight for windows (at least for Windows 10). 2017-08-26 08:47:14 +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
da948b1167 More consisten item highlight 2017-07-10 19:14:30 +01:00
Craig Drummond
a29e0145fb Less cramped icons when icons only 2017-07-09 19:06:30 +01:00
Craig Drummond
15d1116474 devicePixelRatioF was introduced with Qt5.6, so for earlier versions
need to use devicePixelRatio
2017-07-04 21:57:41 +01:00
Craig Drummond
06888e8c1c Use devicePixelRatioF 2017-07-03 18:58:46 +01:00
Craig Drummond
3aa99b5d60 Remove deprecated QStyleOptionTabV3 2017-05-24 18:02:41 +01:00
CDrummond
bb6c71b439 Windows fixes 2017-04-23 13:03:22 +01:00
Craig Drummond
3ef2515e45 Remove touch support - does not work that well, and QtWidgets are not designed for touch 2017-04-11 17:15:21 +01:00
Craig Drummond
e67d6e3a23 Use Qt5's translation framework - ts files, not po files. 2017-04-08 10:35:31 +01:00
Craig Drummond
a2f007a2b7 Update (c) year 2017-04-02 18:45:30 +01:00
Craig Drummond
18e2fb6dcf Remove Qt4 support 2017-04-02 18:43:34 +01:00
Craig Drummond
288ee9ce28 Remove Gtk specific code - not needed 2016-12-21 23:56:44 +00:00
Craig Drummond
e9b56a3246 Use same sidebar inactive tab mouse-over for all styles. 2016-08-18 18:26:14 +01:00
Craig Drummond
3616cf9ba3 QStyleOptionViewItemV4 is deprecated in Qt5 2016-07-07 19:01:40 +01:00
Craig Drummond
05647dca0f Update (c) year 2016-01-08 18:55:13 +00:00
Craig Drummond
a926fce1e6 Fix highlight issues with Qt5 2015-12-06 17:04:28 +00:00
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
Craig Drummond
4039d64678 Slightly taller tabs 2015-06-26 21:31:45 +01:00
craig.p.drummond
42761a4dfb For windows builds, when window is not focused, draw sidebar selection as a darkened background. 2014-10-05 12:03:14 +00:00
craig.p.drummond
bd044155e6 - Thinner splitters for more styles
- Because of the above, dont draw mac focus highlight for views
2014-10-02 17:16:13 +00:00
craig.p.drummond
4f06ef2c30 No need for property animator on OSX 2014-09-19 16:42:59 +00:00
craig.p.drummond
16d719f3d2 Better retina support. 2014-09-18 16:29:58 +00:00
craig.p.drummond
a5ec3cd935 Dont do mouse-over for Mac builds 2014-09-14 13:19:52 +00:00
craig.p.drummond
7fc3f206f5 Need a 1 pixel margin between view selector and views under OSX - as hilight is draw outside of view. 2014-09-14 12:00:02 +00:00
craig.p.drummond
d9ad51bf11 Fix some palette issues under OSX 2014-09-14 11:52:14 +00:00
craig.p.drummond
478b73c2c1 RTL fixes 2014-06-20 17:58:28 +00:00
craig.p.drummond
0b72ffa25c Refactor high-dpi stuff 2014-06-04 18:45:30 +00:00
craig.p.drummond
00b214eeb7 Fix initialk creation of sidebar.
BUG: 469
2014-04-24 20:25:14 +00:00
craig.p.drummond
fb5094f7ff Dont increase icon size for 'touch friendly' - looks awful. Instead, just increase with of toolbuttons by 33% 2014-04-24 19:10:27 +00:00
craig.p.drummond
54b0eb57cc Make QtWidgets version more touch friendly? 2014-04-17 16:06:00 +00:00
craig.p.drummond
c467da7718 Fix updating of playqueue sidebar tooltip and icon. 2014-04-02 17:34:08 +00:00
craig.p.drummond
d9d5a9e1e1 Consistency with rest of codebase... 2014-03-06 20:02:59 +00:00
craig.p.drummond
10448ed9a5 Remove space between sidebar and view 2014-02-27 17:39:37 +00:00
craig.p.drummond
0c2ac1d5f4 USe different small scale factor depending upon current font size 2014-02-25 19:27:29 +00:00
craig.p.drummond
57d019afd2 Remvove spacing around large side bar items 2014-02-25 19:26:32 +00:00
craig.p.drummond
c54ff4a184 Cleanup 2014-02-25 19:26:07 +00:00
craig.p.drummond
6c6de398dd Use same size font as sub-text in detailed views. 2014-02-21 21:26:52 +00:00