equal
deleted
inserted
replaced
2024 setOpaque(false); |
2024 setOpaque(false); |
2025 return; |
2025 return; |
2026 } |
2026 } |
2027 #endif |
2027 #endif |
2028 |
2028 |
|
2029 #ifdef Q_WS_S60 |
|
2030 if (q->windowType() == Qt::Dialog && q->testAttribute(Qt::WA_TranslucentBackground) |
|
2031 && S60->avkonComponentsSupportTransparency) { |
|
2032 setOpaque(false); |
|
2033 return; |
|
2034 } |
|
2035 #endif |
|
2036 |
2029 if (q->testAttribute(Qt::WA_OpaquePaintEvent) || q->testAttribute(Qt::WA_PaintOnScreen)) { |
2037 if (q->testAttribute(Qt::WA_OpaquePaintEvent) || q->testAttribute(Qt::WA_PaintOnScreen)) { |
2030 setOpaque(true); |
2038 setOpaque(true); |
2031 return; |
2039 return; |
2032 } |
2040 } |
2033 |
2041 |
3342 lead to infinite recursion. |
3350 lead to infinite recursion. |
3343 |
3351 |
3344 \note Setting the size to \c{QSize(0, 0)} will cause the widget to not |
3352 \note Setting the size to \c{QSize(0, 0)} will cause the widget to not |
3345 appear on screen. This also applies to windows. |
3353 appear on screen. This also applies to windows. |
3346 |
3354 |
3347 \sa pos, geometry, minimumSize, maximumSize, resizeEvent() |
3355 \sa pos, geometry, minimumSize, maximumSize, resizeEvent(), adjustSize() |
3348 */ |
3356 */ |
3349 |
3357 |
3350 /*! |
3358 /*! |
3351 \property QWidget::width |
3359 \property QWidget::width |
3352 \brief the width of the widget excluding any window frame |
3360 \brief the width of the widget excluding any window frame |