Changeset View
Changeset View
Standalone View
Standalone View
kstyle/breezestyle.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 6672 Lines • ▼ Show 20 Line(s) | 6629 | { | |||
---|---|---|---|---|---|
6673 | ArrowOrientation orientation( ( subControl == SC_SpinBoxUp ) ? ArrowUp:ArrowDown ); | 6673 | ArrowOrientation orientation( ( subControl == SC_SpinBoxUp ) ? ArrowUp:ArrowDown ); | ||
6674 | 6674 | | |||
6675 | // arrow rect | 6675 | // arrow rect | ||
6676 | const auto arrowRect( subControlRect( CC_SpinBox, option, subControl, widget ) ); | 6676 | const auto arrowRect( subControlRect( CC_SpinBox, option, subControl, widget ) ); | ||
6677 | 6677 | | |||
6678 | // render | 6678 | // render | ||
6679 | _helper->renderArrow( painter, arrowRect, color, orientation ); | 6679 | _helper->renderArrow( painter, arrowRect, color, orientation ); | ||
6680 | 6680 | | |||
6681 | return; | | |||
6682 | | ||||
6683 | } | 6681 | } | ||
6684 | 6682 | | |||
6685 | //______________________________________________________________________________ | 6683 | //______________________________________________________________________________ | ||
6686 | void Style::renderMenuTitle( const QStyleOptionToolButton* option, QPainter* painter, const QWidget* ) const | 6684 | void Style::renderMenuTitle( const QStyleOptionToolButton* option, QPainter* painter, const QWidget* ) const | ||
6687 | { | 6685 | { | ||
6688 | 6686 | | |||
6689 | // render a separator at the bottom | 6687 | // render a separator at the bottom | ||
6690 | const auto& palette( option->palette ); | 6688 | const auto& palette( option->palette ); | ||
▲ Show 20 Lines • Show All 477 Lines • Show Last 20 Lines |