Commit Graph

59 Commits

Author SHA1 Message Date
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
28a6e9263d Fix variable setting 2015-02-06 22:39:17 +00:00
craig.p.drummond
7d143947f7 Use QApplication::style for styleHint in constructor 2015-02-05 19:34:21 +00:00
craig.p.drummond
d220bd9d94 - 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
b8649dde3c 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
6f0481e5b5 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
3eea07be98 Touch-style spin for all styles 2014-05-15 11:15:14 +00:00
craig.p.drummond
a2ac6e22ff Fix view frame hiding when base colour is transparent! 2014-03-17 20:58:33 +00:00
craig.p.drummond
0dd5b07989 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
722954b36d Fix painting of Gtk thin scrollbar style on comboboxes. 2014-02-24 20:44:27 +00:00
craig.p.drummond
87caad59c9 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
897c5d9614 SpinButton sizing... 2014-02-12 21:49:49 +00:00
craig.p.drummond
dc3de3046f 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
3a745d62ff Smaller +/- on spin buttons 2014-01-21 18:56:41 +00:00
craig.p.drummond
2df5a96b2b Fill view corner with base colour 2014-01-15 19:33:17 +00:00
craig.p.drummond
7f3bebbc70 Better spin boxes 2014-01-10 20:02:13 +00:00
craig.p.drummond
d91f8807d2 Results of cppcheck... 2014-01-08 19:49:48 +00:00
craig.p.drummond
f2721e8631 Cleanup 2014-01-08 19:47:07 +00:00
craig.p.drummond
370695f6c6 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
75edb03cf8 For Qt5, need to check spinbox's width is sufficient 2014-01-08 19:45:56 +00:00
craig.p.drummond
828fee1436 Show disabled +/- as disabled 2014-01-08 19:45:11 +00:00
craig.p.drummond
3c59f12ef2 Fix RTL of spin box 2014-01-08 19:44:53 +00:00
craig.p.drummond
4be76607f9 Use line-edit to draw spinbox border - removes need for focus workaround 2014-01-08 19:44:15 +00:00
craig.p.drummond
c1ff2d56ba Smaller +/- symbols 2014-01-08 19:43:27 +00:00
craig.p.drummond
9029248314 Use style to create Gtk3-like spinboxes. 2014-01-07 21:25:00 +00:00
craig.p.drummond
addfca835a Update (c) year 2014-01-06 19:32:05 +00:00
craig.p.drummond@gmail.com
f88fabd01d 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
1e67d1707e No scrollbar groove for Gtk style in context view 2013-06-06 18:47:46 +00:00
craig.p.drummond
9e36f0b3e4 Use style-hint to dtermine if we show icons on buttons or not 2013-06-06 18:45:40 +00:00
craig.p.drummond
5612c2beaa Intercept ::polish events on QMenu, so can add accel manager 2013-06-05 19:17:11 +00:00
craig.p.drummond
4327a6a77e Automatic accelator assignment for Qt builds. 2013-06-05 16:55:22 +00:00
craig.p.drummond
f8a6542375 USe background colour for background of scrollbar slider on combobox 2013-05-16 18:12:20 +00:00
craig.p.drummond
532aea900a No need for scrollbar background 2013-05-16 18:10:28 +00:00
craig.p.drummond
483cc5c81b Disable ovlerlay scrollbars - these are not working 100% 2013-03-12 17:04:23 +00:00
craig.p.drummond
9fb5a64562 Bett thin sbar 2013-03-12 17:03:36 +00:00
craig.p.drummond
0437421f13 Check env correctly! 2013-03-11 20:02:00 +00:00
craig.p.drummond
8599928b05 Add a 'thin' scrollbar style. 2013-03-11 19:55:11 +00:00
craig.p.drummond
d25382057c slider line is 'active' if thumb is visible 2013-03-11 19:52:43 +00:00
craig.p.drummond
de64f664f5 When os thumb moves, use actual slider size when getting value from position 2013-03-11 19:52:19 +00:00
craig.p.drummond
276e681a37 Initialise sbarEdgeTimer to 0 2013-03-06 19:34:33 +00:00
craig.p.drummond
e563b83376 Dont stop sbarEdgeTimer - deleting it should be enough! 2013-03-06 17:32:03 +00:00
craig.p.drummond
982d4744a1 Cant enable overlay scrollbars for Gtk2 code, tried and failed :-( 2013-03-05 19:45:47 +00:00
craig.p.drummond
c874af4bff Fix KDE compile 2013-02-27 19:41:19 +00:00
craig.p.drummond
877f89a48c Handle view move and resize 2013-02-27 19:39:01 +00:00
craig.p.drummond
91dd4687f1 Better state detection 2013-02-25 18:55:01 +00:00
craig.p.drummond
cff3bed1d0 No overlay scrollbars from combos 2013-02-25 18:54:40 +00:00
craig.p.drummond
ed1a4a55fc Fix scrollbar orientation change 2013-02-21 20:08:55 +00:00
craig.p.drummond
325af13739 Slightly better overlay scrollbars 2013-02-21 20:08:27 +00:00
craig.p.drummond
c8b0bf12b6 Correct 'to-thumb' rect 2013-02-21 20:07:20 +00:00