Changeset 1012 for trunk/src/gui
- Timestamp:
- Aug 20, 2011, 1:59:50 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qwidget.cpp
r846 r1012 798 798 one of the more specialized handlers above. 799 799 800 Events and the mechanism used to deliver them are covered in 800 Events and the mechanism used to deliver them are covered in 801 801 \l{The Event System}. 802 802 … … 10063 10063 bool newParent = (parent != parentWidget()) || !wasCreated || desktopWidget; 10064 10064 10065 #if defined(Q_WS_X11) || defined(Q_WS_WIN) || defined(Q_WS_ MAC) || defined(Q_OS_SYMBIAN)10065 #if defined(Q_WS_X11) || defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_MAC) || defined(Q_OS_SYMBIAN) 10066 10066 if (newParent && parent && !desktopWidget) { 10067 10067 if (testAttribute(Qt::WA_NativeWindow) && !qApp->testAttribute(Qt::AA_DontCreateNativeWidgetSiblings)) … … 10723 10723 } 10724 10724 } 10725 #endif //QT_NO_IM 10725 10726 if (!qApp->testAttribute(Qt::AA_DontCreateNativeWidgetSiblings) && parentWidget()) 10726 10727 parentWidget()->d_func()->enforceNativeChildren(); 10727 10728 if (on && !internalWinId() && testAttribute(Qt::WA_WState_Created)) 10728 10729 d->createWinId(); 10730 #ifndef QT_NO_IM 10729 10731 if (ic && isEnabled() && focusWidget->isEnabled() 10730 10732 && focusWidget->testAttribute(Qt::WA_InputMethodEnabled)) { … … 10736 10738 case Qt::WA_PaintOnScreen: 10737 10739 d->updateIsOpaque(); 10738 #if defined(Q_WS_WIN) || defined(Q_WS_ X11) || defined(Q_WS_MAC) || defined(Q_OS_SYMBIAN)10740 #if defined(Q_WS_WIN) || defined(Q_WS_PM) || defined(Q_WS_X11) || defined(Q_WS_MAC) || defined(Q_OS_SYMBIAN) 10739 10741 // Recreate the widget if it's already created as an alien widget and 10740 10742 // WA_PaintOnScreen is enabled. Paint on screen widgets must have win id.
Note:
See TracChangeset
for help on using the changeset viewer.