/usr/share/qt3/doc/html/qt.html is in qt3-doc 3:3.3.8-b-8ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/kernel/qobject.cpp:75 -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Qt Class</title>
<style type="text/css"><!--
fn { margin-left: 1cm; text-indent: -1cm; }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
body { background: #ffffff; color: black; }
--></style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#E5E5E5">
<td valign=center>
<a href="index.html">
<font color="#004faf">Home</font></a>
| <a href="classes.html">
<font color="#004faf">All Classes</font></a>
| <a href="mainclasses.html">
<font color="#004faf">Main Classes</font></a>
| <a href="annotated.html">
<font color="#004faf">Annotated</font></a>
| <a href="groups.html">
<font color="#004faf">Grouped Classes</font></a>
| <a href="functions.html">
<font color="#004faf">Functions</font></a>
</td>
<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>Qt Class Reference</h1>
<p>The Qt class is a namespace for miscellaneous identifiers
that need to be global-like.
<a href="#details">More...</a>
<p><tt>#include <<a href="qnamespace-h.html">qnamespace.h</a>></tt>
<p>Inherited by <a href="qobject.html">QObject</a>, <a href="qpixmap.html">QPixmap</a>, <a href="qbrush.html">QBrush</a>, <a href="qcanvasitem.html">QCanvasItem</a>, <a href="qcursor.html">QCursor</a>, <a href="qpainter.html">QPainter</a>, <a href="qevent.html">QEvent</a>, <a href="qiconviewitem.html">QIconViewItem</a>, <a href="qkeysequence.html">QKeySequence</a>, <a href="qlistviewitem.html">QListViewItem</a>, <a href="qcustommenuitem.html">QCustomMenuItem</a>, <a href="qpen.html">QPen</a>, <a href="qstylesheetitem.html">QStyleSheetItem</a>, <a href="qsyntaxhighlighter.html">QSyntaxHighlighter</a>, <a href="qtab.html">QTab</a>, <a href="qtableitem.html">QTableItem</a>, <a href="qthread.html">QThread</a>, <a href="qtooltip.html">QToolTip</a>, and <a href="qwhatsthis.html">QWhatsThis</a>.
<p><a href="qt-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
<li class=fn>enum <a href="#ButtonState-enum"><b>ButtonState</b></a> { NoButton = 0x0000, LeftButton = 0x0001, RightButton = 0x0002, MidButton = 0x0004, MouseButtonMask = 0x0007, ShiftButton = 0x0100, ControlButton = 0x0200, AltButton = 0x0400, MetaButton = 0x0800, KeyButtonMask = 0x0f00, Keypad = 0x4000 }</li>
<li class=fn>enum <a href="#Orientation-enum"><b>Orientation</b></a> { Horizontal = 0, Vertical }</li>
<li class=fn>enum <a href="#SortOrder-enum"><b>SortOrder</b></a> { Ascending, Descending }</li>
<li class=fn>enum <a href="#AlignmentFlags-enum"><b>AlignmentFlags</b></a> { AlignAuto = 0x0000, AlignLeft = 0x0001, AlignRight = 0x0002, AlignHCenter = 0x0004, AlignJustify = 0x0008, AlignHorizontal_Mask = AlignLeft | AlignRight | AlignHCenter | AlignJustify, AlignTop = 0x0010, AlignBottom = 0x0020, AlignVCenter = 0x0040, AlignVertical_Mask = AlignTop | AlignBottom | AlignVCenter, AlignCenter = AlignVCenter | AlignHCenter }</li>
<li class=fn>enum <a href="#TextFlags-enum"><b>TextFlags</b></a> { SingleLine = 0x0080, DontClip = 0x0100, ExpandTabs = 0x0200, ShowPrefix = 0x0400, WordBreak = 0x0800, BreakAnywhere = 0x1000, NoAccel = 0x4000 }</li>
<li class=fn>enum <a href="#WidgetState-enum"><b>WidgetState</b></a> { WState_Created = 0x00000001, WState_Disabled = 0x00000002, WState_Visible = 0x00000004, WState_ForceHide = 0x00000008, WState_OwnCursor = 0x00000010, WState_MouseTracking = 0x00000020, WState_CompressKeys = 0x00000040, WState_BlockUpdates = 0x00000080, WState_InPaintEvent = 0x00000100, WState_Reparented = 0x00000200, WState_ConfigPending = 0x00000400, WState_Resized = 0x00000800, WState_AutoMask = 0x00001000, WState_Polished = 0x00002000, WState_DND = 0x00004000, WState_Reserved0 = 0x00008000, WState_FullScreen = 0x00010000, WState_OwnSizePolicy = 0x00020000, WState_CreatedHidden = 0x00040000, WState_Maximized = 0x00080000, WState_Minimized = 0x00100000, WState_ForceDisabled = 0x00200000, WState_Exposed = 0x00400000, WState_HasMouse = 0x00800000 }</li>
<li class=fn>enum <a href="#WidgetFlags-enum"><b>WidgetFlags</b></a> { WType_TopLevel = 0x00000001, WType_Dialog = 0x00000002, WType_Popup = 0x00000004, WType_Desktop = 0x00000008, WType_Mask = 0x0000000f, WStyle_Customize = 0x00000010, WStyle_NormalBorder = 0x00000020, WStyle_DialogBorder = 0x00000040, WStyle_NoBorder = 0x00002000, WStyle_Title = 0x00000080, WStyle_SysMenu = 0x00000100, WStyle_Minimize = 0x00000200, WStyle_Maximize = 0x00000400, WStyle_MinMax = WStyle_Minimize | WStyle_Maximize, WStyle_Tool = 0x00000800, WStyle_StaysOnTop = 0x00001000, WStyle_ContextHelp = 0x00004000, WStyle_Reserved = 0x00008000, WStyle_Mask = 0x0000fff0, WDestructiveClose = 0x00010000, WPaintDesktop = 0x00020000, WPaintUnclipped = 0x00040000, WPaintClever = 0x00080000, WResizeNoErase = 0x00100000, WMouseNoMask = 0x00200000, WStaticContents = 0x00400000, WRepaintNoErase = 0x00800000, WX11BypassWM = 0x01000000, WWinOwnDC = 0x00000000, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000, WX11BypassWM = 0x00000000, WWinOwnDC = 0x01000000, WMacNoSheet = 0x00000000, WMacDrawer = 0x00000000, WGroupLeader = 0x02000000, WShowModal = 0x04000000, WNoMousePropagation = 0x08000000, WSubWindow = 0x10000000, WStyle_Splash = 0x20000000, WNoAutoErase = WRepaintNoErase | WResizeNoErase, WNorthWestGravity = WStaticContents, WType_Modal = WType_Dialog | WShowModal, WStyle_Dialog = WType_Dialog, WStyle_NoBorderEx = WStyle_NoBorder }</li>
<li class=fn>enum <a href="#WindowState-enum"><b>WindowState</b></a> { WindowNoState = 0x00000000, WindowMinimized = 0x00000001, WindowMaximized = 0x00000002, WindowFullScreen = 0x00000004, WindowActive = 0x00000008 }</li>
<li class=fn>enum <a href="#ImageConversionFlags-enum"><b>ImageConversionFlags</b></a> { ColorMode_Mask = 0x00000003, AutoColor = 0x00000000, ColorOnly = 0x00000003, MonoOnly = 0x00000002, AlphaDither_Mask = 0x0000000c, ThresholdAlphaDither = 0x00000000, OrderedAlphaDither = 0x00000004, DiffuseAlphaDither = 0x00000008, NoAlpha = 0x0000000c, Dither_Mask = 0x00000030, DiffuseDither = 0x00000000, OrderedDither = 0x00000010, ThresholdDither = 0x00000020, DitherMode_Mask = 0x000000c0, AutoDither = 0x00000000, PreferDither = 0x00000040, AvoidDither = 0x00000080 }</li>
<li class=fn>enum <a href="#BGMode-enum"><b>BGMode</b></a> { TransparentMode, OpaqueMode }</li>
<li class=fn>enum <a href="#PaintUnit-enum"><b>PaintUnit</b></a> { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }</li>
<li class=fn>enum GUIStyle { MacStyle, WindowsStyle, Win3Style, PMStyle, MotifStyle } <em>(obsolete)</em></li>
<li class=fn>enum <a href="#SequenceMatch-enum"><b>SequenceMatch</b></a> { NoMatch, PartialMatch, Identical }</li>
<li class=fn>enum <a href="#Modifier-enum"><b>Modifier</b></a> { META = 0x00100000, SHIFT = 0x00200000, CTRL = 0x00400000, ALT = 0x00800000, MODIFIER_MASK = 0x00f00000, UNICODE_ACCEL = 0x10000000, ASCII_ACCEL = UNICODE_ACCEL }</li>
<li class=fn>enum <a href="#Key-enum"><b>Key</b></a> { Key_Escape = 0x1000, Key_Tab = 0x1001, Key_Backtab = 0x1002, Key_BackTab = Key_Backtab, Key_Backspace = 0x1003, Key_BackSpace = Key_Backspace, Key_Return = 0x1004, Key_Enter = 0x1005, Key_Insert = 0x1006, Key_Delete = 0x1007, Key_Pause = 0x1008, Key_Print = 0x1009, Key_SysReq = 0x100a, Key_Clear = 0x100b, Key_Home = 0x1010, Key_End = 0x1011, Key_Left = 0x1012, Key_Up = 0x1013, Key_Right = 0x1014, Key_Down = 0x1015, Key_Prior = 0x1016, Key_PageUp = Key_Prior, Key_Next = 0x1017, Key_PageDown = Key_Next, Key_Shift = 0x1020, Key_Control = 0x1021, Key_Meta = 0x1022, Key_Alt = 0x1023, Key_CapsLock = 0x1024, Key_NumLock = 0x1025, Key_ScrollLock = 0x1026, Key_F1 = 0x1030, Key_F2 = 0x1031, Key_F3 = 0x1032, Key_F4 = 0x1033, Key_F5 = 0x1034, Key_F6 = 0x1035, Key_F7 = 0x1036, Key_F8 = 0x1037, Key_F9 = 0x1038, Key_F10 = 0x1039, Key_F11 = 0x103a, Key_F12 = 0x103b, Key_F13 = 0x103c, Key_F14 = 0x103d, Key_F15 = 0x103e, Key_F16 = 0x103f, Key_F17 = 0x1040, Key_F18 = 0x1041, Key_F19 = 0x1042, Key_F20 = 0x1043, Key_F21 = 0x1044, Key_F22 = 0x1045, Key_F23 = 0x1046, Key_F24 = 0x1047, Key_F25 = 0x1048, Key_F26 = 0x1049, Key_F27 = 0x104a, Key_F28 = 0x104b, Key_F29 = 0x104c, Key_F30 = 0x104d, Key_F31 = 0x104e, Key_F32 = 0x104f, Key_F33 = 0x1050, Key_F34 = 0x1051, Key_F35 = 0x1052, Key_Super_L = 0x1053, Key_Super_R = 0x1054, Key_Menu = 0x1055, Key_Hyper_L = 0x1056, Key_Hyper_R = 0x1057, Key_Help = 0x1058, Key_Direction_L = 0x1059, Key_Direction_R = 0x1060, Key_Space = 0x20, Key_Any = Key_Space, Key_Exclam = 0x21, Key_QuoteDbl = 0x22, Key_NumberSign = 0x23, Key_Dollar = 0x24, Key_Percent = 0x25, Key_Ampersand = 0x26, Key_Apostrophe = 0x27, Key_ParenLeft = 0x28, Key_ParenRight = 0x29, Key_Asterisk = 0x2a, Key_Plus = 0x2b, Key_Comma = 0x2c, Key_Minus = 0x2d, Key_Period = 0x2e, Key_Slash = 0x2f, Key_0 = 0x30, Key_1 = 0x31, Key_2 = 0x32, Key_3 = 0x33, Key_4 = 0x34, Key_5 = 0x35, Key_6 = 0x36, Key_7 = 0x37, Key_8 = 0x38, Key_9 = 0x39, Key_Colon = 0x3a, Key_Semicolon = 0x3b, Key_Less = 0x3c, Key_Equal = 0x3d, Key_Greater = 0x3e, Key_Question = 0x3f, Key_At = 0x40, Key_A = 0x41, Key_B = 0x42, Key_C = 0x43, Key_D = 0x44, Key_E = 0x45, Key_F = 0x46, Key_G = 0x47, Key_H = 0x48, Key_I = 0x49, Key_J = 0x4a, Key_K = 0x4b, Key_L = 0x4c, Key_M = 0x4d, Key_N = 0x4e, Key_O = 0x4f, Key_P = 0x50, Key_Q = 0x51, Key_R = 0x52, Key_S = 0x53, Key_T = 0x54, Key_U = 0x55, Key_V = 0x56, Key_W = 0x57, Key_X = 0x58, Key_Y = 0x59, Key_Z = 0x5a, Key_BracketLeft = 0x5b, Key_Backslash = 0x5c, Key_BracketRight = 0x5d, Key_AsciiCircum = 0x5e, Key_Underscore = 0x5f, Key_QuoteLeft = 0x60, Key_BraceLeft = 0x7b, Key_Bar = 0x7c, Key_BraceRight = 0x7d, Key_AsciiTilde = 0x7e, Key_nobreakspace = 0x0a0, Key_exclamdown = 0x0a1, Key_cent = 0x0a2, Key_sterling = 0x0a3, Key_currency = 0x0a4, Key_yen = 0x0a5, Key_brokenbar = 0x0a6, Key_section = 0x0a7, Key_diaeresis = 0x0a8, Key_copyright = 0x0a9, Key_ordfeminine = 0x0aa, Key_guillemotleft = 0x0ab, Key_notsign = 0x0ac, Key_hyphen = 0x0ad, Key_registered = 0x0ae, Key_macron = 0x0af, Key_degree = 0x0b0, Key_plusminus = 0x0b1, Key_twosuperior = 0x0b2, Key_threesuperior = 0x0b3, Key_acute = 0x0b4, Key_mu = 0x0b5, Key_paragraph = 0x0b6, Key_periodcentered = 0x0b7, Key_cedilla = 0x0b8, Key_onesuperior = 0x0b9, Key_masculine = 0x0ba, Key_guillemotright = 0x0bb, Key_onequarter = 0x0bc, Key_onehalf = 0x0bd, Key_threequarters = 0x0be, Key_questiondown = 0x0bf, Key_Agrave = 0x0c0, Key_Aacute = 0x0c1, Key_Acircumflex = 0x0c2, Key_Atilde = 0x0c3, Key_Adiaeresis = 0x0c4, Key_Aring = 0x0c5, Key_AE = 0x0c6, Key_Ccedilla = 0x0c7, Key_Egrave = 0x0c8, Key_Eacute = 0x0c9, Key_Ecircumflex = 0x0ca, Key_Ediaeresis = 0x0cb, Key_Igrave = 0x0cc, Key_Iacute = 0x0cd, Key_Icircumflex = 0x0ce, Key_Idiaeresis = 0x0cf, Key_ETH = 0x0d0, Key_Ntilde = 0x0d1, Key_Ograve = 0x0d2, Key_Oacute = 0x0d3, Key_Ocircumflex = 0x0d4, Key_Otilde = 0x0d5, Key_Odiaeresis = 0x0d6, Key_multiply = 0x0d7, Key_Ooblique = 0x0d8, Key_Ugrave = 0x0d9, Key_Uacute = 0x0da, Key_Ucircumflex = 0x0db, Key_Udiaeresis = 0x0dc, Key_Yacute = 0x0dd, Key_THORN = 0x0de, Key_ssharp = 0x0df, Key_agrave = 0x0e0, Key_aacute = 0x0e1, Key_acircumflex = 0x0e2, Key_atilde = 0x0e3, Key_adiaeresis = 0x0e4, Key_aring = 0x0e5, Key_ae = 0x0e6, Key_ccedilla = 0x0e7, Key_egrave = 0x0e8, Key_eacute = 0x0e9, Key_ecircumflex = 0x0ea, Key_ediaeresis = 0x0eb, Key_igrave = 0x0ec, Key_iacute = 0x0ed, Key_icircumflex = 0x0ee, Key_idiaeresis = 0x0ef, Key_eth = 0x0f0, Key_ntilde = 0x0f1, Key_ograve = 0x0f2, Key_oacute = 0x0f3, Key_ocircumflex = 0x0f4, Key_otilde = 0x0f5, Key_odiaeresis = 0x0f6, Key_division = 0x0f7, Key_oslash = 0x0f8, Key_ugrave = 0x0f9, Key_uacute = 0x0fa, Key_ucircumflex = 0x0fb, Key_udiaeresis = 0x0fc, Key_yacute = 0x0fd, Key_thorn = 0x0fe, Key_ydiaeresis = 0x0ff, Key_Back = 0x1061, Key_Forward = 0x1062, Key_Stop = 0x1063, Key_Refresh = 0x1064, Key_VolumeDown = 0x1070, Key_VolumeMute = 0x1071, Key_VolumeUp = 0x1072, Key_BassBoost = 0x1073, Key_BassUp = 0x1074, Key_BassDown = 0x1075, Key_TrebleUp = 0x1076, Key_TrebleDown = 0x1077, Key_MediaPlay = 0x1080, Key_MediaStop = 0x1081, Key_MediaPrev = 0x1082, Key_MediaNext = 0x1083, Key_MediaRecord = 0x1084, Key_HomePage = 0x1090, Key_Favorites = 0x1091, Key_Search = 0x1092, Key_Standby = 0x1093, Key_OpenUrl = 0x1094, Key_LaunchMail = 0x10a0, Key_LaunchMedia = 0x10a1, Key_Launch0 = 0x10a2, Key_Launch1 = 0x10a3, Key_Launch2 = 0x10a4, Key_Launch3 = 0x10a5, Key_Launch4 = 0x10a6, Key_Launch5 = 0x10a7, Key_Launch6 = 0x10a8, Key_Launch7 = 0x10a9, Key_Launch8 = 0x10aa, Key_Launch9 = 0x10ab, Key_LaunchA = 0x10ac, Key_LaunchB = 0x10ad, Key_LaunchC = 0x10ae, Key_LaunchD = 0x10af, Key_LaunchE = 0x10b0, Key_LaunchF = 0x10b1, Key_MediaLast = 0x1fff, Key_unknown = 0xffff }</li>
<li class=fn>enum <a href="#ArrowType-enum"><b>ArrowType</b></a> { UpArrow, DownArrow, LeftArrow, RightArrow }</li>
<li class=fn>enum <a href="#RasterOp-enum"><b>RasterOp</b></a> { CopyROP, OrROP, XorROP, NotAndROP, EraseROP = NotAndROP, NotCopyROP, NotOrROP, NotXorROP, AndROP, NotEraseROP = AndROP, NotROP, ClearROP, SetROP, NopROP, AndNotROP, OrNotROP, NandROP, NorROP, LastROP = NorROP }</li>
<li class=fn>enum <a href="#PenStyle-enum"><b>PenStyle</b></a> { NoPen, SolidLine, DashLine, DotLine, DashDotLine, DashDotDotLine, MPenStyle = 0x0f }</li>
<li class=fn>enum <a href="#PenCapStyle-enum"><b>PenCapStyle</b></a> { FlatCap = 0x00, SquareCap = 0x10, RoundCap = 0x20, MPenCapStyle = 0x30 }</li>
<li class=fn>enum <a href="#PenJoinStyle-enum"><b>PenJoinStyle</b></a> { MiterJoin = 0x00, BevelJoin = 0x40, RoundJoin = 0x80, MPenJoinStyle = 0xc0 }</li>
<li class=fn>enum <a href="#BrushStyle-enum"><b>BrushStyle</b></a> { NoBrush, SolidPattern, Dense1Pattern, Dense2Pattern, Dense3Pattern, Dense4Pattern, Dense5Pattern, Dense6Pattern, Dense7Pattern, HorPattern, VerPattern, CrossPattern, BDiagPattern, FDiagPattern, DiagCrossPattern, CustomPattern = 24 }</li>
<li class=fn>enum <a href="#MacintoshVersion-enum"><b>MacintoshVersion</b></a> { MV_Unknown = 0x0000, MV_9 = 0x0001, MV_10_DOT_0 = 0x0002, MV_10_DOT_1 = 0x0003, MV_10_DOT_2 = 0x0004, MV_10_DOT_3 = 0x0005, MV_10_DOT_4 = 0x0006, MV_CHEETAH = MV_10_DOT_0, MV_PUMA = MV_10_DOT_1, MV_JAGUAR = MV_10_DOT_2, MV_PANTHER = MV_10_DOT_3, MV_TIGER = MV_10_DOT_4 }</li>
<li class=fn>enum <a href="#WindowsVersion-enum"><b>WindowsVersion</b></a> { WV_32s = 0x0001, WV_95 = 0x0002, WV_98 = 0x0003, WV_Me = 0x0004, WV_DOS_based = 0x000f, WV_NT = 0x0010, WV_2000 = 0x0020, WV_XP = 0x0030, WV_2003 = 0x0040, WV_VISTA = 0x0080, WV_NT_based = 0x00f0, WV_CE = 0x0100, WV_CENET = 0x0200, WV_CE_based = 0x0f00 }</li>
<li class=fn>enum <a href="#UIEffect-enum"><b>UIEffect</b></a> { UI_General, UI_AnimateMenu, UI_FadeMenu, UI_AnimateCombo, UI_AnimateTooltip, UI_FadeTooltip, UI_AnimateToolBox }</li>
<li class=fn>enum <a href="#CursorShape-enum"><b>CursorShape</b></a> { ArrowCursor, UpArrowCursor, CrossCursor, WaitCursor, IbeamCursor, SizeVerCursor, SizeHorCursor, SizeBDiagCursor, SizeFDiagCursor, SizeAllCursor, BlankCursor, SplitVCursor, SplitHCursor, PointingHandCursor, ForbiddenCursor, WhatsThisCursor, BusyCursor, LastCursor = BusyCursor, BitmapCursor = 24 }</li>
<li class=fn>enum <a href="#TextFormat-enum"><b>TextFormat</b></a> { PlainText, RichText, AutoText, LogText }</li>
<li class=fn>enum <a href="#AnchorAttribute-enum"><b>AnchorAttribute</b></a> { AnchorName, AnchorHref }</li>
<li class=fn>enum <a href="#Dock-enum"><b>Dock</b></a> { DockUnmanaged, DockTornOff, DockTop, DockBottom, DockRight, DockLeft, DockMinimized, Unmanaged = DockUnmanaged, TornOff = DockTornOff, Top = DockTop, Bottom = DockBottom, Right = DockRight, Left = DockLeft, Minimized = DockMinimized }</li>
<li class=fn>enum <a href="#DateFormat-enum"><b>DateFormat</b></a> { TextDate, ISODate, LocalDate }</li>
<li class=fn>enum <a href="#TimeSpec-enum"><b>TimeSpec</b></a> { LocalTime, UTC }</li>
<li class=fn>enum <a href="#BackgroundMode-enum"><b>BackgroundMode</b></a> { FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, PaletteLight, PaletteMidlight, PaletteDark, PaletteMid, PaletteText, PaletteBrightText, PaletteBase, PaletteBackground, PaletteShadow, PaletteHighlight, PaletteHighlightedText, PaletteButtonText, PaletteLink, PaletteLinkVisited, X11ParentRelative }</li>
<li class=fn>enum <a href="#StringComparisonMode-enum"><b>StringComparisonMode</b></a> { CaseSensitive = 0x00001, BeginsWith = 0x00002, EndsWith = 0x00004, Contains = 0x00008, ExactMatch = 0x00010 }</li>
<li class=fn>enum <a href="#Corner-enum"><b>Corner</b></a> { TopLeft = 0x00000, TopRight = 0x00001, BottomLeft = 0x00002, BottomRight = 0x00003 }</li>
<li class=fn>typedef void * <b>HANDLE</b></li>
</ul>
<hr><a name="details"></a><h2>Detailed Description</h2>
<p> The Qt class is a namespace for miscellaneous identifiers
that need to be global-like.
<p>
<p> Normally, you can ignore this class. <a href="qobject.html">QObject</a> and a few other
classes inherit it, so all the identifiers in the Qt namespace are
normally usable without qualification.
<p> However, you may occasionally need to say <tt>Qt::black</tt> instead of
just <tt>black</tt>, particularly in static utility functions (such as
many class factories).
<p> <p>See also <a href="misc.html">Miscellaneous Classes</a>.
<hr><h2>Member Type Documentation</h2>
<h3 class=fn><a name="AlignmentFlags-enum"></a>Qt::AlignmentFlags</h3>
<p> This enum type is used to describe alignment. It contains
horizontal and vertical flags.
<p> The horizontal flags are:
<ul>
<li><tt>Qt::AlignAuto</tt> - Aligns according to the language. Left for most,
right for Arabic and Hebrew.
<li><tt>Qt::AlignLeft</tt> - Aligns with the left edge.
<li><tt>Qt::AlignRight</tt> - Aligns with the right edge.
<li><tt>Qt::AlignHCenter</tt> - Centers horizontally in the available space.
<li><tt>Qt::AlignJustify</tt> - Justifies the text in the available space.
Does not work for everything and may be interpreted as
AlignAuto in some cases.
</ul><p> The vertical flags are:
<ul>
<li><tt>Qt::AlignTop</tt> - Aligns with the top.
<li><tt>Qt::AlignBottom</tt> - Aligns with the bottom.
<li><tt>Qt::AlignVCenter</tt> - Centers vertically in the available space.
</ul><p> You can use only one of the horizontal flags at a time. There is
one two-dimensional flag:
<ul>
<li><tt>Qt::AlignCenter</tt> - Centers in both dimensions.
</ul><p> You can use at most one horizontal and one vertical flag at a time. <a href="#AlignmentFlags-enum">AlignCenter</a> counts as both horizontal and vertical.
<p> Masks:
<ul>
<li><tt>Qt::AlignHorizontal_Mask</tt>
<li><tt>Qt::AlignVertical_Mask</tt>
</ul><p> Conflicting combinations of flags have undefined meanings.
<h3 class=fn><a name="AnchorAttribute-enum"></a>Qt::AnchorAttribute</h3>
<p> An anchor has one or more of the following attributes:
<ul>
<li><tt>Qt::AnchorName</tt> - the name attribute of the anchor. This attribute is
used when scrolling to an anchor in the document.
<li><tt>Qt::AnchorHref</tt> - the href attribute of the anchor. This attribute is
used when a link is clicked to determine what content to load.
</ul>
<h3 class=fn><a name="ArrowType-enum"></a>Qt::ArrowType</h3>
<ul>
<li><tt>Qt::UpArrow</tt>
<li><tt>Qt::DownArrow</tt>
<li><tt>Qt::LeftArrow</tt>
<li><tt>Qt::RightArrow</tt>
</ul><p>
<h3 class=fn><a name="BGMode-enum"></a>Qt::BGMode</h3>
<p> Background mode
<ul>
<li><tt>Qt::TransparentMode</tt>
<li><tt>Qt::OpaqueMode</tt>
</ul>
<h3 class=fn><a name="BackgroundMode-enum"></a>Qt::BackgroundMode</h3>
<p> This enum describes how the background of a widget changes, as the
widget's palette changes.
<p> The background is what the widget contains when <a href="qwidget.html#paintEvent">paintEvent()</a> is called. To minimize
flicker, this should be the most common color or pixmap in the
widget. For <a href="#BackgroundMode-enum">PaletteBackground</a>, use colorGroup().brush( <a href="qcolorgroup.html#ColorRole-enum">QColorGroup::Background</a> ), and so on.
<ul>
<li><tt>Qt::PaletteForeground</tt>
<li><tt>Qt::PaletteBackground</tt>
<li><tt>Qt::PaletteButton</tt>
<li><tt>Qt::PaletteLight</tt>
<li><tt>Qt::PaletteMidlight</tt>
<li><tt>Qt::PaletteDark</tt>
<li><tt>Qt::PaletteMid</tt>
<li><tt>Qt::PaletteText</tt>
<li><tt>Qt::PaletteBrightText</tt>
<li><tt>Qt::PaletteButtonText</tt>
<li><tt>Qt::PaletteBase</tt>
<li><tt>Qt::PaletteShadow</tt>
<li><tt>Qt::PaletteHighlight</tt>
<li><tt>Qt::PaletteHighlightedText</tt>
<li><tt>Qt::PaletteLink</tt>
<li><tt>Qt::PaletteLinkVisited</tt>
<li><tt>Qt::X11ParentRelative</tt> - (internal use only)
</ul><p> The final three values have special meaning:
<ul>
<li><tt>Qt::NoBackground</tt> - the widget is not cleared before paintEvent().
If the widget's paint event always draws on all the pixels, using
this mode can be both fast and flicker-free.
<li><tt>Qt::FixedColor</tt> - the widget is cleared to a fixed color, normally
different from all the ones in the palette(). Set using <a href="qwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor()</a>.
<li><tt>Qt::FixedPixmap</tt> - the widget is cleared to a fixed pixmap,
normally different from all the ones in the palette(). Set using
<a href="qwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap()</a>.
</ul><p> Although <a href="#BackgroundMode-enum">FixedColor</a> and <a href="#BackgroundMode-enum">FixedPixmap</a> are sometimes just
right, if you use them, make sure that you test your application
when the desktop color scheme has been changed. (On X11, a quick
way to test this is e.g. "./myapp -bg paleblue". On Windows, you
must use the control panel.)
<p> <p>See also <a href="qwidget.html#backgroundMode-prop">QWidget::backgroundMode</a>, <a href="qwidget.html#backgroundMode-prop">QWidget::backgroundMode</a>, <a href="qwidget.html#setBackgroundPixmap">QWidget::setBackgroundPixmap</a>(), and <a href="qwidget.html#paletteBackgroundColor-prop">QWidget::paletteBackgroundColor</a>.
<h3 class=fn><a name="BrushStyle-enum"></a>Qt::BrushStyle</h3>
<ul>
<li><tt>Qt::NoBrush</tt>
<li><tt>Qt::SolidPattern</tt>
<li><tt>Qt::Dense1Pattern</tt>
<li><tt>Qt::Dense2Pattern</tt>
<li><tt>Qt::Dense3Pattern</tt>
<li><tt>Qt::Dense4Pattern</tt>
<li><tt>Qt::Dense5Pattern</tt>
<li><tt>Qt::Dense6Pattern</tt>
<li><tt>Qt::Dense7Pattern</tt>
<li><tt>Qt::HorPattern</tt>
<li><tt>Qt::VerPattern</tt>
<li><tt>Qt::CrossPattern</tt>
<li><tt>Qt::BDiagPattern</tt>
<li><tt>Qt::FDiagPattern</tt>
<li><tt>Qt::DiagCrossPattern</tt>
<li><tt>Qt::CustomPattern</tt>
</ul><p> <center><img src="brush-styles.png" alt="Brush Styles"></center>
<p>
<h3 class=fn><a name="ButtonState-enum"></a>Qt::ButtonState</h3>
<p> This enum type describes the state of the mouse and the modifier
buttons.
<ul>
<li><tt>Qt::NoButton</tt> - used when the button state does not refer to any
button (see <a href="qmouseevent.html#button">QMouseEvent::button</a>()).
<li><tt>Qt::LeftButton</tt> - set if the left button is pressed, or if this
event refers to the left button. (The left button may be
the right button on left-handed mice.)
<li><tt>Qt::RightButton</tt> - the right button.
<li><tt>Qt::MidButton</tt> - the middle button.
<li><tt>Qt::ShiftButton</tt> - a Shift key on the keyboard is also pressed.
<li><tt>Qt::ControlButton</tt> - a Ctrl key on the keyboard is also pressed.
<li><tt>Qt::AltButton</tt> - an Alt key on the keyboard is also pressed.
<li><tt>Qt::MetaButton</tt> - a Meta key on the keyboard is also pressed.
<li><tt>Qt::Keypad</tt> - a keypad button is pressed.
<li><tt>Qt::KeyButtonMask</tt> - a mask for ShiftButton, ControlButton,
AltButton and MetaButton.
<li><tt>Qt::MouseButtonMask</tt> - a mask for LeftButton, RightButton and MidButton.
</ul>
<h3 class=fn><a name="Corner-enum"></a>Qt::Corner</h3>
This enum type specifies a corner in a rectangle:
<ul>
<li><tt>Qt::TopLeft</tt> - top left corner
<li><tt>Qt::TopRight</tt> - top right corner
<li><tt>Qt::BottomLeft</tt> - bottom left corner
<li><tt>Qt::BottomRight</tt> - bottom right corner
</ul>
<h3 class=fn><a name="CursorShape-enum"></a>Qt::CursorShape</h3>
<p> This enum type defines the various cursors that can be used.
<ul>
<li><tt>Qt::ArrowCursor</tt> - standard arrow cursor
<li><tt>Qt::UpArrowCursor</tt> - upwards arrow
<li><tt>Qt::CrossCursor</tt> - crosshair
<li><tt>Qt::WaitCursor</tt> - hourglass/watch
<li><tt>Qt::BusyCursor</tt> - standard arrow with hourglass/watch
<li><tt>Qt::IbeamCursor</tt> - ibeam/text entry
<li><tt>Qt::SizeVerCursor</tt> - vertical resize
<li><tt>Qt::SizeHorCursor</tt> - horizontal resize
<li><tt>Qt::SizeFDiagCursor</tt> - diagonal resize (\)
<li><tt>Qt::SizeBDiagCursor</tt> - diagonal resize (/)
<li><tt>Qt::SizeAllCursor</tt> - all directions resize
<li><tt>Qt::BlankCursor</tt> - blank/invisible cursor
<li><tt>Qt::SplitVCursor</tt> - vertical splitting
<li><tt>Qt::SplitHCursor</tt> - horizontal splitting
<li><tt>Qt::PointingHandCursor</tt> - a pointing hand
<li><tt>Qt::ForbiddenCursor</tt> - a slashed circle
<li><tt>Qt::WhatsThisCursor</tt> - an arrow with a question mark
<li><tt>Qt::BitmapCursor</tt>
</ul><p> ArrowCursor is the default for widgets in a normal state.
<p> <center><img src="cursors.png" alt="Cursor Shapes"></center>
<h3 class=fn><a name="DateFormat-enum"></a>Qt::DateFormat</h3>
<ul>
<li><tt>Qt::TextDate</tt> - (default) Qt format
<li><tt>Qt::ISODate</tt> - ISO 8601 extended format (YYYY-MM-DD, or with time,
YYYY-MM-DDTHH:MM:SS)
<li><tt>Qt::LocalDate</tt> - locale dependent format
</ul>
<h3 class=fn><a name="Dock-enum"></a>Qt::Dock</h3>
<p> Each dock window can be in one of the following positions:
<ul>
<li><tt>Qt::DockTop</tt> - above the central widget, below the menu bar.
<li><tt>Qt::DockBottom</tt> - below the central widget, above the status bar.
<li><tt>Qt::DockLeft</tt> - to the left of the central widget.
<li><tt>Qt::DockRight</tt> - to the right of the central widget.
<li><tt>Qt::DockMinimized</tt> - the dock window is not shown (this is
effectively a 'hidden' dock area); the handles of all minimized
dock windows are drawn in one row below the menu bar.
<li><tt>Qt::DockTornOff</tt> - the dock window floats as its own top level
window which always stays on top of the main window.
<li><tt>Qt::DockUnmanaged</tt> - not managed by a <a href="qmainwindow.html">QMainWindow</a>.
</ul>
<h3 class=fn><a name="GUIStyle-enum"></a>Qt::GUIStyle</h3>
<p> <b>This type is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code.
<p> <ul>
<li><tt>Qt::WindowsStyle</tt>
<li><tt>Qt::MotifStyle</tt>
<li><tt>Qt::MacStyle</tt>
<li><tt>Qt::Win3Style</tt>
<li><tt>Qt::PMStyle</tt>
</ul>
<h3 class=fn><a name="ImageConversionFlags-enum"></a>Qt::ImageConversionFlags</h3>
<p> The conversion flag is a bitwise-OR of the following values. The
options marked "(default)" are set if no other values from the
list are included (since the defaults are zero):
<p> Color/Mono preference (ignored for <a href="qbitmap.html">QBitmap</a>)
<ul>
<li><tt>Qt::AutoColor</tt> - (default) - If the image has <a href="qimage.html#depth">depth</a> 1 and contains only
black and white pixels, the pixmap becomes monochrome.
<li><tt>Qt::ColorOnly</tt> - The pixmap is dithered/converted to the
<a href="qpixmap.html#defaultDepth">native display depth</a>.
<li><tt>Qt::MonoOnly</tt> - The pixmap becomes monochrome. If necessary,
it is dithered using the chosen dithering algorithm.
</ul><p> Dithering mode preference for RGB channels
<ul>
<li><tt>Qt::DiffuseDither</tt> - (default) - A high-quality dither.
<li><tt>Qt::OrderedDither</tt> - A faster, more ordered dither.
<li><tt>Qt::ThresholdDither</tt> - No dithering; closest color is used.
</ul><p> Dithering mode preference for alpha channel
<ul>
<li><tt>Qt::ThresholdAlphaDither</tt> - (default) - No dithering.
<li><tt>Qt::OrderedAlphaDither</tt> - A faster, more ordered dither.
<li><tt>Qt::DiffuseAlphaDither</tt> - A high-quality dither.
<li><tt>Qt::NoAlpha</tt> - Not supported.
</ul><p> Color matching versus dithering preference
<ul>
<li><tt>Qt::PreferDither</tt> - (default when converting to a pixmap) - Always dither
32-bit images when the image is converted to 8 bits.
<li><tt>Qt::AvoidDither</tt> - (default when converting for the purpose of saving to
file) - Dither 32-bit images only if the image has more than 256
colors and it is being converted to 8 bits.
<li><tt>Qt::AutoDither</tt> - Not supported.
</ul><p> The following are not values that are used directly, but masks for
the above classes:
<ul>
<li><tt>Qt::ColorMode_Mask</tt> - Mask for the color mode.
<li><tt>Qt::Dither_Mask</tt> - Mask for the dithering mode for RGB channels.
<li><tt>Qt::AlphaDither_Mask</tt> - Mask for the dithering mode for the alpha channel.
<li><tt>Qt::DitherMode_Mask</tt> - Mask for the mode that determines the preference of
color matching versus dithering.
</ul><p> Using 0 as the conversion flag sets all the default options.
<h3 class=fn><a name="Key-enum"></a>Qt::Key</h3>
<p> The key names used by Qt.
<ul>
<li><tt>Qt::Key_Escape</tt>
<li><tt>Qt::Key_Tab</tt>
<li><tt>Qt::Key_Backtab</tt>
<li><tt>Qt::Key_Backspace</tt>
<li><tt>Qt::Key_Return</tt>
<li><tt>Qt::Key_Enter</tt>
<li><tt>Qt::Key_Insert</tt>
<li><tt>Qt::Key_Delete</tt>
<li><tt>Qt::Key_Pause</tt>
<li><tt>Qt::Key_Print</tt>
<li><tt>Qt::Key_SysReq</tt>
<li><tt>Qt::Key_Home</tt>
<li><tt>Qt::Key_End</tt>
<li><tt>Qt::Key_Left</tt>
<li><tt>Qt::Key_Up</tt>
<li><tt>Qt::Key_Right</tt>
<li><tt>Qt::Key_Down</tt>
<li><tt>Qt::Key_Prior</tt>
<li><tt>Qt::Key_Next</tt>
<li><tt>Qt::Key_Shift</tt>
<li><tt>Qt::Key_Control</tt>
<li><tt>Qt::Key_Meta</tt>
<li><tt>Qt::Key_Alt</tt>
<li><tt>Qt::Key_CapsLock</tt>
<li><tt>Qt::Key_NumLock</tt>
<li><tt>Qt::Key_ScrollLock</tt>
<li><tt>Qt::Key_Clear</tt>
<li><tt>Qt::Key_F1</tt>
<li><tt>Qt::Key_F2</tt>
<li><tt>Qt::Key_F3</tt>
<li><tt>Qt::Key_F4</tt>
<li><tt>Qt::Key_F5</tt>
<li><tt>Qt::Key_F6</tt>
<li><tt>Qt::Key_F7</tt>
<li><tt>Qt::Key_F8</tt>
<li><tt>Qt::Key_F9</tt>
<li><tt>Qt::Key_F10</tt>
<li><tt>Qt::Key_F11</tt>
<li><tt>Qt::Key_F12</tt>
<li><tt>Qt::Key_F13</tt>
<li><tt>Qt::Key_F14</tt>
<li><tt>Qt::Key_F15</tt>
<li><tt>Qt::Key_F16</tt>
<li><tt>Qt::Key_F17</tt>
<li><tt>Qt::Key_F18</tt>
<li><tt>Qt::Key_F19</tt>
<li><tt>Qt::Key_F20</tt>
<li><tt>Qt::Key_F21</tt>
<li><tt>Qt::Key_F22</tt>
<li><tt>Qt::Key_F23</tt>
<li><tt>Qt::Key_F24</tt>
<li><tt>Qt::Key_F25</tt>
<li><tt>Qt::Key_F26</tt>
<li><tt>Qt::Key_F27</tt>
<li><tt>Qt::Key_F28</tt>
<li><tt>Qt::Key_F29</tt>
<li><tt>Qt::Key_F30</tt>
<li><tt>Qt::Key_F31</tt>
<li><tt>Qt::Key_F32</tt>
<li><tt>Qt::Key_F33</tt>
<li><tt>Qt::Key_F34</tt>
<li><tt>Qt::Key_F35</tt>
<li><tt>Qt::Key_Super_L</tt>
<li><tt>Qt::Key_Super_R</tt>
<li><tt>Qt::Key_Menu</tt>
<li><tt>Qt::Key_Hyper_L</tt>
<li><tt>Qt::Key_Hyper_R</tt>
<li><tt>Qt::Key_Help</tt>
<li><tt>Qt::Key_Space</tt>
<li><tt>Qt::Key_Any</tt>
<li><tt>Qt::Key_Exclam</tt>
<li><tt>Qt::Key_QuoteDbl</tt>
<li><tt>Qt::Key_NumberSign</tt>
<li><tt>Qt::Key_Dollar</tt>
<li><tt>Qt::Key_Percent</tt>
<li><tt>Qt::Key_Ampersand</tt>
<li><tt>Qt::Key_Apostrophe</tt>
<li><tt>Qt::Key_ParenLeft</tt>
<li><tt>Qt::Key_ParenRight</tt>
<li><tt>Qt::Key_Asterisk</tt>
<li><tt>Qt::Key_Plus</tt>
<li><tt>Qt::Key_Comma</tt>
<li><tt>Qt::Key_Minus</tt>
<li><tt>Qt::Key_Period</tt>
<li><tt>Qt::Key_Slash</tt>
<li><tt>Qt::Key_0</tt>
<li><tt>Qt::Key_1</tt>
<li><tt>Qt::Key_2</tt>
<li><tt>Qt::Key_3</tt>
<li><tt>Qt::Key_4</tt>
<li><tt>Qt::Key_5</tt>
<li><tt>Qt::Key_6</tt>
<li><tt>Qt::Key_7</tt>
<li><tt>Qt::Key_8</tt>
<li><tt>Qt::Key_9</tt>
<li><tt>Qt::Key_Colon</tt>
<li><tt>Qt::Key_Semicolon</tt>
<li><tt>Qt::Key_Less</tt>
<li><tt>Qt::Key_Equal</tt>
<li><tt>Qt::Key_Greater</tt>
<li><tt>Qt::Key_Question</tt>
<li><tt>Qt::Key_At</tt>
<li><tt>Qt::Key_A</tt>
<li><tt>Qt::Key_B</tt>
<li><tt>Qt::Key_C</tt>
<li><tt>Qt::Key_D</tt>
<li><tt>Qt::Key_E</tt>
<li><tt>Qt::Key_F</tt>
<li><tt>Qt::Key_G</tt>
<li><tt>Qt::Key_H</tt>
<li><tt>Qt::Key_I</tt>
<li><tt>Qt::Key_J</tt>
<li><tt>Qt::Key_K</tt>
<li><tt>Qt::Key_L</tt>
<li><tt>Qt::Key_M</tt>
<li><tt>Qt::Key_N</tt>
<li><tt>Qt::Key_O</tt>
<li><tt>Qt::Key_P</tt>
<li><tt>Qt::Key_Q</tt>
<li><tt>Qt::Key_R</tt>
<li><tt>Qt::Key_S</tt>
<li><tt>Qt::Key_T</tt>
<li><tt>Qt::Key_U</tt>
<li><tt>Qt::Key_V</tt>
<li><tt>Qt::Key_W</tt>
<li><tt>Qt::Key_X</tt>
<li><tt>Qt::Key_Y</tt>
<li><tt>Qt::Key_Z</tt>
<li><tt>Qt::Key_BracketLeft</tt>
<li><tt>Qt::Key_Backslash</tt>
<li><tt>Qt::Key_BracketRight</tt>
<li><tt>Qt::Key_AsciiCircum</tt>
<li><tt>Qt::Key_Underscore</tt>
<li><tt>Qt::Key_QuoteLeft</tt>
<li><tt>Qt::Key_BraceLeft</tt>
<li><tt>Qt::Key_Bar</tt>
<li><tt>Qt::Key_BraceRight</tt>
<li><tt>Qt::Key_AsciiTilde</tt>
<li><tt>Qt::Key_nobreakspace</tt>
<li><tt>Qt::Key_exclamdown</tt>
<li><tt>Qt::Key_cent</tt>
<li><tt>Qt::Key_sterling</tt>
<li><tt>Qt::Key_currency</tt>
<li><tt>Qt::Key_yen</tt>
<li><tt>Qt::Key_brokenbar</tt>
<li><tt>Qt::Key_section</tt>
<li><tt>Qt::Key_diaeresis</tt>
<li><tt>Qt::Key_copyright</tt>
<li><tt>Qt::Key_ordfeminine</tt>
<li><tt>Qt::Key_guillemotleft</tt>
<li><tt>Qt::Key_notsign</tt>
<li><tt>Qt::Key_hyphen</tt>
<li><tt>Qt::Key_registered</tt>
<li><tt>Qt::Key_macron</tt>
<li><tt>Qt::Key_degree</tt>
<li><tt>Qt::Key_plusminus</tt>
<li><tt>Qt::Key_twosuperior</tt>
<li><tt>Qt::Key_threesuperior</tt>
<li><tt>Qt::Key_acute</tt>
<li><tt>Qt::Key_mu</tt>
<li><tt>Qt::Key_paragraph</tt>
<li><tt>Qt::Key_periodcentered</tt>
<li><tt>Qt::Key_cedilla</tt>
<li><tt>Qt::Key_onesuperior</tt>
<li><tt>Qt::Key_masculine</tt>
<li><tt>Qt::Key_guillemotright</tt>
<li><tt>Qt::Key_onequarter</tt>
<li><tt>Qt::Key_onehalf</tt>
<li><tt>Qt::Key_threequarters</tt>
<li><tt>Qt::Key_questiondown</tt>
<li><tt>Qt::Key_Agrave</tt>
<li><tt>Qt::Key_Aacute</tt>
<li><tt>Qt::Key_Acircumflex</tt>
<li><tt>Qt::Key_Atilde</tt>
<li><tt>Qt::Key_Adiaeresis</tt>
<li><tt>Qt::Key_Aring</tt>
<li><tt>Qt::Key_AE</tt>
<li><tt>Qt::Key_Ccedilla</tt>
<li><tt>Qt::Key_Egrave</tt>
<li><tt>Qt::Key_Eacute</tt>
<li><tt>Qt::Key_Ecircumflex</tt>
<li><tt>Qt::Key_Ediaeresis</tt>
<li><tt>Qt::Key_Igrave</tt>
<li><tt>Qt::Key_Iacute</tt>
<li><tt>Qt::Key_Icircumflex</tt>
<li><tt>Qt::Key_Idiaeresis</tt>
<li><tt>Qt::Key_ETH</tt>
<li><tt>Qt::Key_Ntilde</tt>
<li><tt>Qt::Key_Ograve</tt>
<li><tt>Qt::Key_Oacute</tt>
<li><tt>Qt::Key_Ocircumflex</tt>
<li><tt>Qt::Key_Otilde</tt>
<li><tt>Qt::Key_Odiaeresis</tt>
<li><tt>Qt::Key_multiply</tt>
<li><tt>Qt::Key_Ooblique</tt>
<li><tt>Qt::Key_Ugrave</tt>
<li><tt>Qt::Key_Uacute</tt>
<li><tt>Qt::Key_Ucircumflex</tt>
<li><tt>Qt::Key_Udiaeresis</tt>
<li><tt>Qt::Key_Yacute</tt>
<li><tt>Qt::Key_THORN</tt>
<li><tt>Qt::Key_ssharp</tt>
<li><tt>Qt::Key_agrave</tt>
<li><tt>Qt::Key_aacute</tt>
<li><tt>Qt::Key_acircumflex</tt>
<li><tt>Qt::Key_atilde</tt>
<li><tt>Qt::Key_adiaeresis</tt>
<li><tt>Qt::Key_aring</tt>
<li><tt>Qt::Key_ae</tt>
<li><tt>Qt::Key_ccedilla</tt>
<li><tt>Qt::Key_egrave</tt>
<li><tt>Qt::Key_eacute</tt>
<li><tt>Qt::Key_ecircumflex</tt>
<li><tt>Qt::Key_ediaeresis</tt>
<li><tt>Qt::Key_igrave</tt>
<li><tt>Qt::Key_iacute</tt>
<li><tt>Qt::Key_icircumflex</tt>
<li><tt>Qt::Key_idiaeresis</tt>
<li><tt>Qt::Key_eth</tt>
<li><tt>Qt::Key_ntilde</tt>
<li><tt>Qt::Key_ograve</tt>
<li><tt>Qt::Key_oacute</tt>
<li><tt>Qt::Key_ocircumflex</tt>
<li><tt>Qt::Key_otilde</tt>
<li><tt>Qt::Key_odiaeresis</tt>
<li><tt>Qt::Key_division</tt>
<li><tt>Qt::Key_oslash</tt>
<li><tt>Qt::Key_ugrave</tt>
<li><tt>Qt::Key_uacute</tt>
<li><tt>Qt::Key_ucircumflex</tt>
<li><tt>Qt::Key_udiaeresis</tt>
<li><tt>Qt::Key_yacute</tt>
<li><tt>Qt::Key_thorn</tt>
<li><tt>Qt::Key_ydiaeresis</tt>
</ul><p> Multimedia keys
<ul>
<li><tt>Qt::Key_Back</tt>
<li><tt>Qt::Key_Forward</tt>
<li><tt>Qt::Key_Stop</tt>
<li><tt>Qt::Key_Refresh</tt>
<li><tt>Qt::Key_VolumeDown</tt>
<li><tt>Qt::Key_VolumeMute</tt>
<li><tt>Qt::Key_VolumeUp</tt>
<li><tt>Qt::Key_BassBoost</tt>
<li><tt>Qt::Key_BassUp</tt>
<li><tt>Qt::Key_BassDown</tt>
<li><tt>Qt::Key_TrebleUp</tt>
<li><tt>Qt::Key_TrebleDown</tt>
<li><tt>Qt::Key_MediaPlay</tt>
<li><tt>Qt::Key_MediaStop</tt>
<li><tt>Qt::Key_MediaPrev</tt>
<li><tt>Qt::Key_MediaNext</tt>
<li><tt>Qt::Key_MediaRecord</tt>
<li><tt>Qt::Key_HomePage</tt>
<li><tt>Qt::Key_Favorites</tt>
<li><tt>Qt::Key_Search</tt>
<li><tt>Qt::Key_Standby</tt>
<li><tt>Qt::Key_OpenUrl</tt>
<li><tt>Qt::Key_LaunchMail</tt>
<li><tt>Qt::Key_LaunchMedia</tt>
<li><tt>Qt::Key_Launch0</tt>
<li><tt>Qt::Key_Launch1</tt>
<li><tt>Qt::Key_Launch2</tt>
<li><tt>Qt::Key_Launch3</tt>
<li><tt>Qt::Key_Launch4</tt>
<li><tt>Qt::Key_Launch5</tt>
<li><tt>Qt::Key_Launch6</tt>
<li><tt>Qt::Key_Launch7</tt>
<li><tt>Qt::Key_Launch8</tt>
<li><tt>Qt::Key_Launch9</tt>
<li><tt>Qt::Key_LaunchA</tt>
<li><tt>Qt::Key_LaunchB</tt>
<li><tt>Qt::Key_LaunchC</tt>
<li><tt>Qt::Key_LaunchD</tt>
<li><tt>Qt::Key_LaunchE</tt>
<li><tt>Qt::Key_LaunchF</tt>
<li><tt>Qt::Key_MediaLast</tt>
<li><tt>Qt::Key_unknown</tt>
<li><tt>Qt::Key_Direction_L</tt> - internal use only
<li><tt>Qt::Key_Direction_R</tt> - internal use only
</ul><p>
<h3 class=fn><a name="MacintoshVersion-enum"></a>Qt::MacintoshVersion</h3>
<ul>
<li><tt>Qt::MV_Unknown</tt> - Version cannot be detected
<li><tt>Qt::MV_9</tt> - Mac OS 9
<li><tt>Qt::MV_10_DOT_3</tt> - Mac OS X 10.3
<li><tt>Qt::MV_10_DOT_2</tt> - Mac OS X 10.2
<li><tt>Qt::MV_10_DOT_1</tt> - Mac OS X 10.1
<li><tt>Qt::MV_10_DOT_0</tt> - Mac OS X 10.0
<li><tt>Qt::MV_10_DOT_4</tt> - Mac OS X 10.4
<li><tt>Qt::MV_CHEETAH</tt> - 10.0 Codename
<li><tt>Qt::MV_PUMA</tt> - 10.1 Codename
<li><tt>Qt::MV_JAGUAR</tt> - 10.2 Codename
<li><tt>Qt::MV_PANTHER</tt> - 10.3 Codename
<li><tt>Qt::MV_TIGER</tt> - 10.4 Codename
</ul>
<h3 class=fn><a name="Modifier-enum"></a>Qt::Modifier</h3>
<p> This enum type describes the keyboard modifier keys supported by
Qt.
<ul>
<li><tt>Qt::SHIFT</tt> - the Shift keys provided on all standard keyboards.
<li><tt>Qt::META</tt> - the Meta keys.
<li><tt>Qt::CTRL</tt> - the Ctrl keys.
<li><tt>Qt::ALT</tt> - the normal Alt keys, but not e.g. AltGr.
<li><tt>Qt::MODIFIER_MASK</tt> - is a mask of Shift, Ctrl, Alt and Meta.
<li><tt>Qt::UNICODE_ACCEL</tt> - the accelerator is specified as a Unicode code
point, not as a Qt Key.
</ul>
<h3 class=fn><a name="Orientation-enum"></a>Qt::Orientation</h3>
<p> This type is used to signify an object's orientation.
<ul>
<li><tt>Qt::Horizontal</tt>
<li><tt>Qt::Vertical</tt>
</ul><p> Orientation is used with <a href="qscrollbar.html">QScrollBar</a> for example.
<h3 class=fn><a name="PaintUnit-enum"></a>Qt::PaintUnit</h3>
<ul>
<li><tt>Qt::PixelUnit</tt>
<li><tt>Qt::LoMetricUnit</tt> - <em>obsolete</em>
<li><tt>Qt::HiMetricUnit</tt> - <em>obsolete</em>
<li><tt>Qt::LoEnglishUnit</tt> - <em>obsolete</em>
<li><tt>Qt::HiEnglishUnit</tt> - <em>obsolete</em>
<li><tt>Qt::TwipsUnit</tt> - <em>obsolete</em>
</ul>
<h3 class=fn><a name="PenCapStyle-enum"></a>Qt::PenCapStyle</h3>
<p> This enum type defines the pen cap styles supported by Qt, i.e.
the line end caps that can be drawn using <a href="qpainter.html">QPainter</a>.
<ul>
<li><tt>Qt::FlatCap</tt> - a square line end that does not cover the end
point of the line.
<li><tt>Qt::SquareCap</tt> - a square line end that covers the end point and
extends beyond it with half the line width.
<li><tt>Qt::RoundCap</tt> - a rounded line end.
<li><tt>Qt::MPenCapStyle</tt> - mask of the pen cap styles.
</ul><p> <center><img src="pen-cap-styles.png" alt="Pen Cap Styles"></center>
<h3 class=fn><a name="PenJoinStyle-enum"></a>Qt::PenJoinStyle</h3>
<p> This enum type defines the pen join styles supported by Qt, i.e.
which joins between two connected lines can be drawn using
<a href="qpainter.html">QPainter</a>.
<ul>
<li><tt>Qt::MiterJoin</tt> - The outer edges of the lines are extended to
meet at an angle, and this area is filled.
<li><tt>Qt::BevelJoin</tt> - The triangular notch between the two lines is filled.
<li><tt>Qt::RoundJoin</tt> - A circular arc between the two lines is filled.
<li><tt>Qt::MPenJoinStyle</tt> - mask of the pen join styles.
</ul><p> <center><img src="pen-join-styles.png" alt="Pen Join Styles"></center>
<h3 class=fn><a name="PenStyle-enum"></a>Qt::PenStyle</h3>
<p> This enum type defines the pen styles that can be drawn using
<a href="qpainter.html">QPainter</a>. The styles are
<ul>
<li><tt>Qt::NoPen</tt> - no line at all. For example, <a href="qpainter.html#drawRect">QPainter::drawRect</a>()
fills but does not draw any boundary line.
<li><tt>Qt::SolidLine</tt> - a simple line.
<li><tt>Qt::DashLine</tt> - dashes separated by a few pixels.
<li><tt>Qt::DotLine</tt> - dots separated by a few pixels.
<li><tt>Qt::DashDotLine</tt> - alternate dots and dashes.
<li><tt>Qt::DashDotDotLine</tt> - one dash, two dots, one dash, two dots.
<li><tt>Qt::MPenStyle</tt> - mask of the pen styles.
</ul><p> <center><img src="pen-styles.png" alt="Pen Styles"></center>
<h3 class=fn><a name="RasterOp-enum"></a>Qt::RasterOp</h3>
<p> This enum type is used to describe the way things are written to
the paint device. Each bit of the <em>src</em> (what you write)
interacts with the corresponding bit of the <em>dst</em> pixel.
<ul>
<li><tt>Qt::CopyROP</tt> - dst = src
<li><tt>Qt::OrROP</tt> - dst = src OR dst
<li><tt>Qt::XorROP</tt> - dst = src XOR dst
<li><tt>Qt::NotAndROP</tt> - dst = (NOT src) AND dst
<li><tt>Qt::EraseROP</tt> - an alias for <a href="#RasterOp-enum">NotAndROP</a>
<li><tt>Qt::NotCopyROP</tt> - dst = NOT src
<li><tt>Qt::NotOrROP</tt> - dst = (NOT src) OR dst
<li><tt>Qt::NotXorROP</tt> - dst = (NOT src) XOR dst
<li><tt>Qt::AndROP</tt> - dst = src AND dst
<li><tt>Qt::NotEraseROP</tt> - an alias for <a href="#RasterOp-enum">AndROP</a>
<li><tt>Qt::NotROP</tt> - dst = NOT dst
<li><tt>Qt::ClearROP</tt> - dst = 0
<li><tt>Qt::SetROP</tt> - dst = 1
<li><tt>Qt::NopROP</tt> - dst = dst
<li><tt>Qt::AndNotROP</tt> - dst = src AND (NOT dst)
<li><tt>Qt::OrNotROP</tt> - dst = src OR (NOT dst)
<li><tt>Qt::NandROP</tt> - dst = NOT (src AND dst)
<li><tt>Qt::NorROP</tt> - dst = NOT (src OR dst)
</ul><p> By far the most useful ones are <a href="#RasterOp-enum">CopyROP</a> and <a href="#RasterOp-enum">XorROP</a>.
<p> On Qt/Embedded, only <a href="#RasterOp-enum">CopyROP</a>, <a href="#RasterOp-enum">XorROP</a>, and <a href="#RasterOp-enum">NotROP</a> are supported.
<h3 class=fn><a name="SequenceMatch-enum"></a>Qt::SequenceMatch</h3>
<ul>
<li><tt>Qt::NoMatch</tt> - Sequences have nothing in common
<li><tt>Qt::PartialMatch</tt> - Sequences match partially, but are not complete
<li><tt>Qt::Identical</tt> - Sequences do not differ
</ul>
<h3 class=fn><a name="SortOrder-enum"></a>Qt::SortOrder</h3>
<p> This enum describes how the items in a widget are sorted.
<ul>
<li><tt>Qt::Ascending</tt> - The items are sorted ascending e.g. starts with
'AAA' ends with 'ZZZ' in Latin-1 locales
<li><tt>Qt::Descending</tt> - The items are sorted descending e.g. starts with
'ZZZ' ends with 'AAA' in Latin-1 locales
</ul>
<h3 class=fn><a name="StringComparisonMode-enum"></a>Qt::StringComparisonMode</h3>
<p> This enum type is used to set the string comparison mode when
searching for an item. It is used by <a href="qlistbox.html">QListBox</a>, <a href="qlistview.html">QListView</a> and
<a href="qiconview.html">QIconView</a>, for example. We'll refer to the string being searched
as the 'target' string.
<ul>
<li><tt>Qt::CaseSensitive</tt> - The strings must match case sensitively.
<li><tt>Qt::ExactMatch</tt> - The target and search strings must match exactly.
<li><tt>Qt::BeginsWith</tt> - The target string begins with the search string.
<li><tt>Qt::EndsWith</tt> - The target string ends with the search string.
<li><tt>Qt::Contains</tt> - The target string contains the search string.
</ul><p> If you OR these flags together (excluding <a href="#StringComparisonMode-enum">CaseSensitive</a>), the
search criteria be applied in the following order: <a href="#StringComparisonMode-enum">ExactMatch</a>,
<a href="#StringComparisonMode-enum">BeginsWith</a>, <a href="#StringComparisonMode-enum">EndsWith</a>, <a href="#StringComparisonMode-enum">Contains</a>.
<p> Matching is case-insensitive unless <a href="#StringComparisonMode-enum">CaseSensitive</a> is set. <a href="#StringComparisonMode-enum">CaseSensitive</a> can be OR-ed with any combination of the other
flags.
<p>
<h3 class=fn><a name="TextFlags-enum"></a>Qt::TextFlags</h3>
<p> This enum type is used to define some modifier flags. Some of
these flags only make sense in the context of printing:
<ul>
<li><tt>Qt::SingleLine</tt> - Treats all whitespace as spaces and prints just
one line.
<li><tt>Qt::DontClip</tt> - If it's impossible to stay within the given bounds,
it prints outside.
<li><tt>Qt::ExpandTabs</tt> - Makes the U+0009 (ASCII tab) character move to
the next tab stop.
<li><tt>Qt::ShowPrefix</tt> - Displays the string "&P" as <u>P</u>
(see <a href="qbutton.html">QButton</a> for an example). For an ampersand, use "&&".
<li><tt>Qt::WordBreak</tt> - Breaks lines at appropriate points, e.g. at word
boundaries.
<li><tt>Qt::BreakAnywhere</tt> - Breaks lines anywhere, even within words.
<li><tt>Qt::NoAccel</tt> - Same as ShowPrefix but doesn't draw the underlines.
</ul><p> You can use as many modifier flags as you want, except that <a href="#TextFlags-enum">SingleLine</a> and <a href="#TextFlags-enum">WordBreak</a> cannot be combined.
<p> Flags that are inappropriate for a given use (e.g. ShowPrefix to
<a href="qgridlayout.html#addWidget">QGridLayout::addWidget</a>()) are generally ignored.
<p>
<h3 class=fn><a name="TextFormat-enum"></a>Qt::TextFormat</h3>
<p> This enum is used in widgets that can display both plain text and
rich text, e.g. <a href="qlabel.html">QLabel</a>. It is used for deciding whether a text
string should be interpreted as one or the other. This is normally
done by passing one of the enum values to a setTextFormat()
function.
<ul>
<li><tt>Qt::PlainText</tt> - The text string is interpreted as a plain text
string.
<li><tt>Qt::RichText</tt> - The text string is interpreted as a rich text
string using the current <a href="qstylesheet.html#defaultSheet">QStyleSheet::defaultSheet</a>().
<li><tt>Qt::AutoText</tt> - The text string is interpreted as for <a href="#TextFormat-enum">RichText</a>
if <a href="qstylesheet.html#mightBeRichText">QStyleSheet::mightBeRichText</a>() returns TRUE, otherwise as
<a href="#TextFormat-enum">PlainText</a>.
<li><tt>Qt::LogText</tt> - A special, limited text format which is only used
by <a href="qtextedit.html">QTextEdit</a> in an optimized mode.
</ul>
<h3 class=fn><a name="TimeSpec-enum"></a>Qt::TimeSpec</h3>
<ul>
<li><tt>Qt::LocalTime</tt> - Locale dependent time (Timezones and Daylight Savings Time)
<li><tt>Qt::UTC</tt> - Coordinated Universal Time, replaces Greenwich Time
</ul>
<h3 class=fn><a name="UIEffect-enum"></a>Qt::UIEffect</h3>
<ul>
<li><tt>Qt::UI_General</tt>
<li><tt>Qt::UI_AnimateMenu</tt>
<li><tt>Qt::UI_FadeMenu</tt>
<li><tt>Qt::UI_AnimateCombo</tt>
<li><tt>Qt::UI_AnimateTooltip</tt>
<li><tt>Qt::UI_FadeTooltip</tt>
<li><tt>Qt::UI_AnimateToolBox</tt> - Reserved
</ul>
<h3 class=fn><a name="WidgetFlags-enum"></a>Qt::WidgetFlags</h3>
<p> <!-- index widget flag -->
<p> This enum type is used to specify various window-system properties
for the widget. They are fairly unusual but necessary in a few
cases. Some of these flags depend on whether the underlying window
manager supports them. (See the <a href="toplevel-example.html">toplevel example</a> for an explanation and example of their
use.)
<p> The main types are
<ul>
<li><tt>Qt::WType_TopLevel</tt> - indicates that this widget is a top-level
widget, usually with a window-system frame and so on.
<li><tt>Qt::WType_Dialog</tt> - indicates that this widget is a top-level
window that should be decorated as a dialog (i.e. typically no
maximize or minimize buttons in the title bar). If you want to use
it as a modal dialog it should be launched from another window, or
have a parent and this flag should be combined with <a href="#WidgetFlags-enum">WShowModal</a>.
If you make it modal, the dialog will prevent other top-level
windows in the application from getting any input. <a href="#WidgetFlags-enum">WType_Dialog</a>
implies <a href="#WidgetFlags-enum">WType_TopLevel</a>. We refer to a top-level window that has
a parent as a <em>secondary</em> window. (See also <a href="#WidgetFlags-enum">WGroupLeader</a>.)
<li><tt>Qt::WType_Popup</tt> - indicates that this widget is a popup
top-level window, i.e. that it is modal, but has a window system
frame appropriate for popup menus. <a href="#WidgetFlags-enum">WType_Popup</a> implies
WType_TopLevel.
<li><tt>Qt::WType_Desktop</tt> - indicates that this widget is the desktop.
See also <a href="#WidgetFlags-enum">WPaintDesktop</a> below. <a href="#WidgetFlags-enum">WType_Desktop</a> implies <a href="#WidgetFlags-enum">WType_TopLevel</a>.
</ul><p> There are also a number of flags which you can use to customize
the appearance of top-level windows. These have no effect on other
windows:
<ul>
<li><tt>Qt::WStyle_Customize</tt> - indicates that the <tt>WStyle_*</tt> flags
should be used to build the window instead of the default flags.
<li><tt>Qt::WStyle_NormalBorder</tt> - gives the window a normal border.
This cannot be combined with <a href="#WidgetFlags-enum">WStyle_DialogBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_DialogBorder</tt> - gives the window a thin dialog border.
This cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_NoBorder</tt> - produces a borderless window. Note that
the user cannot move or resize a borderless window via the window
system. This cannot be combined with <a href="#WidgetFlags-enum">WStyle_NormalBorder</a> or <a href="#WidgetFlags-enum">WStyle_DialogBorder</a>. On Windows, the flag works fine. On X11, the
result of the flag is dependent on the window manager and its
ability to understand MOTIF and/or NETWM hints: most existing
modern window managers can handle this. With <a href="#WidgetFlags-enum">WX11BypassWM</a>, you
can bypass the window manager completely. This results in a
borderless window that is not managed at all (i.e. no keyboard
input unless you call setActiveWindow() manually).
<li><tt>Qt::WStyle_NoBorderEx</tt> - this value is obsolete. It has the same
effect as using <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_Title</tt> - gives the window a title bar.
<li><tt>Qt::WStyle_SysMenu</tt> - adds a window system menu.
<li><tt>Qt::WStyle_Minimize</tt> - adds a minimize button. Note that on
Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to
work.
<li><tt>Qt::WStyle_Maximize</tt> - adds a maximize button. Note that on
Windows this has to be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> for it to work.
<li><tt>Qt::WStyle_MinMax</tt> - is equal to <tt>WStyle_Minimize|WStyle_Maximize</tt>. Note that on Windows this has to
be combined with <a href="#WidgetFlags-enum">WStyle_SysMenu</a> to work.
<li><tt>Qt::WStyle_ContextHelp</tt> - adds a context help button to dialogs.
<li><tt>Qt::WStyle_Tool</tt> - makes the window a tool window. A tool window
is often a small window with a smaller than usual title bar and
decoration, typically used for collections of tool buttons. It
there is a parent, the tool window will always be kept on top of
it. If there isn't a parent, you may consider passing <a href="#WidgetFlags-enum">WStyle_StaysOnTop</a> as well. If the window system supports it, a
tool window can be decorated with a somewhat lighter frame. It can
also be combined with <a href="#WidgetFlags-enum">WStyle_NoBorder</a>.
<li><tt>Qt::WStyle_StaysOnTop</tt> - informs the window system that the
window should stay on top of all other windows. Note that on some
window managers on X11 you also have to pass <a href="#WidgetFlags-enum">WX11BypassWM</a> for
this flag to work correctly.
<li><tt>Qt::WStyle_Dialog</tt> - indicates that the window is a logical
subwindow of its parent (i.e. a dialog). The window will not get
its own taskbar entry and will be kept on top of its parent by the
window system. Usually it will also be minimized when the parent
is minimized. If not customized, the window is decorated with a
slightly simpler title bar. This is the flag <a href="qdialog.html">QDialog</a> uses.
<li><tt>Qt::WStyle_Splash</tt> - indicates that the window is a splash screen.
On X11, we try to follow NETWM standard for a splash screen window if the
window manager supports is otherwise it is equivalent to <a href="#WidgetFlags-enum">WX11BypassWM</a>. On
other platforms, it is equivalent to <a href="#WidgetFlags-enum">WStyle_NoBorder</a> <tt>|</tt> <a href="#WidgetFlags-enum">WMacNoSheet</a> <tt>|</tt>
<a href="#WidgetFlags-enum">WStyle_Tool</a> <tt>|</tt> <a href="#WidgetFlags-enum">WWinOwnDC</a>
</ul><p> Modifier flags:
<ul>
<li><tt>Qt::WDestructiveClose</tt> - makes Qt delete this widget when the
widget has accepted closeEvent(), or when the widget tried to
ignore closeEvent() but could not.
<li><tt>Qt::WPaintDesktop</tt> - gives this widget paint events for the
desktop.
<li><tt>Qt::WPaintUnclipped</tt> - makes all painters operating on this
widget unclipped. Children of this widget or other widgets in
front of it do not clip the area the painter can paint on.
<li><tt>Qt::WPaintClever</tt> - indicates that Qt should <em>not</em> try to
optimize repainting for the widget, but instead pass on window
system repaint events directly. (This tends to produce more events
and smaller repaint regions.)
<li><tt>Qt::WMouseNoMask</tt> - indicates that even if the widget has a mask,
it wants mouse events for its entire rectangle.
<li><tt>Qt::WStaticContents</tt> - indicates that the widget contents are
north-west aligned and static. On resize, such a widget will
receive paint events only for the newly visible part of itself.
<li><tt>Qt::WNoAutoErase</tt> - indicates that the widget paints all its
pixels. Updating, resizing, scrolling and focus changes should
therefore not erase the widget. This allows smart-repainting to
avoid flicker.
<li><tt>Qt::WResizeNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
<li><tt>Qt::WRepaintNoErase</tt> - this value is obsolete; use WNoAutoErase instead.
<li><tt>Qt::WGroupLeader</tt> - makes this window a group leader. A group
leader should <em>not</em> have a parent (i.e. it should be a top-level
window). Any decendant windows (direct or indirect) of a group
leader are in its group; other windows are not. If you show a
secondary window from the group (i.e. show a window whose top-most
parent is a group leader), that window will be modal with respect
to the other windows in the group, but modeless with respect to
windows in other groups.
</ul><p> Miscellaneous flags
<ul>
<li><tt>Qt::WShowModal</tt> - see WType_Dialog
</ul><p> Internal flags.
<ul>
<li><tt>Qt::WNoMousePropagation</tt>
<li><tt>Qt::WStaticContents</tt>
<li><tt>Qt::WStyle_Reserved</tt>
<li><tt>Qt::WSubWindow</tt>
<li><tt>Qt::WType_Modal</tt>
<li><tt>Qt::WWinOwnDC</tt>
<li><tt>Qt::WX11BypassWM</tt>
<li><tt>Qt::WMacNoSheet</tt>
<li><tt>Qt::WMacDrawer</tt>
<li><tt>Qt::WStyle_Mask</tt>
<li><tt>Qt::WType_Mask</tt>
</ul><p>
<h3 class=fn><a name="WidgetState-enum"></a>Qt::WidgetState</h3>
<p> Internal flags.
<ul>
<li><tt>Qt::WState_Created</tt>
<li><tt>Qt::WState_Disabled</tt>
<li><tt>Qt::WState_Visible</tt>
<li><tt>Qt::WState_ForceHide</tt>
<li><tt>Qt::WState_OwnCursor</tt>
<li><tt>Qt::WState_MouseTracking</tt>
<li><tt>Qt::WState_CompressKeys</tt>
<li><tt>Qt::WState_BlockUpdates</tt>
<li><tt>Qt::WState_InPaintEvent</tt>
<li><tt>Qt::WState_Reparented</tt>
<li><tt>Qt::WState_ConfigPending</tt>
<li><tt>Qt::WState_Resized</tt>
<li><tt>Qt::WState_AutoMask</tt>
<li><tt>Qt::WState_Polished</tt>
<li><tt>Qt::WState_DND</tt>
<li><tt>Qt::WState_Reserved0</tt> - <em>internal</em>
<li><tt>Qt::WState_CreatedHidden</tt>
<li><tt>Qt::WState_Maximized</tt>
<li><tt>Qt::WState_Minimized</tt>
<li><tt>Qt::WState_ForceDisabled</tt>
<li><tt>Qt::WState_Exposed</tt>
<li><tt>Qt::WState_HasMouse</tt>
<li><tt>Qt::WState_CreatedHidden</tt>
<li><tt>Qt::WState_OwnSizePolicy</tt>
<li><tt>Qt::WState_FullScreen</tt>
</ul>
<h3 class=fn><a name="WindowState-enum"></a>Qt::WindowState</h3>
<p> <!-- index window state -->
<p> This enum type is used to specify the current state of a top-level
window.
<p> The states are
<ul>
<li><tt>Qt::WindowNoState</tt> - The window has no state set (in normal state).
<li><tt>Qt::WindowMinimized</tt> - The window is minimized (i.e. iconified).
<li><tt>Qt::WindowMaximized</tt> - The window is maximized with a frame around it.
<li><tt>Qt::WindowFullScreen</tt> - The window fills the entire screen without any frame around it.
<li><tt>Qt::WindowActive</tt> - The window is the active window, i.e. it has <a href="focus.html#keyboard-focus">keyboard focus</a>.
</ul><p>
<h3 class=fn><a name="WindowsVersion-enum"></a>Qt::WindowsVersion</h3>
<ul>
<li><tt>Qt::WV_32s</tt> - Windows 3.1 with Win 32s
<li><tt>Qt::WV_95</tt> - Windows 95
<li><tt>Qt::WV_98</tt> - Windows 98
<li><tt>Qt::WV_Me</tt> - Windows Me
<li><tt>Qt::WV_DOS_based</tt>
<li><tt>Qt::WV_NT</tt> - Windows NT
<li><tt>Qt::WV_2000</tt> - Windows 2000
<li><tt>Qt::WV_XP</tt> - Windows XP
<li><tt>Qt::WV_2003</tt> - Windows Server 2003
<li><tt>Qt::WV_NT_based</tt>
<li><tt>Qt::WV_VISTA</tt> - Windows Vista
<li><tt>Qt::WV_CE</tt> - Windows CE
<li><tt>Qt::WV_CENET</tt> - Windows CE .NET
<li><tt>Qt::WV_CE_based</tt>
</ul>
<!-- eof -->
<hr><p>
This file is part of the <a href="index.html">Qt toolkit</a>.
Copyright © 1995-2007
<a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
<table width=100% cellspacing=0 border=0><tr>
<td>Copyright © 2007
<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
<td align=right><div align=right>Qt 3.3.8</div>
</table></div></address></body>
</html>
|