882 implementing custom styles; see the \l{widgets/styles}{Styles} |
882 implementing custom styles; see the \l{widgets/styles}{Styles} |
883 example for details. |
883 example for details. |
884 |
884 |
885 \value WA_InputMethodEnabled Enables input methods for Asian languages. |
885 \value WA_InputMethodEnabled Enables input methods for Asian languages. |
886 Must be set when creating custom text editing widgets. |
886 Must be set when creating custom text editing widgets. |
887 On Windows CE this flag can be used in addition to |
887 On Windows CE and Symbian this flag can be used in addition to |
888 QApplication::autoSipEnabled to automatically display the SIP when |
888 QApplication::autoSipEnabled to automatically display the SIP when |
889 entering a widget. |
889 entering a widget. |
890 |
890 |
891 \value WA_KeyboardFocusChange Set on a toplevel window when |
891 \value WA_KeyboardFocusChange Set on a toplevel window when |
892 the users changes focus with the keyboard (tab, backtab, or shortcut). |
892 the users changes focus with the keyboard (tab, backtab, or shortcut). |
1607 \value Key_LaunchB |
1607 \value Key_LaunchB |
1608 \value Key_LaunchC |
1608 \value Key_LaunchC |
1609 \value Key_LaunchD |
1609 \value Key_LaunchD |
1610 \value Key_LaunchE |
1610 \value Key_LaunchE |
1611 \value Key_LaunchF |
1611 \value Key_LaunchF |
|
1612 \value Key_MonBrightnessUp |
|
1613 \value Key_MonBrightnessDown |
|
1614 \value Key_KeyboardLightOnOff |
|
1615 \value Key_KeyboardBrightnessUp |
|
1616 \value Key_KeyboardBrightnessDown |
|
1617 \value Key_PowerOff |
|
1618 \value Key_WakeUp |
|
1619 \value Key_Eject |
|
1620 \value Key_ScreenSaver |
|
1621 \value Key_WWW |
|
1622 \value Key_Memo |
|
1623 \value Key_LightBulb |
|
1624 \value Key_Shop |
|
1625 \value Key_History |
|
1626 \value Key_AddFavorite |
|
1627 \value Key_HotLinks |
|
1628 \value Key_BrightnessAdjust |
|
1629 \value Key_Finance |
|
1630 \value Key_Community |
|
1631 \value Key_AudioRewind |
|
1632 \value Key_BackForward |
|
1633 \value Key_ApplicationLeft |
|
1634 \value Key_ApplicationRight |
|
1635 \value Key_Book |
|
1636 \value Key_CD |
|
1637 \value Key_Calculator |
|
1638 \value Key_ToDoList |
|
1639 \value Key_ClearGrab |
|
1640 \value Key_Close |
|
1641 \value Key_Copy |
|
1642 \value Key_Cut |
|
1643 \value Key_Display |
|
1644 \value Key_DOS |
|
1645 \value Key_Documents |
|
1646 \value Key_Excel |
|
1647 \value Key_Explorer |
|
1648 \value Key_Game |
|
1649 \value Key_Go |
|
1650 \value Key_iTouch |
|
1651 \value Key_LogOff |
|
1652 \value Key_Market |
|
1653 \value Key_Meeting |
|
1654 \value Key_MenuKB |
|
1655 \value Key_MenuPB |
|
1656 \value Key_MySites |
|
1657 \value Key_News |
|
1658 \value Key_OfficeHome |
|
1659 \value Key_Option |
|
1660 \value Key_Paste |
|
1661 \value Key_Phone |
|
1662 \value Key_Calendar |
|
1663 \value Key_Reply |
|
1664 \value Key_Reload |
|
1665 \value Key_RotateWindows |
|
1666 \value Key_RotationPB |
|
1667 \value Key_RotationKB |
|
1668 \value Key_Save |
|
1669 \value Key_Send |
|
1670 \value Key_Spell |
|
1671 \value Key_SplitScreen |
|
1672 \value Key_Support |
|
1673 \value Key_TaskPane |
|
1674 \value Key_Terminal |
|
1675 \value Key_Tools |
|
1676 \value Key_Travel |
|
1677 \value Key_Video |
|
1678 \value Key_Word |
|
1679 \value Key_Xfer |
|
1680 \value Key_ZoomIn |
|
1681 \value Key_ZoomOut |
|
1682 \value Key_Away |
|
1683 \value Key_Messenger |
|
1684 \value Key_WebCam |
|
1685 \value Key_MailForward |
|
1686 \value Key_Pictures |
|
1687 \value Key_Music |
|
1688 \value Key_Battery |
|
1689 \value Key_Bluetooth |
|
1690 \value Key_WLAN |
|
1691 \value Key_UWB |
|
1692 \value Key_AudioForward |
|
1693 \value Key_AudioRepeat |
|
1694 \value Key_AudioRandomPlay |
|
1695 \value Key_Subtitle |
|
1696 \value Key_AudioCycleTrack |
|
1697 \value Key_Time |
|
1698 \value Key_Hibernate |
|
1699 \value Key_View |
|
1700 \value Key_TopMenu |
|
1701 \value Key_PowerDown |
|
1702 \value Key_Suspend |
|
1703 \value Key_ContrastAdjust |
1612 \value Key_MediaLast |
1704 \value Key_MediaLast |
1613 \value Key_unknown |
1705 \value Key_unknown |
1614 |
1706 |
1615 \value Key_Call |
1707 \value Key_Call |
1616 \value Key_Context1 |
1708 \value Key_Context1 |
1909 system frame appropriate for pop-up menus. |
2001 system frame appropriate for pop-up menus. |
1910 |
2002 |
1911 \value Tool Indicates that the widget is a tool window. A tool |
2003 \value Tool Indicates that the widget is a tool window. A tool |
1912 window is often a small window with a smaller than |
2004 window is often a small window with a smaller than |
1913 usual title bar and decoration, typically used for |
2005 usual title bar and decoration, typically used for |
1914 collections of tool buttons. It there is a parent, |
2006 collections of tool buttons. If there is a parent, |
1915 the tool window will always be kept on top of it. |
2007 the tool window will always be kept on top of it. |
1916 If there isn't a parent, you may consider using |
2008 If there isn't a parent, you may consider using |
1917 Qt::WindowStaysOnTopHint as well. If the window |
2009 Qt::WindowStaysOnTopHint as well. If the window |
1918 system supports it, a tool window can be decorated |
2010 system supports it, a tool window can be decorated |
1919 with a somewhat lighter frame. It can also be |
2011 with a somewhat lighter frame. It can also be |
2507 |
2599 |
2508 The general purpose roles (and the associated types) are: |
2600 The general purpose roles (and the associated types) are: |
2509 |
2601 |
2510 \value DisplayRole The key data to be rendered in the form of text. (QString) |
2602 \value DisplayRole The key data to be rendered in the form of text. (QString) |
2511 \value DecorationRole The data to be rendered as a decoration in the form |
2603 \value DecorationRole The data to be rendered as a decoration in the form |
2512 of an icon. (QColor) |
2604 of an icon. (QColor, QIcon or QPixmap) |
2513 \value EditRole The data in a form suitable for editing in an |
2605 \value EditRole The data in a form suitable for editing in an |
2514 editor. (QString) |
2606 editor. (QString) |
2515 \value ToolTipRole The data displayed in the item's tooltip. (QString) |
2607 \value ToolTipRole The data displayed in the item's tooltip. (QString) |
2516 \value StatusTipRole The data displayed in the status bar. (QString) |
2608 \value StatusTipRole The data displayed in the status bar. (QString) |
2517 \value WhatsThisRole The data displayed for the item in "What's This?" |
2609 \value WhatsThisRole The data displayed for the item in "What's This?" |
2816 \value TapGesture A Tap gesture. |
2908 \value TapGesture A Tap gesture. |
2817 \value TapAndHoldGesture A Tap-And-Hold (Long-Tap) gesture. |
2909 \value TapAndHoldGesture A Tap-And-Hold (Long-Tap) gesture. |
2818 \value PanGesture A Pan gesture. |
2910 \value PanGesture A Pan gesture. |
2819 \value PinchGesture A Pinch gesture. |
2911 \value PinchGesture A Pinch gesture. |
2820 \value SwipeGesture A Swipe gesture. |
2912 \value SwipeGesture A Swipe gesture. |
2821 \value CustomGesture User-defined gesture ID. |
2913 \value CustomGesture A flag that can be used to test if the gesture is a |
2822 \value LastGestureType Last user gesture ID. |
2914 user-defined gesture ID. |
|
2915 \omitvalue LastGestureType |
2823 |
2916 |
2824 User-defined gestures are registered with the |
2917 User-defined gestures are registered with the |
2825 QApplication::registerGestureRecognizer() function which generates a custom gesture ID |
2918 QGestureRecognizer::registerRecognizer() function which generates a custom |
2826 in the range of values from CustomGesture to LastGestureType. |
2919 gesture ID with the Qt::CustomGesture flag set. |
2827 |
2920 |
2828 \sa QGesture, QWidget::grabGesture() |
2921 \sa QGesture, QWidget::grabGesture(), QGraphicsObject::grabGesture() |
2829 */ |
2922 */ |
2830 |
2923 |
2831 /*! |
2924 /*! |
2832 \enum Qt::GestureContext |
2925 \enum Qt::GestureFlag |
2833 \since 4.6 |
2926 \since 4.6 |
2834 |
2927 |
2835 This enum type describes the context of a gesture. |
2928 This enum type describes additional flags that can be used when subscribing |
2836 |
2929 to a gesture. |
2837 For a QGesture to trigger, the gesture recognizer should filter events for |
2930 |
2838 a widget tree. This enum describes for which widget the gesture recognizer |
2931 \value DontStartGestureOnChildren By default gestures can start on the |
2839 should filter events: |
2932 widget or over any of its children. Use this flag to disable this and allow |
2840 |
2933 a gesture to start on the widget only. |
2841 \value WidgetGesture Gestures can only start over the widget itself. |
2934 |
2842 \value WidgetWithChildrenGesture Gestures can start on the widget or over |
2935 \value ReceivePartialGestures Allows any ignored gesture events to be |
2843 any of its children. |
2936 propagated to parent widgets which have specified this hint. By default |
2844 |
2937 only gestures that are in the Qt::GestureStarted state are propagated and |
2845 \sa QWidget::grabGesture() |
2938 the widget always gets the full gesture sequence starting with a gesture in |
|
2939 the Qt::GestureStarted state and ending with a gesture in the |
|
2940 Qt::GestureFinished or Qt::GestureCanceled states. |
|
2941 |
|
2942 \sa QWidget::grabGesture(), QGraphicsObject::grabGesture() |
2846 */ |
2943 */ |
2847 |
2944 |
2848 /*! |
2945 /*! |
2849 \enum Qt::NavigationMode |
2946 \enum Qt::NavigationMode |
2850 \since 4.6 |
2947 \since 4.6 |
2868 \note: in 4.6, cursor navigation is only implemented for Symbian OS. |
2965 \note: in 4.6, cursor navigation is only implemented for Symbian OS. |
2869 On other platforms, it behaves as NavigationModeNone. |
2966 On other platforms, it behaves as NavigationModeNone. |
2870 \sa QApplication::setNavigationMode() |
2967 \sa QApplication::setNavigationMode() |
2871 \sa QApplication::navigationMode() |
2968 \sa QApplication::navigationMode() |
2872 */ |
2969 */ |
2873 |
|
2874 /*! |
|
2875 \enum Qt::RenderHint |
|
2876 \since 4.6 |
|
2877 |
|
2878 This enum describes the possible hints that can be used to control various |
|
2879 rendering operations. |
|
2880 |
|
2881 \value QualityHint Indicates that rendering quality is the most important factor, |
|
2882 at the potential cost of lower performance. |
|
2883 |
|
2884 \value PerformanceHint Indicates that rendering performance is the most important factor, |
|
2885 at the potential cost of lower quality. |
|
2886 */ |
|
2887 |
|