Changeset 174 for trunk/src/widgets/qscrollbar.cpp
- Timestamp:
- Nov 6, 2007, 11:27:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/widgets/qscrollbar.cpp
r2 r174 941 941 flags |= QStyle::Style_Horizontal; 942 942 943 // For the Warp4 style we need to always check also the "add line" and "sub line" 944 // buttons (they could be activated/deactivated!), so we include them here 945 // for every drawing operation 946 if ( style().styleHint( QStyle::SH_GUIStyle ) == QStyle::PMStyle ) 947 controls = controls | 948 QStyle::SC_ScrollBarSubLine | 949 QStyle::SC_ScrollBarAddLine; 950 943 951 style().drawComplexControl(QStyle::CC_ScrollBar, p, this, rect(), colorGroup(), 944 952 flags, (QStyle::SubControl) controls,
Note:
See TracChangeset
for help on using the changeset viewer.