Commit Graph

58 Commits

Author SHA1 Message Date
Craig Drummond
2406289303 Update (c) year 2015-08-13 21:12:34 +01:00
craig.p.drummond
c680beae24 Fix variable setting 2015-02-06 22:39:17 +00:00
craig.p.drummond
d37e5c2171 Use QApplication::style for styleHint in constructor 2015-02-05 19:34:21 +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
35ed2b3674 Also read /com/canonical/desktop/interface/scrollbar-mode to determine if overlay scrollbars have been disabled. 2014-08-26 19:19:28 +00:00
craig.p.drummond
c7b4a89501 Dont hide scrollbars in touch-friendly views, but make then only 2px wide - so that there is a hint to the position in the list. 2014-06-21 14:54:42 +00:00
craig.p.drummond
265587cec6 Touch-style spin for all styles 2014-05-15 11:15:14 +00:00
craig.p.drummond
ebac569ba6 Fix view frame hiding when base colour is transparent! 2014-03-17 20:58:33 +00:00
craig.p.drummond
45596a7732 For some Gtk styles, make it appear as if there is just one line between views. 2014-02-27 17:45:16 +00:00
craig.p.drummond
71dc83553a Fix painting of Gtk thin scrollbar style on comboboxes. 2014-02-24 20:44:27 +00:00
craig.p.drummond
c6cb015a06 Fix corrupted scrollbar background in views with a background image when Gtk style is used. 2014-02-20 19:11:41 +00:00
craig.p.drummond
77f2032f79 SpinButton sizing... 2014-02-12 21:49:49 +00:00
craig.p.drummond
52c5c915a1 Work-around QStyleSheetStyle not calling sizeFromContents on our proxy style with Qt5.2.
When reading in CSS, read line by line (each widget is on a single line), and apply the style sheet only to the relevant widgets. This also fixes the bad tab rendering in Qt4 :-)
2014-02-11 21:48:33 +00:00
craig.p.drummond
bcc00cc851 Smaller +/- on spin buttons 2014-01-21 18:56:41 +00:00
craig.p.drummond
c87c614243 Fill view corner with base colour 2014-01-15 19:33:17 +00:00
craig.p.drummond
8ca6db3823 Better spin boxes 2014-01-10 20:02:13 +00:00
craig.p.drummond
2f24b3fd9b Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
a8060fe489 Cleanup 2014-01-08 19:47:07 +00:00
craig.p.drummond
2caf9293bd Remove overlayscrollbar code - not been working for a while, and I have no time/motivation to fix. 2014-01-08 19:46:48 +00:00
craig.p.drummond
f530c2ee5a For Qt5, need to check spinbox's width is sufficient 2014-01-08 19:45:56 +00:00
craig.p.drummond
7b4750604c Show disabled +/- as disabled 2014-01-08 19:45:11 +00:00
craig.p.drummond
0b642d1ed7 Fix RTL of spin box 2014-01-08 19:44:53 +00:00
craig.p.drummond
653a8e278a Use line-edit to draw spinbox border - removes need for focus workaround 2014-01-08 19:44:15 +00:00
craig.p.drummond
78017f97ad Smaller +/- symbols 2014-01-08 19:43:27 +00:00
craig.p.drummond
0e60e3f9f5 Use style to create Gtk3-like spinboxes. 2014-01-07 21:25:00 +00:00
craig.p.drummond
ab7ffecca3 Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond@gmail.com
a6b578fea2 Place a 0-pixel wide 'size widget' at the bottom of each view, to attempt to ensure consisten sizes between views. 2013-09-13 11:25:34 +00:00
craig.p.drummond
0f1be3602e No scrollbar groove for Gtk style in context view 2013-06-06 18:47:46 +00:00
craig.p.drummond
6dd3eb3b20 Use style-hint to dtermine if we show icons on buttons or not 2013-06-06 18:45:40 +00:00
craig.p.drummond
3bfb7bbbce Intercept ::polish events on QMenu, so can add accel manager 2013-06-05 19:17:11 +00:00
craig.p.drummond
521c01c606 Automatic accelator assignment for Qt builds. 2013-06-05 16:55:22 +00:00
craig.p.drummond
9130ffe1f1 USe background colour for background of scrollbar slider on combobox 2013-05-16 18:12:20 +00:00
craig.p.drummond
13b5dfe20e No need for scrollbar background 2013-05-16 18:10:28 +00:00
craig.p.drummond
dc4261b592 Disable ovlerlay scrollbars - these are not working 100% 2013-03-12 17:04:23 +00:00
craig.p.drummond
2372d1ce99 Bett thin sbar 2013-03-12 17:03:36 +00:00
craig.p.drummond
bd5647221e Check env correctly! 2013-03-11 20:02:00 +00:00
craig.p.drummond
292f661425 Add a 'thin' scrollbar style. 2013-03-11 19:55:11 +00:00
craig.p.drummond
4e816d374f slider line is 'active' if thumb is visible 2013-03-11 19:52:43 +00:00
craig.p.drummond
481253140d When os thumb moves, use actual slider size when getting value from position 2013-03-11 19:52:19 +00:00
craig.p.drummond
0cc309148c Initialise sbarEdgeTimer to 0 2013-03-06 19:34:33 +00:00
craig.p.drummond
baa9112b68 Dont stop sbarEdgeTimer - deleting it should be enough! 2013-03-06 17:32:03 +00:00
craig.p.drummond
a08b1d6bb7 Cant enable overlay scrollbars for Gtk2 code, tried and failed :-( 2013-03-05 19:45:47 +00:00
craig.p.drummond
996e56e1bd Fix KDE compile 2013-02-27 19:41:19 +00:00
craig.p.drummond
76611dd025 Handle view move and resize 2013-02-27 19:39:01 +00:00
craig.p.drummond
376fb7d073 Better state detection 2013-02-25 18:55:01 +00:00
craig.p.drummond
3dbfc5cd24 No overlay scrollbars from combos 2013-02-25 18:54:40 +00:00
craig.p.drummond
143230bb09 Fix scrollbar orientation change 2013-02-21 20:08:55 +00:00
craig.p.drummond
e0b31b6733 Slightly better overlay scrollbars 2013-02-21 20:08:27 +00:00
craig.p.drummond
080e2d6d02 Correct 'to-thumb' rect 2013-02-21 20:07:20 +00:00
craig.p.drummond
f5919dfdac Improve edge timer code 2013-02-21 20:06:10 +00:00