equal
deleted
inserted
replaced
78 inheritedPaletteResolveMask(0), |
78 inheritedPaletteResolveMask(0), |
79 inheritedFontResolveMask(0), |
79 inheritedFontResolveMask(0), |
80 inSetGeometry(0), |
80 inSetGeometry(0), |
81 polished(0), |
81 polished(0), |
82 inSetPos(0), |
82 inSetPos(0), |
|
83 autoFillBackground(0), |
83 focusPolicy(Qt::NoFocus), |
84 focusPolicy(Qt::NoFocus), |
84 focusNext(0), |
85 focusNext(0), |
85 focusPrev(0), |
86 focusPrev(0), |
86 windowFlags(0), |
87 windowFlags(0), |
87 windowData(0), |
88 windowData(0), |
128 void windowFrameMouseMoveEvent(QGraphicsSceneMouseEvent *event); |
129 void windowFrameMouseMoveEvent(QGraphicsSceneMouseEvent *event); |
129 void windowFrameHoverMoveEvent(QGraphicsSceneHoverEvent *event); |
130 void windowFrameHoverMoveEvent(QGraphicsSceneHoverEvent *event); |
130 void windowFrameHoverLeaveEvent(QGraphicsSceneHoverEvent *event); |
131 void windowFrameHoverLeaveEvent(QGraphicsSceneHoverEvent *event); |
131 bool hasDecoration() const; |
132 bool hasDecoration() const; |
132 |
133 |
|
134 // Private Properties |
|
135 qreal width() const; |
|
136 void setWidth(qreal); |
|
137 void resetWidth(); |
|
138 |
|
139 qreal height() const; |
|
140 void setHeight(qreal); |
|
141 void resetHeight(); |
133 void setGeometryFromSetPos(); |
142 void setGeometryFromSetPos(); |
134 |
143 |
135 // State |
144 // State |
136 inline int attributeToBitIndex(Qt::WidgetAttribute att) const |
145 inline int attributeToBitIndex(Qt::WidgetAttribute att) const |
137 { |
146 { |
172 } |
181 } |
173 quint32 attributes : 10; |
182 quint32 attributes : 10; |
174 quint32 inSetGeometry : 1; |
183 quint32 inSetGeometry : 1; |
175 quint32 polished: 1; |
184 quint32 polished: 1; |
176 quint32 inSetPos : 1; |
185 quint32 inSetPos : 1; |
|
186 quint32 autoFillBackground : 1; |
177 |
187 |
178 // Focus |
188 // Focus |
179 Qt::FocusPolicy focusPolicy; |
189 Qt::FocusPolicy focusPolicy; |
180 QGraphicsWidget *focusNext; |
190 QGraphicsWidget *focusNext; |
181 QGraphicsWidget *focusPrev; |
191 QGraphicsWidget *focusPrev; |