equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
7 ** This file is part of the QtGui module of the Qt Toolkit. |
8 ** |
8 ** |
127 void windowFrameMousePressEvent(QGraphicsSceneMouseEvent *event); |
127 void windowFrameMousePressEvent(QGraphicsSceneMouseEvent *event); |
128 void windowFrameMouseMoveEvent(QGraphicsSceneMouseEvent *event); |
128 void windowFrameMouseMoveEvent(QGraphicsSceneMouseEvent *event); |
129 void windowFrameHoverMoveEvent(QGraphicsSceneHoverEvent *event); |
129 void windowFrameHoverMoveEvent(QGraphicsSceneHoverEvent *event); |
130 void windowFrameHoverLeaveEvent(QGraphicsSceneHoverEvent *event); |
130 void windowFrameHoverLeaveEvent(QGraphicsSceneHoverEvent *event); |
131 bool hasDecoration() const; |
131 bool hasDecoration() const; |
|
132 |
|
133 // Private Properties |
|
134 qreal width() const; |
|
135 void setWidth(qreal); |
|
136 void resetWidth(); |
|
137 |
|
138 qreal height() const; |
|
139 void setHeight(qreal); |
|
140 void resetHeight(); |
132 |
141 |
133 // State |
142 // State |
134 inline int attributeToBitIndex(Qt::WidgetAttribute att) const |
143 inline int attributeToBitIndex(Qt::WidgetAttribute att) const |
135 { |
144 { |
136 int bit = -1; |
145 int bit = -1; |