[Qt-interest] How to get width and height of QScrollbars arrow widgets

Liebe Markus (RtP2/TEF72) Markus.Liebe at de.bosch.com
Fri Jul 23 13:10:40 CEST 2010


Hi there,

is it possible to get the height (for vertical scrollbars) and  the width (for horizontal scrollbars) of the arrow widgets of a QScrollbar?

+-+
|^|  arrow widget top
+-+
| |
| |  scrollbar
| |
+-+
|v|  arrow widget bottom
+-+


In the example above I am interested in the height of "arrow widget bottom" and "arrow widget top".

In the docs for QScrollBar I did not find anything like that.

Regards,
Markus




More information about the Qt-interest-old mailing list