Changeset 131
- Timestamp:
- Aug 26, 2009, 9:48:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget_pm.cpp
r130 r131 1709 1709 void QWidgetPrivate::setFocus_sys() 1710 1710 { 1711 // @todo implement 1711 Q_Q(QWidget); 1712 if (q->testAttribute(Qt::WA_WState_Created) && q->window()->windowType() != Qt::Popup) 1713 WinSetFocus(HWND_DESKTOP, q->effectiveWinId()); 1712 1714 } 1713 1715 1714 1716 void QWidgetPrivate::raise_sys() 1715 1717 { 1716 // @todo implement 1718 Q_Q(QWidget); 1719 Q_ASSERT(q->testAttribute(Qt::WA_WState_Created)); 1720 if (frameWinId() != NULLHANDLE) 1721 qt_WinSetWindowPos(frameWinId(), HWND_TOP, 0, 0, 0, 0, SWP_ZORDER); 1722 1717 1723 } 1718 1724 1719 1725 void QWidgetPrivate::lower_sys() 1720 1726 { 1721 // @todo implement 1727 Q_Q(QWidget); 1728 Q_ASSERT(q->testAttribute(Qt::WA_WState_Created)); 1729 if (frameWinId() != NULLHANDLE) 1730 qt_WinSetWindowPos(frameWinId(), HWND_BOTTOM, 0, 0, 0, 0, SWP_ZORDER); 1731 invalidateBuffer(q->rect()); 1722 1732 } 1723 1733 1724 1734 void QWidgetPrivate::stackUnder_sys(QWidget* w) 1725 1735 { 1726 // @todo implement 1736 Q_Q(QWidget); 1737 Q_ASSERT(q->testAttribute(Qt::WA_WState_Created)); 1738 if (frameWinId() != NULLHANDLE && w->d_func()->frameWinId() != NULLHANDLE) 1739 WinSetWindowPos(frameWinId(), w->d_func()->frameWinId(), 0, 0, 0, 0, SWP_ZORDER); 1740 invalidateBuffer(q->rect()); 1727 1741 } 1728 1742
Note:
See TracChangeset
for help on using the changeset viewer.