28 #include <QPainterPath>
47 TopRight = 0x00000010,
48 BottomLeft = 0x00000020,
49 BottomRight = 0x00000040
68 static QPainterPath painterPath(
const QRect& );
69 static QPainterPath substractPath(
const QPainterPath&,
const QPainterPath& );
71 static QPainterPath roundRect(
const QRect&,
const double,
int = 0,
int = 0 );
73 static void roundRect( QPainter*,
const QRect&,
const double,
const int,
74 const QColor&,
const QColor&,
bool =
true,
bool =
true );
76 static void shadowRect( QPainter*,
const QRect&,
const double,
77 const double,
const int,
int,
78 const QColor&,
const QColor&,
const QColor&,
79 const QColor&,
const bool,
const bool,
80 const bool =
false,
const bool =
true );
81 static void shadowCheck( QPainter*,
const QRect&,
const double,
const int,
82 const QColor&,
const QColor&,
83 const QColor&,
const QColor& );
84 static void arrowRect( QPainter*,
const QRect&,
const QColor&,
85 const QColor&,
const QColor& );
86 static void fillRect( QPainter*,
const QRect&,
const QColor&,
87 const QColor&,
const int = 255 );
88 static void drawArrow( QStyle::PrimitiveElement, QPainter*,
const QRect&,
89 const QColor&,
const QColor& );
90 static void drawSign( QStyle::PrimitiveElement, QPainter*,
const QRect&,
91 const QColor&,
const QColor& );
92 static QPainterPath tabRect( QPainter*,
const QRect&,
const int,
const double,
93 const double,
const QColor&,
const QColor&,
94 const QColor&,
const QColor&,
95 const bool,
const bool,
const bool,
96 const bool =
false,
const bool =
true );
97 static void drawFocus( QPainter*,
const QRect&,
const double,
const int,
99 static void drawFocus( QPainter*,
const QPainterPath&,
const QColor&,
101 static void drawSlider( QPainter*,
const QRect&,
const double,
102 SliderType,
const QColor&,
const QColor&,
103 const QColor&,
const QColor& );
104 static void highlightRect( QPainter*,
const QRect&,
const double,
const int,
105 const double,
const QColor&,
const QColor&,
107 static int getMinDelta(
const QRect&,
const QSize&,
const int );
108 static int getMaxRect(
const QRect&,
const int );
111 #endif // STYLE_TOOLS_H