Changeset View
Changeset View
Standalone View
Standalone View
kdecoration/breezedecoration.h
Show First 20 Lines • Show All 113 Lines • ▼ Show 20 Line(s) | 46 | { | |||
---|---|---|---|---|---|
114 | 114 | | |||
115 | private: | 115 | private: | ||
116 | 116 | | |||
117 | //* return the rect in which caption will be drawn | 117 | //* return the rect in which caption will be drawn | ||
118 | QPair<QRect,Qt::Alignment> captionRect( void ) const; | 118 | QPair<QRect,Qt::Alignment> captionRect( void ) const; | ||
119 | 119 | | |||
120 | void createButtons(); | 120 | void createButtons(); | ||
121 | void paintTitleBar(QPainter *painter, const QRect &repaintRegion); | 121 | void paintTitleBar(QPainter *painter, const QRect &repaintRegion); | ||
122 | void createShadow(); | 122 | void updateShadow(bool forced = false); | ||
123 | 123 | | |||
124 | //*@name border size | 124 | //*@name border size | ||
125 | //@{ | 125 | //@{ | ||
126 | int borderSize(bool bottom = false) const; | 126 | int borderSize(bool bottom = false) const; | ||
127 | inline bool hasBorders( void ) const; | 127 | inline bool hasBorders( void ) const; | ||
128 | inline bool hasNoBorders( void ) const; | 128 | inline bool hasNoBorders( void ) const; | ||
129 | inline bool hasNoSideBorders( void ) const; | 129 | inline bool hasNoSideBorders( void ) const; | ||
130 | //@} | 130 | //@} | ||
▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines |