Qyoto  4.0.5
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Properties
QtCore.Qt Class Reference

The Qt namespace contains miscellaneous identifiers used throughout the Qt library. More...

Inheritance diagram for QtCore.Qt:

Public Types

enum  AlignmentFlag {
  AlignAbsolute = 16, AlignBottom = 64, AlignCenter = 132, AlignHCenter = 4,
  AlignHorizontal_Mask = 31, AlignJustify = 8, AlignLeading = 1, AlignLeft = 1,
  AlignRight = 2, AlignTop = 32, AlignTrailing = 2, AlignVCenter = 128,
  AlignVertical_Mask = 224
}
  More...
 
enum  AnchorAttribute { AnchorHref = 1, AnchorName = 0 }
  More...
 
enum  AnchorPoint {
  AnchorBottom = 5, AnchorHorizontalCenter = 1, AnchorLeft = 0, AnchorRight = 2,
  AnchorTop = 3, AnchorVerticalCenter = 4
}
  More...
 
enum  ApplicationAttribute {
  AA_AttributeCount = 12, AA_CaptureMultimediaKeys = 11, AA_DontCreateNativeWidgetSiblings = 4, AA_DontShowIconsInMenus = 2,
  AA_DontUseNativeMenuBar = 6, AA_ImmediateWidgetCreation = 0, AA_MSWindowsUseDirect3DByDefault = 1, AA_MacDontSwapCtrlAndMeta = 7,
  AA_MacPluginApplication = 5, AA_NativeWindows = 3, AA_S60DisablePartialScreenInputMode = 9, AA_S60DontConstructApplicationPanes = 8,
  AA_X11InitThreads = 10
}
  More...
 
enum  ArrowType {
  DownArrow = 2, LeftArrow = 3, NoArrow = 0, RightArrow = 4,
  UpArrow = 1
}
 
enum  AspectRatioMode { IgnoreAspectRatio = 0, KeepAspectRatio = 1, KeepAspectRatioByExpanding = 2 }
  More...
 
enum  Axis { XAxis = 0, YAxis = 1, ZAxis = 2 }
  More...
 
enum  BGMode { OpaqueMode = 1, TransparentMode = 0 }
  More...
 
enum  BrushStyle {
  BDiagPattern = 12, ConicalGradientPattern = 17, CrossPattern = 11, Dense1Pattern = 2,
  Dense2Pattern = 3, Dense3Pattern = 4, Dense4Pattern = 5, Dense5Pattern = 6,
  Dense6Pattern = 7, Dense7Pattern = 8, DiagCrossPattern = 14, FDiagPattern = 13,
  HorPattern = 9, LinearGradientPattern = 15, NoBrush = 0, RadialGradientPattern = 16,
  SolidPattern = 1, TexturePattern = 24, VerPattern = 10
}
  More...
 
enum  CaseSensitivity { CaseInsensitive = 0, CaseSensitive = 1 }
 
enum  CheckState { Checked = 2, PartiallyChecked = 1, Unchecked = 0 }
  More...
 
enum  ClipOperation { IntersectClip = 2, NoClip = 0, ReplaceClip = 1, UniteClip = 3 }
 
enum  ConnectionType {
  AutoCompatConnection = 3, AutoConnection = 0, BlockingQueuedConnection = 4, DirectConnection = 1,
  QueuedConnection = 2, UniqueConnection = 128
}
  More...
 
enum  ContextMenuPolicy {
  ActionsContextMenu = 2, CustomContextMenu = 3, DefaultContextMenu = 1, NoContextMenu = 0,
  PreventContextMenu = 4
}
  More...
 
enum  CoordinateSystem { DeviceCoordinates = 0, LogicalCoordinates = 1 }
  More...
 
enum  Corner { BottomLeftCorner = 2, BottomRightCorner = 3, TopLeftCorner = 0, TopRightCorner = 1 }
  More...
 
enum  CursorMoveStyle { LogicalMoveStyle = 0, VisualMoveStyle = 1 }
  More...
 
enum  CursorShape {
  ArrowCursor = 0, BitmapCursor = 24, BlankCursor = 10, BusyCursor = 16,
  ClosedHandCursor = 18, CrossCursor = 2, CustomCursor = 25, DragCopyCursor = 19,
  DragLinkCursor = 21, DragMoveCursor = 20, ForbiddenCursor = 14, IBeamCursor = 4,
  LastCursor = 21, OpenHandCursor = 17, PointingHandCursor = 13, SizeAllCursor = 9,
  SizeBDiagCursor = 7, SizeFDiagCursor = 8, SizeHorCursor = 6, SizeVerCursor = 5,
  SplitHCursor = 12, SplitVCursor = 11, UpArrowCursor = 1, WaitCursor = 3,
  WhatsThisCursor = 15
}
  More...
 
enum  DateFormat {
  DefaultLocaleLongDate = 7, DefaultLocaleShortDate = 6, ISODate = 1, LocalDate = 2,
  LocaleDate = 3, SystemLocaleDate = 2, SystemLocaleLongDate = 5, SystemLocaleShortDate = 4,
  TextDate = 0
}
  More...
 
enum  DayOfWeek {
  Friday = 5, Monday = 1, Saturday = 6, Sunday = 7,
  Thursday = 4, Tuesday = 2, Wednesday = 3
}
 
enum  DockWidgetArea {
  AllDockWidgetAreas = 15, BottomDockWidgetArea = 8, DockWidgetArea_Mask = 15, LeftDockWidgetArea = 1,
  NoDockWidgetArea = 0, RightDockWidgetArea = 2, TopDockWidgetArea = 4
}
 
enum  DockWidgetAreaSizes { NDockWidgetAreas = 4 }
 
enum  DropAction {
  ActionMask = 255, CopyAction = 1, IgnoreAction = 0, LinkAction = 4,
  MoveAction = 2, TargetMoveAction = 32770
}
 
enum  EventPriority { HighEventPriority = 1, LowEventPriority = -1, NormalEventPriority = 0 }
  More...
 
enum  FillRule { OddEvenFill = 0, WindingFill = 1 }
  More...
 
enum  FocusPolicy {
  ClickFocus = 2, NoFocus = 0, StrongFocus = 11, TabFocus = 1,
  WheelFocus = 15
}
  More...
 
enum  FocusReason {
  ActiveWindowFocusReason = 3, BacktabFocusReason = 2, MenuBarFocusReason = 6, MouseFocusReason = 0,
  NoFocusReason = 8, OtherFocusReason = 7, PopupFocusReason = 4, ShortcutFocusReason = 5,
  TabFocusReason = 1
}
  More...
 
enum  GestureFlag { DontStartGestureOnChildren = 1, IgnoredGesturesPropagateToParent = 4, ReceivePartialGestures = 2 }
  More...
 
enum  GestureState {
  GestureCanceled = 4, GestureFinished = 3, GestureStarted = 1, GestureUpdated = 2,
  NoGesture = 0
}
  More...
 
enum  GestureType {
  CustomGesture = 256, LastGestureType = -1, PanGesture = 3, PinchGesture = 4,
  SwipeGesture = 5, TapAndHoldGesture = 2, TapGesture = 1
}
  More...
 
enum  GlobalColor {
  black = 2, blue = 9, color0 = 0, color1 = 1,
  cyan = 10, darkBlue = 15, darkCyan = 16, darkGray = 4,
  darkGreen = 14, darkMagenta = 17, darkRed = 13, darkYellow = 18,
  gray = 5, green = 8, lightGray = 6, magenta = 11,
  red = 7, transparent = 19, white = 3, yellow = 12
}
  More...
 
enum  ImageConversionFlag {
  AlphaDither_Mask = 12, AutoColor = 0, AutoDither = 0, AvoidDither = 128,
  ColorMode_Mask = 3, ColorOnly = 3, DiffuseAlphaDither = 8, DiffuseDither = 0,
  DitherMode_Mask = 192, Dither_Mask = 48, MonoOnly = 2, NoAlpha = 12,
  NoFormatConversion = 512, NoOpaqueDetection = 256, OrderedAlphaDither = 4, OrderedDither = 16,
  PreferDither = 64, ThresholdAlphaDither = 0, ThresholdDither = 32
}
  More...
 
enum  Initialization { Uninitialized = 0 }
 
enum  InputMethodHint {
  ImhDialableCharactersOnly = 1048576, ImhDigitsOnly = 65536, ImhEmailCharactersOnly = 2097152, ImhExclusiveInputMask = -65536,
  ImhFormattedNumbersOnly = 131072, ImhHiddenText = 1, ImhLowercaseOnly = 524288, ImhNoAutoUppercase = 2,
  ImhNoPredictiveText = 32, ImhNone = 0, ImhPreferLowercase = 16, ImhPreferNumbers = 4,
  ImhPreferUppercase = 8, ImhUppercaseOnly = 262144, ImhUrlCharactersOnly = 4194304
}
  More...
 
enum  InputMethodQuery {
  ImAnchorPosition = 6, ImCurrentSelection = 4, ImCursorPosition = 2, ImFont = 1,
  ImMaximumTextLength = 5, ImMicroFocus = 0, ImSurroundingText = 3
}
 
enum  ItemDataRole {
  AccessibleDescriptionRole = 12, AccessibleTextRole = 11, BackgroundColorRole = 8, BackgroundRole = 8,
  CheckStateRole = 10, DecorationPropertyRole = 28, DecorationRole = 1, DisplayPropertyRole = 27,
  DisplayRole = 0, EditRole = 2, FontRole = 6, ForegroundRole = 9,
  InitialSortOrderRole = 14, SizeHintRole = 13, StatusTipPropertyRole = 30, StatusTipRole = 4,
  TextAlignmentRole = 7, TextColorRole = 9, ToolTipPropertyRole = 29, ToolTipRole = 3,
  UserRole = 32, WhatsThisPropertyRole = 31, WhatsThisRole = 5
}
  More...
 
enum  ItemFlag {
  ItemIsDragEnabled = 4, ItemIsDropEnabled = 8, ItemIsEditable = 2, ItemIsEnabled = 32,
  ItemIsSelectable = 1, ItemIsTristate = 64, ItemIsUserCheckable = 16, NoItemFlags = 0
}
  More...
 
enum  ItemSelectionMode { ContainsItemBoundingRect = 2, ContainsItemShape = 0, IntersectsItemBoundingRect = 3, IntersectsItemShape = 1 }
  More...
 
enum  Key {
  Key_0 = 48, Key_1 = 49, Key_2 = 50, Key_3 = 51,
  Key_4 = 52, Key_5 = 53, Key_6 = 54, Key_7 = 55,
  Key_8 = 56, Key_9 = 57, Key_A = 65, Key_AE = 198,
  Key_Aacute = 193, Key_Acircumflex = 194, Key_AddFavorite = 16777408, Key_Adiaeresis = 196,
  Key_Agrave = 192, Key_Alt = 16777251, Key_AltGr = 16781571, Key_Ampersand = 38,
  Key_Any = 32, Key_Apostrophe = 39, Key_ApplicationLeft = 16777415, Key_ApplicationRight = 16777416,
  Key_Aring = 197, Key_AsciiCircum = 94, Key_AsciiTilde = 126, Key_Asterisk = 42,
  Key_At = 64, Key_Atilde = 195, Key_AudioCycleTrack = 16777478, Key_AudioForward = 16777474,
  Key_AudioRandomPlay = 16777476, Key_AudioRepeat = 16777475, Key_AudioRewind = 16777413, Key_Away = 16777464,
  Key_B = 66, Key_Back = 16777313, Key_BackForward = 16777414, Key_Backslash = 92,
  Key_Backspace = 16777219, Key_Backtab = 16777218, Key_Bar = 124, Key_BassBoost = 16777331,
  Key_BassDown = 16777333, Key_BassUp = 16777332, Key_Battery = 16777470, Key_Bluetooth = 16777471,
  Key_Book = 16777417, Key_BraceLeft = 123, Key_BraceRight = 125, Key_BracketLeft = 91,
  Key_BracketRight = 93, Key_BrightnessAdjust = 16777410, Key_C = 67, Key_CD = 16777418,
  Key_Calculator = 16777419, Key_Calendar = 16777444, Key_Call = 17825796, Key_Camera = 17825824,
  Key_CameraFocus = 17825825, Key_Cancel = 16908289, Key_CapsLock = 16777252, Key_Ccedilla = 199,
  Key_Clear = 16777227, Key_ClearGrab = 16777421, Key_Close = 16777422, Key_Codeinput = 16781623,
  Key_Colon = 58, Key_Comma = 44, Key_Community = 16777412, Key_Context1 = 17825792,
  Key_Context2 = 17825793, Key_Context3 = 17825794, Key_Context4 = 17825795, Key_ContrastAdjust = 16777485,
  Key_Control = 16777249, Key_Copy = 16777423, Key_Cut = 16777424, Key_D = 68,
  Key_DOS = 16777426, Key_Dead_Abovedot = 16781910, Key_Dead_Abovering = 16781912, Key_Dead_Acute = 16781905,
  Key_Dead_Belowdot = 16781920, Key_Dead_Breve = 16781909, Key_Dead_Caron = 16781914, Key_Dead_Cedilla = 16781915,
  Key_Dead_Circumflex = 16781906, Key_Dead_Diaeresis = 16781911, Key_Dead_Doubleacute = 16781913, Key_Dead_Grave = 16781904,
  Key_Dead_Hook = 16781921, Key_Dead_Horn = 16781922, Key_Dead_Iota = 16781917, Key_Dead_Macron = 16781908,
  Key_Dead_Ogonek = 16781916, Key_Dead_Semivoiced_Sound = 16781919, Key_Dead_Tilde = 16781907, Key_Dead_Voiced_Sound = 16781918,
  Key_Delete = 16777223, Key_Direction_L = 16777305, Key_Direction_R = 16777312, Key_Display = 16777425,
  Key_Documents = 16777427, Key_Dollar = 36, Key_Down = 16777237, Key_E = 69,
  Key_ETH = 208, Key_Eacute = 201, Key_Ecircumflex = 202, Key_Ediaeresis = 203,
  Key_Egrave = 200, Key_Eisu_Shift = 16781615, Key_Eisu_toggle = 16781616, Key_Eject = 16777401,
  Key_End = 16777233, Key_Enter = 16777221, Key_Equal = 61, Key_Escape = 16777216,
  Key_Excel = 16777428, Key_Exclam = 33, Key_Execute = 16908291, Key_Explorer = 16777429,
  Key_F = 70, Key_F1 = 16777264, Key_F10 = 16777273, Key_F11 = 16777274,
  Key_F12 = 16777275, Key_F13 = 16777276, Key_F14 = 16777277, Key_F15 = 16777278,
  Key_F16 = 16777279, Key_F17 = 16777280, Key_F18 = 16777281, Key_F19 = 16777282,
  Key_F2 = 16777265, Key_F20 = 16777283, Key_F21 = 16777284, Key_F22 = 16777285,
  Key_F23 = 16777286, Key_F24 = 16777287, Key_F25 = 16777288, Key_F26 = 16777289,
  Key_F27 = 16777290, Key_F28 = 16777291, Key_F29 = 16777292, Key_F3 = 16777266,
  Key_F30 = 16777293, Key_F31 = 16777294, Key_F32 = 16777295, Key_F33 = 16777296,
  Key_F34 = 16777297, Key_F35 = 16777298, Key_F4 = 16777267, Key_F5 = 16777268,
  Key_F6 = 16777269, Key_F7 = 16777270, Key_F8 = 16777271, Key_F9 = 16777272,
  Key_Favorites = 16777361, Key_Finance = 16777411, Key_Flip = 17825798, Key_Forward = 16777314,
  Key_G = 71, Key_Game = 16777430, Key_Go = 16777431, Key_Greater = 62,
  Key_H = 72, Key_Hangul = 16781617, Key_Hangul_Banja = 16781625, Key_Hangul_End = 16781619,
  Key_Hangul_Hanja = 16781620, Key_Hangul_Jamo = 16781621, Key_Hangul_Jeonja = 16781624, Key_Hangul_PostHanja = 16781627,
  Key_Hangul_PreHanja = 16781626, Key_Hangul_Romaja = 16781622, Key_Hangul_Special = 16781631, Key_Hangul_Start = 16781618,
  Key_Hangup = 17825797, Key_Hankaku = 16781609, Key_Help = 16777304, Key_Henkan = 16781603,
  Key_Hibernate = 16777480, Key_Hiragana = 16781605, Key_Hiragana_Katakana = 16781607, Key_History = 16777407,
  Key_Home = 16777232, Key_HomePage = 16777360, Key_HotLinks = 16777409, Key_Hyper_L = 16777302,
  Key_Hyper_R = 16777303, Key_I = 73, Key_Iacute = 205, Key_Icircumflex = 206,
  Key_Idiaeresis = 207, Key_Igrave = 204, Key_Insert = 16777222, Key_J = 74,
  Key_K = 75, Key_Kana_Lock = 16781613, Key_Kana_Shift = 16781614, Key_Kanji = 16781601,
  Key_Katakana = 16781606, Key_KeyboardBrightnessDown = 16777398, Key_KeyboardBrightnessUp = 16777397, Key_KeyboardLightOnOff = 16777396,
  Key_L = 76, Key_LastNumberRedial = 17825801, Key_Launch0 = 16777378, Key_Launch1 = 16777379,
  Key_Launch2 = 16777380, Key_Launch3 = 16777381, Key_Launch4 = 16777382, Key_Launch5 = 16777383,
  Key_Launch6 = 16777384, Key_Launch7 = 16777385, Key_Launch8 = 16777386, Key_Launch9 = 16777387,
  Key_LaunchA = 16777388, Key_LaunchB = 16777389, Key_LaunchC = 16777390, Key_LaunchD = 16777391,
  Key_LaunchE = 16777392, Key_LaunchF = 16777393, Key_LaunchG = 16777486, Key_LaunchH = 16777487,
  Key_LaunchMail = 16777376, Key_LaunchMedia = 16777377, Key_Left = 16777234, Key_Less = 60,
  Key_LightBulb = 16777405, Key_LogOff = 16777433, Key_M = 77, Key_MailForward = 16777467,
  Key_Market = 16777434, Key_Massyo = 16781612, Key_MediaLast = 16842751, Key_MediaNext = 16777347,
  Key_MediaPause = 16777349, Key_MediaPlay = 16777344, Key_MediaPrevious = 16777346, Key_MediaRecord = 16777348,
  Key_MediaStop = 16777345, Key_MediaTogglePlayPause = 16777350, Key_Meeting = 16777435, Key_Memo = 16777404,
  Key_Menu = 16777301, Key_MenuKB = 16777436, Key_MenuPB = 16777437, Key_Messenger = 16777465,
  Key_Meta = 16777250, Key_Minus = 45, Key_Mode_switch = 16781694, Key_MonBrightnessDown = 16777395,
  Key_MonBrightnessUp = 16777394, Key_Muhenkan = 16781602, Key_Multi_key = 16781600, Key_MultipleCandidate = 16781629,
  Key_Music = 16777469, Key_MySites = 16777438, Key_N = 78, Key_News = 16777439,
  Key_No = 16842754, Key_Ntilde = 209, Key_NumLock = 16777253, Key_NumberSign = 35,
  Key_O = 79, Key_Oacute = 211, Key_Ocircumflex = 212, Key_Odiaeresis = 214,
  Key_OfficeHome = 16777440, Key_Ograve = 210, Key_Ooblique = 216, Key_OpenUrl = 16777364,
  Key_Option = 16777441, Key_Otilde = 213, Key_P = 80, Key_PageDown = 16777239,
  Key_PageUp = 16777238, Key_ParenLeft = 40, Key_ParenRight = 41, Key_Paste = 16777442,
  Key_Pause = 16777224, Key_Percent = 37, Key_Period = 46, Key_Phone = 16777443,
  Key_Pictures = 16777468, Key_Play = 16908293, Key_Plus = 43, Key_PowerDown = 16777483,
  Key_PowerOff = 16777399, Key_PreviousCandidate = 16781630, Key_Print = 16777225, Key_Printer = 16908290,
  Key_Q = 81, Key_Question = 63, Key_QuoteDbl = 34, Key_QuoteLeft = 96,
  Key_R = 82, Key_Refresh = 16777316, Key_Reload = 16777446, Key_Reply = 16777445,
  Key_Return = 16777220, Key_Right = 16777236, Key_Romaji = 16781604, Key_RotateWindows = 16777447,
  Key_RotationKB = 16777449, Key_RotationPB = 16777448, Key_S = 83, Key_Save = 16777450,
  Key_ScreenSaver = 16777402, Key_ScrollLock = 16777254, Key_Search = 16777362, Key_Select = 16842752,
  Key_Semicolon = 59, Key_Send = 16777451, Key_Shift = 16777248, Key_Shop = 16777406,
  Key_SingleCandidate = 16781628, Key_Slash = 47, Key_Sleep = 16908292, Key_Space = 32,
  Key_Spell = 16777452, Key_SplitScreen = 16777453, Key_Standby = 16777363, Key_Stop = 16777315,
  Key_Subtitle = 16777477, Key_Super_L = 16777299, Key_Super_R = 16777300, Key_Support = 16777454,
  Key_Suspend = 16777484, Key_SysReq = 16777226, Key_T = 84, Key_THORN = 222,
  Key_Tab = 16777217, Key_TaskPane = 16777455, Key_Terminal = 16777456, Key_Time = 16777479,
  Key_ToDoList = 16777420, Key_ToggleCallHangup = 17825799, Key_Tools = 16777457, Key_TopMenu = 16777482,
  Key_Touroku = 16781611, Key_Travel = 16777458, Key_TrebleDown = 16777335, Key_TrebleUp = 16777334,
  Key_U = 85, Key_UWB = 16777473, Key_Uacute = 218, Key_Ucircumflex = 219,
  Key_Udiaeresis = 220, Key_Ugrave = 217, Key_Underscore = 95, Key_Up = 16777235,
  Key_V = 86, Key_Video = 16777459, Key_View = 16777481, Key_VoiceDial = 17825800,
  Key_VolumeDown = 16777328, Key_VolumeMute = 16777329, Key_VolumeUp = 16777330, Key_W = 87,
  Key_WLAN = 16777472, Key_WWW = 16777403, Key_WakeUp = 16777400, Key_WebCam = 16777466,
  Key_Word = 16777460, Key_X = 88, Key_Xfer = 16777461, Key_Y = 89,
  Key_Yacute = 221, Key_Yes = 16842753, Key_Z = 90, Key_Zenkaku = 16781608,
  Key_Zenkaku_Hankaku = 16781610, Key_Zoom = 16908294, Key_ZoomIn = 16777462, Key_ZoomOut = 16777463,
  Key_acute = 180, Key_brokenbar = 166, Key_cedilla = 184, Key_cent = 162,
  Key_copyright = 169, Key_currency = 164, Key_degree = 176, Key_diaeresis = 168,
  Key_division = 247, Key_exclamdown = 161, Key_guillemotleft = 171, Key_guillemotright = 187,
  Key_hyphen = 173, Key_iTouch = 16777432, Key_macron = 175, Key_masculine = 186,
  Key_mu = 181, Key_multiply = 215, Key_nobreakspace = 160, Key_notsign = 172,
  Key_onehalf = 189, Key_onequarter = 188, Key_onesuperior = 185, Key_ordfeminine = 170,
  Key_paragraph = 182, Key_periodcentered = 183, Key_plusminus = 177, Key_questiondown = 191,
  Key_registered = 174, Key_section = 167, Key_ssharp = 223, Key_sterling = 163,
  Key_threequarters = 190, Key_threesuperior = 179, Key_twosuperior = 178, Key_unknown = 33554431,
  Key_ydiaeresis = 255, Key_yen = 165
}
  More...
 
enum  KeyboardModifier {
  AltModifier = 134217728, ControlModifier = 67108864, GroupSwitchModifier = 1073741824, KeyboardModifierMask = -33554432,
  KeypadModifier = 536870912, MetaModifier = 268435456, NoModifier = 0, ShiftModifier = 33554432
}
  More...
 
enum  LayoutDirection { LayoutDirectionAuto = 2, LeftToRight = 0, RightToLeft = 1 }
  More...
 
enum  MaskMode { MaskInColor = 0, MaskOutColor = 1 }
  More...
 
enum  MatchFlag {
  MatchCaseSensitive = 16, MatchContains = 1, MatchEndsWith = 3, MatchExactly = 0,
  MatchFixedString = 8, MatchRecursive = 64, MatchRegExp = 4, MatchStartsWith = 2,
  MatchWildcard = 5, MatchWrap = 32
}
  More...
 
enum  Modifier {
  ALT = 134217728, CTRL = 67108864, META = 268435456, MODIFIER_MASK = -33554432,
  SHIFT = 33554432, UNICODE_ACCEL = 0
}
  More...
 
enum  MouseButton {
  LeftButton = 1, MidButton = 4, MiddleButton = 4, MouseButtonMask = 255,
  NoButton = 0, RightButton = 2, XButton1 = 8, XButton2 = 16
}
  More...
 
enum  NavigationMode {
  NavigationModeCursorAuto = 3, NavigationModeCursorForceVisible = 4, NavigationModeKeypadDirectional = 2, NavigationModeKeypadTabOrder = 1,
  NavigationModeNone = 0
}
  More...
 
enum  Orientation { Horizontal = 1, Vertical = 2 }
  More...
 
enum  PenCapStyle { FlatCap = 0, MPenCapStyle = 48, RoundCap = 32, SquareCap = 16 }
  More...
 
enum  PenJoinStyle {
  BevelJoin = 64, MPenJoinStyle = 448, MiterJoin = 0, RoundJoin = 128,
  SvgMiterJoin = 256
}
  More...
 
enum  PenStyle {
  CustomDashLine = 6, DashDotDotLine = 5, DashDotLine = 4, DashLine = 2,
  DotLine = 3, MPenStyle = 15, NoPen = 0, SolidLine = 1
}
  More...
 
enum  ScrollBarPolicy { ScrollBarAlwaysOff = 1, ScrollBarAlwaysOn = 2, ScrollBarAsNeeded = 0 }
  More...
 
enum  ShortcutContext { ApplicationShortcut = 2, WidgetShortcut = 0, WidgetWithChildrenShortcut = 3, WindowShortcut = 1 }
  More...
 
enum  SizeHint {
  MaximumSize = 2, MinimumDescent = 3, MinimumSize = 0, NSizeHints = 4,
  PreferredSize = 1
}
  More...
 
enum  SizeMode { AbsoluteSize = 0, RelativeSize = 1 }
  More...
 
enum  SortOrder { AscendingOrder = 0, DescendingOrder = 1 }
  More...
 
enum  TextElideMode { ElideLeft = 0, ElideMiddle = 2, ElideNone = 3, ElideRight = 1 }
  More...
 
enum  TextFlag {
  TextBypassShaping = 1048576, TextDontClip = 512, TextDontPrint = 16384, TextExpandTabs = 1024,
  TextForceLeftToRight = 131072, TextForceRightToLeft = 262144, TextHideMnemonic = 32768, TextIncludeTrailingSpaces = 134217728,
  TextJustificationForced = 65536, TextLongestVariant = 524288, TextShowMnemonic = 2048, TextSingleLine = 256,
  TextWordWrap = 4096, TextWrapAnywhere = 8192
}
  More...
 
enum  TextFormat { AutoText = 2, LogText = 3, PlainText = 0, RichText = 1 }
  More...
 
enum  TextInteractionFlag {
  LinksAccessibleByKeyboard = 8, LinksAccessibleByMouse = 4, NoTextInteraction = 0, TextBrowserInteraction = 13,
  TextEditable = 16, TextEditorInteraction = 19, TextSelectableByKeyboard = 2, TextSelectableByMouse = 1
}
  More...
 
enum  TileRule { RepeatTile = 1, RoundTile = 2, StretchTile = 0 }
  More...
 
enum  TimeSpec { LocalTime = 0, OffsetFromUTC = 2, UTC = 1 }
 
enum  ToolBarArea {
  AllToolBarAreas = 15, BottomToolBarArea = 8, LeftToolBarArea = 1, NoToolBarArea = 0,
  RightToolBarArea = 2, ToolBarArea_Mask = 15, TopToolBarArea = 4
}
 
enum  ToolBarAreaSizes { NToolBarAreas = 4 }
 
enum  ToolButtonStyle {
  ToolButtonFollowStyle = 4, ToolButtonIconOnly = 0, ToolButtonTextBesideIcon = 2, ToolButtonTextOnly = 1,
  ToolButtonTextUnderIcon = 3
}
  More...
 
enum  TouchPointState {
  TouchPointMoved = 2, TouchPointPressed = 1, TouchPointPrimary = 16, TouchPointReleased = 8,
  TouchPointStateMask = 15, TouchPointStationary = 4
}
  More...
 
enum  TransformationMode { FastTransformation = 0, SmoothTransformation = 1 }
  More...
 
enum  UIEffect {
  UI_AnimateCombo = 3, UI_AnimateMenu = 1, UI_AnimateToolBox = 6, UI_AnimateTooltip = 4,
  UI_FadeMenu = 2, UI_FadeTooltip = 5, UI_General = 0
}
  More...
 
enum  WidgetAttribute {
  WA_AcceptDrops = 78, WA_AcceptTouchEvents = 121, WA_AlwaysShowToolTips = 84, WA_AttributeCount = 135,
  WA_AutoOrientation = 130, WA_CanHostQMdiSubWindowTitleBar = 95, WA_ContentsPropagated = 3, WA_CustomWhatsThis = 47,
  WA_DeleteOnClose = 55, WA_Disabled = 0, WA_DontCreateNativeAncestors = 101, WA_DontShowOnScreen = 103,
  WA_DropSiteRegistered = 79, WA_ForceAcceptDrops = 79, WA_ForceDisabled = 32, WA_ForceUpdatesDisabled = 59,
  WA_GrabbedShortcut = 50, WA_GroupLeader = 72, WA_Hover = 74, WA_InputMethodEnabled = 14,
  WA_InputMethodTransparent = 75, WA_InvalidSize = 45, WA_KeyCompression = 33, WA_KeyboardFocusChange = 77,
  WA_LaidOut = 7, WA_LayoutOnEntireRect = 48, WA_LayoutUsesWidgetRect = 92, WA_LockLandscapeOrientation = 129,
  WA_LockPortraitOrientation = 128, WA_MSWindowsUseDirect3D = 94, WA_MacAlwaysShowToolWindow = 96, WA_MacBrushedMetal = 46,
  WA_MacFrameworkScaled = 117, WA_MacMetalStyle = 46, WA_MacMiniSize = 91, WA_MacNoClickThrough = 12,
  WA_MacNoShadow = 134, WA_MacNormalSize = 89, WA_MacOpaqueSizeGrip = 85, WA_MacShowFocusRect = 88,
  WA_MacSmallSize = 90, WA_MacVariableSize = 102, WA_Mapped = 11, WA_MergeSoftkeys = 124,
  WA_MergeSoftkeysRecursively = 125, WA_MouseNoMask = 71, WA_MouseTracking = 2, WA_Moved = 43,
  WA_NativeWindow = 100, WA_NoBackground = 4, WA_NoChildEventsForParent = 58, WA_NoChildEventsFromChildren = 39,
  WA_NoMousePropagation = 73, WA_NoMouseReplay = 54, WA_NoSystemBackground = 9, WA_NoX11EventCompression = 81,
  WA_OpaquePaintEvent = 4, WA_OutsideWSRange = 49, WA_PaintOnScreen = 8, WA_PaintOutsidePaintEvent = 13,
  WA_PaintUnclipped = 52, WA_PendingMoveEvent = 34, WA_PendingResizeEvent = 35, WA_PendingUpdate = 44,
  WA_QuitOnClose = 76, WA_Resized = 42, WA_RightToLeft = 56, WA_SetCursor = 38,
  WA_SetFont = 37, WA_SetLayoutDirection = 57, WA_SetLocale = 87, WA_SetPalette = 36,
  WA_SetStyle = 86, WA_SetWindowIcon = 53, WA_SetWindowModality = 118, WA_ShowModal = 70,
  WA_ShowWithoutActivating = 98, WA_StaticContents = 5, WA_StyleSheet = 97, WA_StyledBackground = 93,
  WA_SymbianNoSystemRotation = 133, WA_TintedBackground = 82, WA_TouchPadAcceptSingleTouchEvents = 123, WA_TranslucentBackground = 120,
  WA_TransparentForMouseEvents = 51, WA_UnderMouse = 1, WA_UpdatesDisabled = 10, WA_WState_AcceptedTouchBeginEvent = 122,
  WA_WState_CompressKeys = 61, WA_WState_ConfigPending = 64, WA_WState_Created = 60, WA_WState_DND = 67,
  WA_WState_ExplicitShowHide = 69, WA_WState_Hidden = 16, WA_WState_InPaintEvent = 62, WA_WState_OwnSizePolicy = 68,
  WA_WState_Polished = 66, WA_WState_Reparented = 63, WA_WState_Visible = 15, WA_WState_WindowOpacitySet = 119,
  WA_WindowModified = 41, WA_WindowPropagation = 80, WA_X11BypassTransientForHint = 99, WA_X11DoNotAcceptFocus = 132,
  WA_X11NetWmWindowTypeCombo = 115, WA_X11NetWmWindowTypeDND = 116, WA_X11NetWmWindowTypeDesktop = 104, WA_X11NetWmWindowTypeDialog = 110,
  WA_X11NetWmWindowTypeDock = 105, WA_X11NetWmWindowTypeDropDownMenu = 111, WA_X11NetWmWindowTypeMenu = 107, WA_X11NetWmWindowTypeNotification = 114,
  WA_X11NetWmWindowTypePopupMenu = 112, WA_X11NetWmWindowTypeSplash = 109, WA_X11NetWmWindowTypeToolBar = 106, WA_X11NetWmWindowTypeToolTip = 113,
  WA_X11NetWmWindowTypeUtility = 108, WA_X11OpenGLOverlay = 83
}
  More...
 
enum  WindowFrameSection {
  BottomLeftSection = 8, BottomRightSection = 6, BottomSection = 7, LeftSection = 1,
  NoSection = 0, RightSection = 5, TitleBarArea = 9, TopLeftSection = 2,
  TopRightSection = 4, TopSection = 3
}
  More...
 
enum  WindowModality { ApplicationModal = 2, NonModal = 0, WindowModal = 1 }
  More...
 
enum  WindowState {
  WindowActive = 8, WindowFullScreen = 4, WindowMaximized = 2, WindowMinimized = 1,
  WindowNoState = 0
}
  More...
 
enum  WindowType {
  BypassGraphicsProxyWidget = 536870912, CustomizeWindowHint = 33554432, Desktop = 17, Dialog = 3,
  Drawer = 7, FramelessWindowHint = 2048, MSWindowsFixedSizeDialogHint = 256, MSWindowsOwnDC = 512,
  MacWindowToolBarButtonHint = 268435456, Popup = 9, Sheet = 5, SplashScreen = 15,
  SubWindow = 18, Tool = 11, ToolTip = 13, Widget = 0,
  Window = 1, WindowCancelButtonHint = 1048576, WindowCloseButtonHint = 134217728, WindowContextHelpButtonHint = 65536,
  WindowMaximizeButtonHint = 32768, WindowMinMaxButtonsHint = 49152, WindowMinimizeButtonHint = 16384, WindowOkButtonHint = 524288,
  WindowShadeButtonHint = 131072, WindowSoftkeysRespondHint = -2147483648, WindowSoftkeysVisibleHint = 1073741824, WindowStaysOnBottomHint = 67108864,
  WindowStaysOnTopHint = 262144, WindowSystemMenuHint = 8192, WindowTitleHint = 4096, WindowType_Mask = 255,
  X11BypassWindowManagerHint = 1024
}
  More...
 

Public Member Functions

delegate QTextStream FuncQTextStreamQTextStream (QTextStream qTextStream)
 
delegate string FuncStringQByteArray (QByteArray qByteArray)
 
delegate QByteArray FuncQByteArrayString (string @string)
 
delegate void ActionQtMsgTypeString (QtMsgType qtMsgType, string @string)
 
delegate QObject FuncQObject ()
 

Static Public Member Functions

static QDataStream Write (QDataStream s, object p)
 
static QDataStream Write (QDataStream arg1, QSizeF arg2)
 
static QTextStream Write (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Write (QDataStream arg1, QPoint arg2)
 
static QDataStream Write (QDataStream arg1, QLineF arg2)
 
static QDataStream Write (QDataStream arg1, QPointF arg2)
 
static QDataStream Write (QDataStream arg1, QChar arg2)
 
static QDataStream Write (QDataStream arg1, QByteArray arg2)
 
static QDataStream Write (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Write (QDataStream arg1, QRectF arg2)
 
static QDataStream Write (QDataStream arg1, QDateTime arg2)
 
static QDataStream Write (QDataStream arg1, QUrl arg2)
 
static QDataStream Write (QDataStream arg1, QTime arg2)
 
static QDataStream Write (QDataStream arg1, QLocale arg2)
 
static QDataStream Write (QDataStream arg1, QBitArray arg2)
 
static QDataStream Write (QDataStream arg1, QUuid arg2)
 
static QDataStream Write (QDataStream arg1, QLine arg2)
 
static QDataStream Write (QDataStream arg1, QDate arg2)
 
static QDataStream Write (QDataStream @out, QRegExp regExp)
 
static QDataStream Write (QDataStream arg1, QRect arg2)
 
static QDataStream Write (QDataStream arg1, QSize arg2)
 
static QDataStream Write (QDataStream s, QVariant.Type p)
 
static QDataStream Write (QDataStream arg1, string arg2)
 
static QDataStream Write (QDataStream @out, System.Collections.Generic.List< string > list)
 
static QDataStream Read (QDataStream arg1, QChar arg2)
 
static QDataStream Read (QDataStream arg1, QLocale arg2)
 
static QDataStream Read (QDataStream arg1, QRect arg2)
 
static QDataStream Read (QDataStream arg1, QEasingCurve arg2)
 
static QDataStream Read (QDataStream arg1, QDate arg2)
 
static QDataStream Read (QDataStream arg1, QUrl arg2)
 
static QDataStream Read (QDataStream arg1, QUuid arg2)
 
static QTextStream Read (QTextStream s, Qt.FuncQTextStreamQTextStream f)
 
static QDataStream Read (QDataStream arg1, QLineF arg2)
 
static QDataStream Read (QDataStream arg1, QRectF arg2)
 
static QDataStream Read (QDataStream arg1, QPointF arg2)
 
static QDataStream Read (QDataStream arg1, QLine arg2)
 
static QDataStream Read (QDataStream arg1, QBitArray arg2)
 
static QDataStream Read (QDataStream arg1, QSize arg2)
 
static QDataStream Read (QDataStream arg1, QDateTime arg2)
 
static QDataStream Read (QDataStream arg1, QTime arg2)
 
static QDataStream Read (QDataStream arg1, QPoint arg2)
 
static QDataStream Read (QDataStream @in, QRegExp regExp)
 
static QDataStream Read (QDataStream s, object p)
 
static QDataStream Read (QDataStream arg1, QByteArray arg2)
 
static QDataStream Read (QDataStream arg1, QSizeF arg2)
 
static QDataStream Read (QDataStream arg1, string arg2)
 
static QDataStream Read (QDataStream s, QVariant.Type p)
 
static QDataStream Read (QDataStream @in, System.Collections.Generic.List< string > list)
 
static double qAcos (double v)
 
static void qAddPostRoutine (System.Action arg1)
 
static string qAppName ()
 
static double qAsin (double v)
 
static double qAtan (double v)
 
static double qAtan2 (double x, double y)
 
static void qBadAlloc ()
 
static int qCeil (double v)
 
static ushort qChecksum (string s, uint len)
 
static QByteArray qCompress (QByteArray data)
 
static QByteArray qCompress (QByteArray data, int compressionLevel=-1)
 
static QByteArray qCompress (Pointer< byte > data, int nbytes)
 
static QByteArray qCompress (Pointer< byte > data, int nbytes, int compressionLevel=-1)
 
static double qCos (double v)
 
static double qExp (double v)
 
static double qFabs (double v)
 
static double qFastCos (double x)
 
static double qFastSin (double x)
 
static string qFlagLocation (string method)
 
static int qFloor (double v)
 
static bool qFuzzyCompare (double p1, double p2)
 
static bool qFuzzyCompare (float p1, float p2)
 
static bool qFuzzyIsNull (double d)
 
static bool qFuzzyIsNull (float f)
 
static uint qHash (QBitArray key)
 
static uint qHash (QChar key)
 
static uint qHash (QStringRef key)
 
static uint qHash (QUrl url)
 
static uint qHash (QPersistentModelIndex index)
 
static uint qHash (QByteArray key)
 
static uint qHash (QModelIndex index)
 
static uint qHash (uint key)
 
static uint qHash (sbyte key)
 
static uint qHash (byte key)
 
static uint qHash (short key)
 
static uint qHash (NativeLong key)
 
static uint qHash (ushort key)
 
static uint qHash (long key)
 
static uint qHash (ulong key)
 
static uint qHash (int key)
 
static uint qHash (string key)
 
static uint qHash (NativeULong key)
 
static double qInf ()
 
static Qt.ActionQtMsgTypeString qInstallMsgHandler (Qt.ActionQtMsgTypeString arg1)
 
static int qIntCast (float f)
 
static int qIntCast (double f)
 
static bool qIsFinite (double d)
 
static bool qIsFinite (float f)
 
static bool qIsInf (float f)
 
static bool qIsInf (double d)
 
static bool qIsNaN (float f)
 
static bool qIsNaN (double d)
 
static bool qIsNull (float f)
 
static bool qIsNull (double d)
 
static double qLn (double v)
 
static double qPow (double x, double y)
 
static double qQNaN ()
 
static void qRegisterStaticPluginInstanceFunction (Qt.FuncQObject function)
 
static void qRemovePostRoutine (System.Action arg1)
 
static int qRound (double d)
 
static long qRound64 (double d)
 
static double qSNaN ()
 
static bool qSharedBuild ()
 
static double qSin (double v)
 
static double qSqrt (double v)
 
static bool qStringComparisonHelper (QStringRef s1, string s2)
 
static double qTan (double v)
 
static QByteArray qUncompress (QByteArray data)
 
static QByteArray qUncompress (Pointer< byte > data, int nbytes)
 
static string qVersion ()
 
static void Qbswap_helper (Pointer< byte > src, Pointer< byte > dest, int size)
 
static QByteArray Qgetenv (string varName)
 
static bool Qputenv (string varName, QByteArray value)
 
static int Qrand ()
 
static void Qsrand (uint seed)
 
static int Qstrcmp (QByteArray str1, QByteArray str2)
 
static int Qstrcmp (QByteArray str1, string str2)
 
static int Qstrcmp (string str1, QByteArray str2)
 
static int Qstrcmp (string str1, string str2)
 
static Pointer< sbyte > Qstrcpy (Pointer< sbyte > dst, string src)
 
static Pointer< sbyte > Qstrdup (string arg1)
 
static int Qstricmp (string arg1, string arg2)
 
static uint Qstrlen (string str)
 
static int Qstrncmp (string str1, string str2, uint len)
 
static Pointer< sbyte > Qstrncpy (Pointer< sbyte > dst, string src, uint len)
 
static int Qstrnicmp (string arg1, string arg2, uint len)
 
static uint Qstrnlen (string str, uint maxlen)
 
static string QtTrId (string id, int n=-1)
 

Detailed Description

The Qt namespace contains miscellaneous identifiers used throughout the Qt library.

The Qt namespace contains miscellaneous identifiers used throughout the Qt library.

Member Enumeration Documentation

This enum type is used to describe alignment. It contains horizontal and vertical flags that can be combined to produce the required effect.

The TextElideMode enum can also be used in many situations to fine-tune the appearance of aligned text.

The horizontal flags are:

The vertical flags are:

You can use only one of the horizontal flags at a time. There is one two-dimensional flag:

You can use at most one horizontal and one vertical flag at a time. Qt::AlignCenter counts as both horizontal and vertical.

Three enum values are useful in applications that can be run in right-to-left mode:

Masks:

Conflicting combinations of flags have undefined meanings.

Enumerator:
AlignAbsolute 

If the widget's layout direction is Qt::RightToLeft (instead of Qt::LeftToRight, the default), Qt::AlignLeft refers to the right edge and Qt::AlignRight to the left edge. This is normally the desired behavior. If you want Qt::AlignLeft to always mean "left" and Qt::AlignRight to always mean "right", combine the flag with Qt::AlignAbsolute.

AlignBottom 

Aligns with the bottom.

AlignCenter 

Centers in both dimensions.

AlignHCenter 

Centers horizontally in the available space.

AlignHorizontal_Mask 
AlignJustify 

Justifies the text in the available space.

AlignLeading 

Synonym for Qt::AlignLeft.

AlignLeft 

Aligns with the left edge.

AlignRight 

Aligns with the right edge.

AlignTop 

Aligns with the top.

AlignTrailing 

Synonym for Qt::AlignRight.

AlignVCenter 

Centers vertically in the available space.

AlignVertical_Mask 

An anchor has one or more of the following attributes:

Enumerator:
AnchorHref 

The href attribute of the anchor. This attribute is used when a link is clicked to determine what content to load.

AnchorName 

The name attribute of the anchor. This attribute is used when scrolling to an anchor in the document.

Specifies a side of a layout item that can be anchored. This is used by QGraphicsAnchorLayout.

See also QGraphicsAnchorLayout.

Enumerator:
AnchorBottom 

The bottom side of a layout item.

AnchorHorizontalCenter 

A "virtual" side that is centered between the left and the right side of a layout item.

AnchorLeft 

The left side of a layout item.

AnchorRight 

The right side of a layout item.

AnchorTop 

The top side of a layout item.

AnchorVerticalCenter 

A "virtual" side that is centered between the top and the bottom side of a layout item.

This enum describes attributes that change the behavior of application-wide features. These are enabled and disabled using QCoreApplication::setAttribute(), and can be tested for with QCoreApplication::testAttribute().

Enumerator:
AA_AttributeCount 
AA_CaptureMultimediaKeys 

Enables application to receive multimedia key events (play, next, previous etc). This includes also external sources such as headsets. Application can not use Remote Control framework on Symbian if this attribute is set. On Symbian, multimedia key event routing may vary between different devices. For example, application on background may receive multimedia key events only if it has active audio stream i.e. it is playing music or video. This attribute must be set before QApplication is constructed. This attribute is only supported in Symbian platform.

AA_DontCreateNativeWidgetSiblings 

Ensures that siblings of native widgets stay non-native unless specifically set by the Qt::WA_NativeWindow attribute.

AA_DontShowIconsInMenus 

Actions with the Icon property won't be shown in any menus unless specifically set by the QAction::iconVisibleInMenu property. Menus that are currently open or menus already created in the native Mac OS X menubar may not pick up a change in this attribute. Changes in the QAction::iconVisibleInMenu property will always be picked up.

AA_DontUseNativeMenuBar 

All menubars created while this attribute is set to true won't be used as a native menubar (e.g, the menubar at the top of the main screen on Mac OS X or at the bottom in Windows CE).

AA_ImmediateWidgetCreation 

Ensures that widgets are created as soon as they are constructed. By default, resources for widgets are allocated on demand to improve efficiency and minimize resource usage. Setting or clearing this attribute affects widgets constructed after the change. Setting it tells Qt to create toplevel windows immediately. Therefore, if it is important to minimize resource consumption, do not set this attribute.

AA_MSWindowsUseDirect3DByDefault 

This value is obsolete and has no effect.

AA_MacDontSwapCtrlAndMeta 

On Mac OS X by default, Qt swaps the Control and Meta (Command) keys (i.e., whenever Control is pressed, Qt sends Meta, and whenever Meta is pressed Control is sent). When this attribute is true, Qt will not do the flip. QKeySequence::StandardShortcuts will also flip accordingly (i.e., QKeySequence::Copy will be Command+C on the keyboard regardless of the value set, though what is output for QKeySequence::toString(QKeySequence::PortableText) will be different).

AA_MacPluginApplication 

Stops the Qt mac application from doing specific initializations that do not necessarily make sense when using Qt to author a plugin. This includes avoiding loading our nib for the main menu and not taking possession of the native menu bar. When setting this attribute to true will also set the AA_DontUseNativeMenuBar attribute to true.

AA_NativeWindows 

Ensures that widgets have native windows.

AA_S60DisablePartialScreenInputMode 

By default in Symbian^3, a separate editing window is opened on top of an application. This is exactly like editing on previous versions of Symbian behave. When this attribute is false, a non-fullscreen virtual keyboard window is shown on top of application and it is ensured that the focused text input widget is visible. The auto-translation of input widget is only supported for applications based on QGraphicsView, but the non-fullscreen virtual keyboard will work for any kind of application (i.e. QWidgets-based). By default this attribute is true. This attribute must be set after QApplication is constructed. This is only supported in Symbian^3 and later Symbian releases.

AA_S60DontConstructApplicationPanes 

Stops Qt from initializing the S60 status pane and softkey pane on Symbian. This is useful to save memory and reduce startup time for applications that will run in fullscreen mode during their whole lifetime. This attribute must be set before QApplication is constructed.

AA_X11InitThreads 

Calls XInitThreads() as part of the QApplication construction in order to make Xlib calls thread-safe. This attribute must be set before QApplication is constructed.

Enumerator:
DownArrow 
LeftArrow 
NoArrow 
RightArrow 
UpArrow 

This enum type defines what happens to the aspect ratio when scaling an rectangle.

See also QSize::scale() and QImage::scaled().

Enumerator:
IgnoreAspectRatio 

The size is scaled freely. The aspect ratio is not preserved.

KeepAspectRatio 

The size is scaled to a rectangle as large as possible inside a given rectangle, preserving the aspect ratio.

KeepAspectRatioByExpanding 

The size is scaled to a rectangle as small as possible outside a given rectangle, preserving the aspect ratio.

This enum type defines three values to represent the three axes in the cartesian coordinate system.

See also QTransform::rotate() and QTransform::rotateRadians().

Enumerator:
XAxis 

The X axis.

YAxis 

The Y axis.

ZAxis 

The Z axis.

Background mode:

Enumerator:
OpaqueMode 
TransparentMode 

This enum type defines the brush styles supported by Qt, i.e. the fill pattern of shapes drawn using QPainter.

See also QBrush.

Enumerator:
BDiagPattern 

Backward diagonal lines.

ConicalGradientPattern 

Conical gradient (set using a dedicated QBrush constructor).

CrossPattern 

Crossing horizontal and vertical lines.

Dense1Pattern 

Extremely dense brush pattern.

Dense2Pattern 

Very dense brush pattern.

Dense3Pattern 

Somewhat dense brush pattern.

Dense4Pattern 

Half dense brush pattern.

Dense5Pattern 

Somewhat sparse brush pattern.

Dense6Pattern 

Very sparse brush pattern.

Dense7Pattern 

Extremely sparse brush pattern.

DiagCrossPattern 

Crossing diagonal lines.

FDiagPattern 

Forward diagonal lines.

HorPattern 

Horizontal lines.

LinearGradientPattern 

Linear gradient (set using a dedicated QBrush constructor).

NoBrush 

No brush pattern.

RadialGradientPattern 

Radial gradient (set using a dedicated QBrush constructor).

SolidPattern 

Uniform color.

TexturePattern 

Custom pattern (see QBrush::setTexture()).

VerPattern 

Vertical lines.

Enumerator:
CaseInsensitive 
CaseSensitive 

This enum describes the state of checkable items, controls, and widgets.

See also QCheckBox, Qt::ItemFlags, and Qt::ItemDataRole.

Enumerator:
Checked 

The item is checked.

PartiallyChecked 

The item is partially checked. Items in hierarchical models may be partially checked if some, but not all, of their children are checked.

Unchecked 

The item is unchecked.

Enumerator:
IntersectClip 

Intersects the current clip path/rect/region with the one supplied in the function call.

NoClip 

This operation turns clipping off.

ReplaceClip 

Replaces the current clip path/rect/region with the one supplied in the function call.

UniteClip 

Unites the current clip path/rect/region with the one supplied in the function call.

This enum describes the types of connection that can be used between signals and slots. In particular, it determines whether a particular signal is delivered to a slot immediately or queued for delivery at a later time.

With queued connections, the parameters must be of types that are known to Qt's meta-object system, because Qt needs to copy the arguments to store them in an event behind the scenes. If you try to use a queued connection and get the error message:

QObject::connect: Cannot queue arguments of type 'MyType'

Call qRegisterMetaType() to register the data type before you establish the connection.

When using signals and slots with multiple threads, see Signals and Slots Across Threads.

See also Thread Support in Qt, QObject::connect(), qRegisterMetaType(), and Q_DECLARE_METATYPE().

Enumerator:
AutoCompatConnection 

The default type when Qt 3 support is enabled. Same as AutoConnection but will also cause warnings to be output in certain situations. See Compatibility Signals and Slots for further information.

AutoConnection 

(default) If the signal is emitted from a different thread than the receiving object, the signal is queued, behaving as Qt::QueuedConnection. Otherwise, the slot is invoked directly, behaving as Qt::DirectConnection. The type of connection is determined when the signal is emitted.

BlockingQueuedConnection 

Same as QueuedConnection, except the current thread blocks until the slot returns. This connection type should only be used where the emitter and receiver are in different threads. Note: Violating this rule can cause your application to deadlock.

DirectConnection 

The slot is invoked immediately, when the signal is emitted.

QueuedConnection 

The slot is invoked when control returns to the event loop of the receiver's thread. The slot is executed in the receiver's thread.

UniqueConnection 

Same as AutoConnection, but the connection is made only if it does not duplicate an existing connection. i.e., if the same signal is already connected to the same slot for the same pair of objects, then the connection will fail. This connection type was introduced in Qt 4.6.

This enum type defines the various policies a widget can have with respect to showing a context menu.

Enumerator:
ActionsContextMenu 

The widget displays its QWidget::actions() as context menu.

CustomContextMenu 

The widget emits the QWidget::customContextMenuRequested() signal.

DefaultContextMenu 

The widget's QWidget::contextMenuEvent() handler is called.

NoContextMenu 

The widget does not feature a context menu, context menu handling is deferred to the widget's parent.

PreventContextMenu 

The widget does not feature a context menu, and in contrast to NoContextMenu, the handling is not deferred to the widget's parent. This means that all right mouse button events are guaranteed to be delivered to the widget itself through mousePressEvent(), and mouseReleaseEvent().

This enum specifies the coordinate system.

This enum was introduced or modified in Qt 4.6.

Enumerator:
DeviceCoordinates 

Coordinates are relative to the upper-left corner of the object's paint device.

LogicalCoordinates 

Coordinates are relative to the upper-left corner of the object.

This enum type specifies a corner in a rectangle:

Enumerator:
BottomLeftCorner 

The bottom-left corner of the rectangle.

BottomRightCorner 

The bottom-right corner of the rectangle.

TopLeftCorner 

The top-left corner of the rectangle.

TopRightCorner 

The top-right corner of the rectangle.

This enum describes the movement style available to text cursors. The options are:

This enum was introduced or modified in Qt 4.8.

Enumerator:
LogicalMoveStyle 

Within a left-to-right text block, decrease cursor position when pressing left arrow key, increase cursor position when pressing the right arrow key. If the text block is right-to-left, the opposite behavior applies.

VisualMoveStyle 

Pressing the left arrow key will always cause the cursor to move left, regardless of the text's writing direction. Pressing the right arrow key will always cause the cursor to move right.

This enum type defines the various cursors that can be used.

The standard arrow cursor is the default for widgets in a normal state.

Enumerator:
ArrowCursor 

The standard arrow cursor.

BitmapCursor 
BlankCursor 

A blank/invisible cursor, typically used when the cursor shape needs to be hidden.

BusyCursor 

An hourglass or watch cursor, usually shown during operations that allow the user to interact with the application while they are performed in the background.

ClosedHandCursor 

A cursor representing a closed hand, typically used to indicate that a dragging operation is in progress that involves scrolling.

CrossCursor 

A crosshair cursor, typically used to help the user accurately select a point on the screen.

CustomCursor 
DragCopyCursor 

A cursor that is usually used when dragging an item to copy it.

DragLinkCursor 

A cursor that is usually used when dragging an item to make a link to it.

DragMoveCursor 

A cursor that is usually used when dragging an item.

ForbiddenCursor 

A slashed circle cursor, typically used during drag and drop operations to indicate that dragged content cannot be dropped on particular widgets or inside certain regions.

IBeamCursor 

A caret or ibeam cursor, indicating that a widget can accept and display text input.

LastCursor 
OpenHandCursor 

A cursor representing an open hand, typically used to indicate that the area under the cursor is the visible part of a canvas that the user can click and drag in order to scroll around.

PointingHandCursor 

A pointing hand cursor that is typically used for clickable elements such as hyperlinks.

SizeAllCursor 

A cursor used for elements that are used to resize top-level windows in any direction.

SizeBDiagCursor 

A cursor used for elements that are used to diagonally resize top-level windows at their top-right and bottom-left corners.

SizeFDiagCursor 

A cursor used for elements that are used to diagonally resize top-level windows at their top-left and bottom-right corners.

SizeHorCursor 

A cursor used for elements that are used to horizontally resize top-level windows.

SizeVerCursor 

A cursor used for elements that are used to vertically resize top-level windows.

SplitHCursor 

A cursor used for horizontal splitters, indicating that a handle can be dragged vertically to adjust the use of available space.

SplitVCursor 

A cursor used for vertical splitters, indicating that a handle can be dragged horizontally to adjust the use of available space.

UpArrowCursor 

An arrow pointing upwards toward the top of the screen.

WaitCursor 

An hourglass or watch cursor, usually shown during operations that prevent the user from interacting with the application.

WhatsThisCursor 

An arrow with a question mark, typically used to indicate the presence of What's This? help for a widget.

Note: For ISODate formats, each Y, M and D represents a single digit of the year, month and day used to specify the date. Each H, M and S represents a single digit of the hour, minute and second used to specify the time. The presence of a literal T character is used to separate the date and time when both are specified.

Enumerator:
DefaultLocaleLongDate 

The long format used by the application's locale.

DefaultLocaleShortDate 

The short format specified by the application's locale.

ISODate 

ISO 8601 extended format: either YYYY-MM-DD for dates or YYYY-MM-DDTHH:mm:ss, YYYY-MM-DDTHH:mm:ssTZD (e.g., 1997-07-16T19:20:30+01:00) for combined dates and times.

LocalDate 

This enum value is deprecated. Use Qt::SystemLocaleShortDate instead (or Qt::SystemLocaleLongDate if you want long dates).

LocaleDate 

This enum value is deprecated. Use Qt::DefaultLocaleShortDate instead (or Qt::DefaultLocaleLongDate if you want long dates).

SystemLocaleDate 

This enum value is deprecated. Use Qt::SystemLocaleShortDate instead (or Qt::SystemLocaleLongDate if you want long dates).

SystemLocaleLongDate 

The long format used by the operating system.

SystemLocaleShortDate 

The short format used by the operating system.

TextDate 

The default Qt format, which includes the day and month name, the day number in the month, and the year in full. The day and month names will be short, localized names. This is basically equivalent to using the date format string, "ddd MMM d yyyy". See QDate::toString() for more information.

Enumerator:
Friday 
Monday 
Saturday 
Sunday 
Thursday 
Tuesday 
Wednesday 
Enumerator:
AllDockWidgetAreas 
BottomDockWidgetArea 
DockWidgetArea_Mask 
LeftDockWidgetArea 
NoDockWidgetArea 
RightDockWidgetArea 
TopDockWidgetArea 
Enumerator:
NDockWidgetAreas 
Enumerator:
ActionMask 
CopyAction 

Copy the data to the target.

IgnoreAction 

Ignore the action (do nothing with the data).

LinkAction 

Create a link from the source to the target.

MoveAction 

Move the data from the source to the target.

TargetMoveAction 

On Windows, this value is used when the ownership of the D&D data should be taken over by the target application, i.e., the source application should not delete the data. On X11 this value is used to do a move. TargetMoveAction is not used on the Mac.

This enum can be used to specify event priorities.

Note that these values are provided purely for convenience, since event priorities can be any value between INT_MAX and INT_MIN, inclusive. For example, you can define custom priorities as being relative to each other:

enum CustomEventPriority

{

// An important event

ImportantEventPriority = Qt::HighEventPriority,

// A more important event

MoreImportantEventPriority = ImportantEventPriority + 1,

// A critical event

CriticalEventPriority = 100 * MoreImportantEventPriority,

// Not that important

StatusEventPriority = Qt::LowEventPriority,

// These are less important than Status events

IdleProcessingDoneEventPriority = StatusEventPriority - 1

};

See also QCoreApplication::postEvent().

Enumerator:
HighEventPriority 

Events with this priority are sent before events with NormalEventPriority or LowEventPriority.

LowEventPriority 

Events with this priority are sent after events with HighEventPriority or NormalEventPriority.

NormalEventPriority 

Events with this priority are sent after events with HighEventPriority, but before events with LowEventPriority.

Specifies which method should be used to fill the paths and polygons.

Enumerator:
OddEvenFill 

Specifies that the region is filled using the odd even fill rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape, and count the number of intersections. If the number of intersections is an odd number, the point is inside the shape. This mode is the default.

WindingFill 

Specifies that the region is filled using the non zero winding rule. With this rule, we determine whether a point is inside the shape by using the following method. Draw a horizontal line from the point to a location outside the shape. Determine whether the direction of the line at each intersection point is up or down. The winding number is determined by summing the direction of each intersection. If the number is non zero, the point is inside the shape. This fill mode can also in most cases be considered as the intersection of closed shapes.

This enum type defines the various policies a widget can have with respect to acquiring keyboard focus.

Enumerator:
ClickFocus 

The widget accepts focus by clicking.

NoFocus 

The widget does not accept focus.

StrongFocus 

The widget accepts focus by both tabbing and clicking. On Mac OS X this will also be indicate that the widget accepts tab focus when in 'Text/List focus mode'.

TabFocus 

The widget accepts focus by tabbing.

WheelFocus 

Like Qt::StrongFocus plus the widget accepts focus by using the mouse wheel.

This enum specifies why the focus changed. It will be passed through QWidget::setFocus and can be retrieved in the QFocusEvent sent to the widget upon focus change.

See also Keyboard Focus.

Enumerator:
ActiveWindowFocusReason 

The window system made this window either active or inactive.

BacktabFocusReason 

A Backtab occurred. The input for this may include the Shift or Control keys; e.g. Shift+Tab.

MenuBarFocusReason 

The menu bar took focus.

MouseFocusReason 

A mouse action occurred.

NoFocusReason 
OtherFocusReason 

Another reason, usually application-specific.

PopupFocusReason 

The application opened/closed a pop-up that grabbed/released the keyboard focus.

ShortcutFocusReason 

The user typed a label's buddy shortcut

TabFocusReason 

The Tab key was pressed.

This enum type describes additional flags that can be used when subscribing to a gesture.

This enum was introduced or modified in Qt 4.6.

See also QWidget::grabGesture() and QGraphicsObject::grabGesture().

Enumerator:
DontStartGestureOnChildren 

By default gestures can start on the widget or over any of its children. Use this flag to disable this and allow a gesture to start on the widget only.

IgnoredGesturesPropagateToParent 

Since Qt 4.7, this flag allows you to fine-tune gesture event propagation. By setting the flag when grabbing a gesture all ignored partial gestures will propagate to their parent items.

ReceivePartialGestures 

Allows any ignored gesture events to be propagated to parent widgets which have specified this hint. By default only gestures that are in the Qt::GestureStarted state are propagated and the widget always gets the full gesture sequence starting with a gesture in the Qt::GestureStarted state and ending with a gesture in the Qt::GestureFinished or Qt::GestureCanceled states.

This enum type describes the state of a gesture.

This enum was introduced or modified in Qt 4.6.

See also QGesture.

Enumerator:
GestureCanceled 

A gesture was canceled.

GestureFinished 

A gesture has finished.

GestureStarted 

A continuous gesture has started.

GestureUpdated 

A gesture continues.

NoGesture 

This enum type describes the standard gestures.

User-defined gestures are registered with the QGestureRecognizer::registerRecognizer() function which generates a custom gesture ID with the Qt::CustomGesture flag set.

This enum was introduced or modified in Qt 4.6.

See also QGesture, QWidget::grabGesture(), and QGraphicsObject::grabGesture().

Enumerator:
CustomGesture 

A flag that can be used to test if the gesture is a user-defined gesture ID.

LastGestureType 
PanGesture 

A Pan gesture.

PinchGesture 

A Pinch gesture.

SwipeGesture 

A Swipe gesture.

TapAndHoldGesture 

A Tap-And-Hold (Long-Tap) gesture.

TapGesture 

A Tap gesture.

Qt's predefined QColor objects:

See also QColor.

Enumerator:
black 

Black (#000000)

blue 

Blue (#0000ff)

color0 

0 pixel value (for bitmaps)

color1 

1 pixel value (for bitmaps)

cyan 

Cyan (#00ffff)

darkBlue 

Dark blue (#000080)

darkCyan 

Dark cyan (#008080)

darkGray 

Dark gray (#808080)

darkGreen 

Dark green (#008000)

darkMagenta 

Dark magenta (#800080)

darkRed 

Dark red (#800000)

darkYellow 

Dark yellow (#808000)

gray 

Gray (#a0a0a4)

green 

Green (#00ff00)

lightGray 

Light gray (#c0c0c0)

magenta 

Magenta (#ff00ff)

red 

Red (#ff0000)

transparent 

A transparent black value (i.e., QColor(0, 0, 0, 0))

white 

White (#ffffff)

yellow 

Yellow (#ffff00)

The options marked "(default)" are set if no other values from the list are included (since the defaults are zero):

Color/Mono preference (ignored for QBitmap):

Dithering mode preference for RGB channels:

Dithering mode preference for alpha channel:

Color matching versus dithering preference:

Don't do any format conversions on the image. Can be useful when converting a QImage to a QPixmap for a one-time rendering operation for example.

Enumerator:
AlphaDither_Mask 
AutoColor 

(default) - If the image has depth 1 and contains only black and white pixels, the pixmap becomes monochrome.

AutoDither 
AvoidDither 

(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.

ColorMode_Mask 
ColorOnly 

The pixmap is dithered/converted to the native display depth.

DiffuseAlphaDither 

A high-quality dither.

DiffuseDither 

(default) - A high-quality dither.

DitherMode_Mask 
Dither_Mask 
MonoOnly 

The pixmap becomes monochrome. If necessary, it is dithered using the chosen dithering algorithm.

NoAlpha 
NoFormatConversion 
NoOpaqueDetection 

Do not check whether the image contains non-opaque pixels. Use this if you know that the image is semi-transparent and you want to avoid the overhead of checking the pixels in the image until a non-opaque pixel is found, or if you want the pixmap to retain an alpha channel for some other reason. If the image has no alpha channel this flag has no effect.

OrderedAlphaDither 

A faster, more ordered dither.

OrderedDither 

A faster, more ordered dither.

PreferDither 

(default when converting to a pixmap) - Always dither 32-bit images when the image is converted to 8 bits.

ThresholdAlphaDither 

(default) - No dithering.

ThresholdDither 

No dithering; closest color is used.

Enumerator:
Uninitialized 

Flags that alter the behavior:

Flags that restrict input (exclusive flags):

Masks:

Note: If several exclusive flags are ORed together, the resulting character set will consist of the union of the specified sets. For instance specifying ImhNumbersOnly and ImhUppercaseOnly would yield a set consisting of numbers and uppercase letters.

See also QGraphicsItem::inputMethodHints().

Enumerator:
ImhDialableCharactersOnly 

Only characters suitable for phone dialling are allowed.

ImhDigitsOnly 

Only digits are allowed.

ImhEmailCharactersOnly 

Only characters suitable for email addresses are allowed.

ImhExclusiveInputMask 

This mask yields nonzero if any of the exclusive flags are used.

ImhFormattedNumbersOnly 

Only number input is allowed. This includes decimal point and minus sign.

ImhHiddenText 

Characters should be hidden, as is typically used when entering passwords. This is automatically set when setting QLineEdit::echoMode to Password.

ImhLowercaseOnly 

Only lower case letter input is allowed.

ImhNoAutoUppercase 

The input method should not try to automatically switch to upper case when a sentence ends.

ImhNoPredictiveText 

Do not use predictive text (i.e. dictionary lookup) while typing.

ImhNone 

No hints.

ImhPreferLowercase 

Lower case letters are preferred (but not required).

ImhPreferNumbers 

Numbers are preferred (but not required).

ImhPreferUppercase 

Upper case letters are preferred (but not required).

ImhUppercaseOnly 

Only upper case letter input is allowed.

ImhUrlCharactersOnly 

Only characters suitable for URLs are allowed.

Enumerator:
ImAnchorPosition 

The position of the selection anchor. This may be less or greater than ImCursorPosition, depending on which side of selection the cursor is. If there is no selection, it returns the same as ImCursorPosition.

ImCurrentSelection 

The currently selected text.

ImCursorPosition 

The logical position of the cursor within the text surrounding the input area (see ImSurroundingText).

ImFont 

The currently used font for text input.

ImMaximumTextLength 

The maximum number of characters that the widget can hold. If there is no limit, QVariant() is returned.

ImMicroFocus 

The rectangle covering the area of the input cursor in widget coordinates.

ImSurroundingText 

The plain text around the input area, for example the current paragraph.

Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs. Custom models should return data in these types.

The general purpose roles (and the associated types) are:

Roles describing appearance and meta data (with associated types):

Accessibility roles (with associated types):

User roles:

For user roles, it is up to the developer to decide which types to use and ensure that components use the correct types when accessing and setting data.

Enumerator:
AccessibleDescriptionRole 

A description of the item for accessibility purposes. (QString)

AccessibleTextRole 

The text to be used by accessibility extensions and plugins, such as screen readers. (QString)

BackgroundColorRole 

This role is obsolete. Use BackgroundRole instead.

BackgroundRole 

The background brush used for items rendered with the default delegate. (QBrush)

CheckStateRole 

This role is used to obtain the checked state of an item. (Qt::CheckState)

DecorationPropertyRole 
DecorationRole 

The data to be rendered as a decoration in the form of an icon. (QColor, QIcon or QPixmap)

DisplayPropertyRole 
DisplayRole 

The key data to be rendered in the form of text. (QString)

EditRole 

The data in a form suitable for editing in an editor. (QString)

FontRole 

The font used for items rendered with the default delegate. (QFont)

ForegroundRole 

The foreground brush (text color, typically) used for items rendered with the default delegate. (QBrush)

InitialSortOrderRole 

This role is used to obtain the initial sort order of a header view section. (Qt::SortOrder). This role was introduced in Qt 4.8.

SizeHintRole 

The size hint for the item that will be supplied to views. (QSize)

StatusTipPropertyRole 
StatusTipRole 

The data displayed in the status bar. (QString)

TextAlignmentRole 

The alignment of the text for items rendered with the default delegate. (Qt::AlignmentFlag)

TextColorRole 

This role is obsolete. Use ForegroundRole instead.

ToolTipPropertyRole 
ToolTipRole 

The data displayed in the item's tooltip. (QString)

UserRole 

The first role that can be used for application-specific purposes.

WhatsThisPropertyRole 
WhatsThisRole 

The data displayed for the item in "What's This?" mode. (QString)

This enum describes the properties of an item:

Note that checkable items need to be given both a suitable set of flags and an initial state, indicating whether the item is checked or not. This is handled automatically for model/view components, but needs to be explicitly set for instances of QListWidgetItem, QTableWidgetItem, and QTreeWidgetItem.

See also QAbstractItemModel.

Enumerator:
ItemIsDragEnabled 

It can be dragged.

ItemIsDropEnabled 

It can be used as a drop target.

ItemIsEditable 

It can be edited.

ItemIsEnabled 

The user can interact with the item.

ItemIsSelectable 

It can be selected.

ItemIsTristate 

The item is checkable with three separate states.

ItemIsUserCheckable 

It can be checked or unchecked by the user.

NoItemFlags 

It does not have any properties set.

This enum is used in QGraphicsItem, QGraphicsScene and QGraphicsView to specify how items are selected, or how to determine if a shapes and items collide.

See also QGraphicsScene::items(), QGraphicsScene::collidingItems(), QGraphicsView::items(), QGraphicsItem::collidesWithItem(), and QGraphicsItem::collidesWithPath().

Enumerator:
ContainsItemBoundingRect 

The output list contains only items whose bounding rectangle is fully contained inside the selection area. Items that intersect with the area's outline are not included.

ContainsItemShape 

The output list contains only items whose shape is fully contained inside the selection area. Items that intersect with the area's outline are not included.

IntersectsItemBoundingRect 

The output list contains both items whose bounding rectangle is fully contained inside the selection area, and items that intersect with the area's outline. This method is commonly used for determining areas that need redrawing.

IntersectsItemShape 

The output list contains both items whose shape is fully contained inside the selection area, and items that intersect with the area's outline. This is a common mode for rubber band selection.

The key names used by Qt.

See also QKeyEvent::key().

Enumerator:
Key_0 
Key_1 
Key_2 
Key_3 
Key_4 
Key_5 
Key_6 
Key_7 
Key_8 
Key_9 
Key_A 
Key_AE 
Key_Aacute 
Key_Acircumflex 
Key_AddFavorite 
Key_Adiaeresis 
Key_Agrave 
Key_Alt 
Key_AltGr 

On Windows, when the KeyDown event for this key is sent, the Ctrl+Alt modifiers are also set.

Key_Ampersand 
Key_Any 
Key_Apostrophe 
Key_ApplicationLeft 
Key_ApplicationRight 
Key_Aring 
Key_AsciiCircum 
Key_AsciiTilde 
Key_Asterisk 
Key_At 
Key_Atilde 
Key_AudioCycleTrack 
Key_AudioForward 
Key_AudioRandomPlay 
Key_AudioRepeat 
Key_AudioRewind 
Key_Away 
Key_B 
Key_Back 
Key_BackForward 
Key_Backslash 
Key_Backspace 
Key_Backtab 
Key_Bar 
Key_BassBoost 
Key_BassDown 
Key_BassUp 
Key_Battery 
Key_Bluetooth 
Key_Book 
Key_BraceLeft 
Key_BraceRight 
Key_BracketLeft 
Key_BracketRight 
Key_BrightnessAdjust 
Key_C 
Key_CD 
Key_Calculator 

On X11 this key is not mapped for legacy reasons. Use Qt::Key_Launch1 instead.

Key_Calendar 
Key_Call 

A key to answer or initiate a call (see Qt::Key_ToggleCallHangup for a key to toggle current call state)

Key_Camera 

A key to activate the camera shutter

Key_CameraFocus 

A key to focus the camera

Key_Cancel 
Key_CapsLock 
Key_Ccedilla 
Key_Clear 
Key_ClearGrab 
Key_Close 
Key_Codeinput 
Key_Colon 
Key_Comma 
Key_Community 
Key_Context1 
Key_Context2 
Key_Context3 
Key_Context4 
Key_ContrastAdjust 
Key_Control 

On Mac OS X, this corresponds to the Command keys.

Key_Copy 
Key_Cut 
Key_D 
Key_DOS 
Key_Dead_Abovedot 
Key_Dead_Abovering 
Key_Dead_Acute 
Key_Dead_Belowdot 
Key_Dead_Breve 
Key_Dead_Caron 
Key_Dead_Cedilla 
Key_Dead_Circumflex 
Key_Dead_Diaeresis 
Key_Dead_Doubleacute 
Key_Dead_Grave 
Key_Dead_Hook 
Key_Dead_Horn 
Key_Dead_Iota 
Key_Dead_Macron 
Key_Dead_Ogonek 
Key_Dead_Semivoiced_Sound 
Key_Dead_Tilde 
Key_Dead_Voiced_Sound 
Key_Delete 
Key_Direction_L 
Key_Direction_R 
Key_Display 
Key_Documents 
Key_Dollar 
Key_Down 
Key_E 
Key_ETH 
Key_Eacute 
Key_Ecircumflex 
Key_Ediaeresis 
Key_Egrave 
Key_Eisu_Shift 
Key_Eisu_toggle 
Key_Eject 
Key_End 
Key_Enter 

Typically located on the keypad.

Key_Equal 
Key_Escape 
Key_Excel 
Key_Exclam 
Key_Execute 
Key_Explorer 
Key_F 
Key_F1 
Key_F10 
Key_F11 
Key_F12 
Key_F13 
Key_F14 
Key_F15 
Key_F16 
Key_F17 
Key_F18 
Key_F19 
Key_F2 
Key_F20 
Key_F21 
Key_F22 
Key_F23 
Key_F24 
Key_F25 
Key_F26 
Key_F27 
Key_F28 
Key_F29 
Key_F3 
Key_F30 
Key_F31 
Key_F32 
Key_F33 
Key_F34 
Key_F35 
Key_F4 
Key_F5 
Key_F6 
Key_F7 
Key_F8 
Key_F9 
Key_Favorites 
Key_Finance 
Key_Flip 
Key_Forward 
Key_G 
Key_Game 
Key_Go 
Key_Greater 
Key_H 
Key_Hangul 
Key_Hangul_Banja 
Key_Hangul_End 
Key_Hangul_Hanja 
Key_Hangul_Jamo 
Key_Hangul_Jeonja 
Key_Hangul_PostHanja 
Key_Hangul_PreHanja 
Key_Hangul_Romaja 
Key_Hangul_Special 
Key_Hangul_Start 
Key_Hangup 

A key to end an ongoing call (see Qt::Key_ToggleCallHangup for a key to toggle current call state)

Key_Hankaku 
Key_Help 
Key_Henkan 
Key_Hibernate 
Key_Hiragana 
Key_Hiragana_Katakana 
Key_History 
Key_Home 
Key_HomePage 
Key_HotLinks 
Key_Hyper_L 
Key_Hyper_R 
Key_I 
Key_Iacute 
Key_Icircumflex 
Key_Idiaeresis 
Key_Igrave 
Key_Insert 
Key_J 
Key_K 
Key_Kana_Lock 
Key_Kana_Shift 
Key_Kanji 
Key_Katakana 
Key_KeyboardBrightnessDown 
Key_KeyboardBrightnessUp 
Key_KeyboardLightOnOff 
Key_L 
Key_LastNumberRedial 
Key_Launch0 

On X11 this key is mapped to "My Computer" (XF86XK_MyComputer) key for legacy reasons.

Key_Launch1 

On X11 this key is mapped to "Calculator" (XF86XK_Calculator) key for legacy reasons.

Key_Launch2 

On X11 this key is mapped to XF86XK_Launch0 key for legacy reasons.

Key_Launch3 

On X11 this key is mapped to XF86XK_Launch1 key for legacy reasons.

Key_Launch4 

On X11 this key is mapped to XF86XK_Launch2 key for legacy reasons.

Key_Launch5 

On X11 this key is mapped to XF86XK_Launch3 key for legacy reasons.

Key_Launch6 

On X11 this key is mapped to XF86XK_Launch4 key for legacy reasons.

Key_Launch7 

On X11 this key is mapped to XF86XK_Launch5 key for legacy reasons.

Key_Launch8 

On X11 this key is mapped to XF86XK_Launch6 key for legacy reasons.

Key_Launch9 

On X11 this key is mapped to XF86XK_Launch7 key for legacy reasons.

Key_LaunchA 

On X11 this key is mapped to XF86XK_Launch8 key for legacy reasons.

Key_LaunchB 

On X11 this key is mapped to XF86XK_Launch9 key for legacy reasons.

Key_LaunchC 

On X11 this key is mapped to XF86XK_LaunchA key for legacy reasons.

Key_LaunchD 

On X11 this key is mapped to XF86XK_LaunchB key for legacy reasons.

Key_LaunchE 

On X11 this key is mapped to XF86XK_LaunchC key for legacy reasons.

Key_LaunchF 

On X11 this key is mapped to XF86XK_LaunchD key for legacy reasons.

Key_LaunchG 

On X11 this key is mapped to XF86XK_LaunchE key for legacy reasons.

Key_LaunchH 

On X11 this key is mapped to XF86XK_LaunchF key for legacy reasons.

Key_LaunchMail 
Key_LaunchMedia 
Key_Left 
Key_Less 
Key_LightBulb 
Key_LogOff 
Key_M 
Key_MailForward 
Key_Market 
Key_Massyo 
Key_MediaLast 
Key_MediaNext 
Key_MediaPause 

A key setting the state of the media player to pause (Note: not the pause/break key)

Key_MediaPlay 

A key setting the state of the media player to play

Key_MediaPrevious 
Key_MediaRecord 
Key_MediaStop 

A key setting the state of the media player to stop

Key_MediaTogglePlayPause 

A key to toggle the play/pause state in the media player (rather than setting an absolute state)

Key_Meeting 
Key_Memo 
Key_Menu 
Key_MenuKB 
Key_MenuPB 
Key_Messenger 
Key_Meta 

On Mac OS X, this corresponds to the Control keys. On Windows keyboards, this key is mapped to the Windows key.

Key_Minus 
Key_Mode_switch 
Key_MonBrightnessDown 
Key_MonBrightnessUp 
Key_Muhenkan 
Key_Multi_key 
Key_MultipleCandidate 
Key_Music 
Key_MySites 
Key_N 
Key_News 
Key_No 
Key_Ntilde 
Key_NumLock 
Key_NumberSign 
Key_O 
Key_Oacute 
Key_Ocircumflex 
Key_Odiaeresis 
Key_OfficeHome 
Key_Ograve 
Key_Ooblique 
Key_OpenUrl 
Key_Option 
Key_Otilde 
Key_P 
Key_PageDown 
Key_PageUp 
Key_ParenLeft 
Key_ParenRight 
Key_Paste 
Key_Pause 

The Pause/Break key (Note: Not anything to do with pausing media)

Key_Percent 
Key_Period 
Key_Phone 
Key_Pictures 
Key_Play 
Key_Plus 
Key_PowerDown 
Key_PowerOff 
Key_PreviousCandidate 
Key_Print 
Key_Printer 
Key_Q 
Key_Question 
Key_QuoteDbl 
Key_QuoteLeft 
Key_R 
Key_Refresh 
Key_Reload 
Key_Reply 
Key_Return 
Key_Right 
Key_Romaji 
Key_RotateWindows 
Key_RotationKB 
Key_RotationPB 
Key_S 
Key_Save 
Key_ScreenSaver 
Key_ScrollLock 
Key_Search 
Key_Select 
Key_Semicolon 
Key_Send 
Key_Shift 
Key_Shop 
Key_SingleCandidate 
Key_Slash 
Key_Sleep 
Key_Space 
Key_Spell 
Key_SplitScreen 
Key_Standby 
Key_Stop 
Key_Subtitle 
Key_Super_L 
Key_Super_R 
Key_Support 
Key_Suspend 
Key_SysReq 
Key_T 
Key_THORN 
Key_Tab 
Key_TaskPane 
Key_Terminal 
Key_Time 
Key_ToDoList 
Key_ToggleCallHangup 

A key to toggle the current call state (ie. either answer, or hangup) depending on current call state

Key_Tools 
Key_TopMenu 
Key_Touroku 
Key_Travel 
Key_TrebleDown 
Key_TrebleUp 
Key_U 
Key_UWB 
Key_Uacute 
Key_Ucircumflex 
Key_Udiaeresis 
Key_Ugrave 
Key_Underscore 
Key_Up 
Key_V 
Key_Video 
Key_View 
Key_VoiceDial 
Key_VolumeDown 
Key_VolumeMute 
Key_VolumeUp 
Key_W 
Key_WLAN 
Key_WWW 
Key_WakeUp 
Key_WebCam 
Key_Word 
Key_X 
Key_Xfer 
Key_Y 
Key_Yacute 
Key_Yes 
Key_Z 
Key_Zenkaku 
Key_Zenkaku_Hankaku 
Key_Zoom 
Key_ZoomIn 
Key_ZoomOut 
Key_acute 
Key_brokenbar 
Key_cedilla 
Key_cent 
Key_copyright 
Key_currency 
Key_degree 
Key_diaeresis 
Key_division 
Key_exclamdown 
Key_guillemotleft 
Key_guillemotright 
Key_hyphen 
Key_iTouch 
Key_macron 
Key_masculine 
Key_mu 
Key_multiply 
Key_nobreakspace 
Key_notsign 
Key_onehalf 
Key_onequarter 
Key_onesuperior 
Key_ordfeminine 
Key_paragraph 
Key_periodcentered 
Key_plusminus 
Key_questiondown 
Key_registered 
Key_section 
Key_ssharp 
Key_sterling 
Key_threequarters 
Key_threesuperior 
Key_twosuperior 
Key_unknown 
Key_ydiaeresis 
Key_yen 

This enum describes the modifier keys.

Note: On Mac OS X, the ControlModifier value corresponds to the Command keys on the Macintosh keyboard, and the MetaModifier value corresponds to the Control keys. The KeypadModifier value will also be set when an arrow key is pressed as the arrow keys are considered part of the keypad.

Note: On Windows Keyboards, Qt::MetaModifier and Qt::Key_Meta are mapped to the Windows key.

See also MouseButton and Modifier.

Enumerator:
AltModifier 

An Alt key on the keyboard is pressed.

ControlModifier 

A Ctrl key on the keyboard is pressed.

GroupSwitchModifier 

X11 only. A Mode_switch key on the keyboard is pressed.

KeyboardModifierMask 
KeypadModifier 

A keypad button is pressed.

MetaModifier 

A Meta key on the keyboard is pressed.

NoModifier 

No modifier key is pressed.

ShiftModifier 

A Shift key on the keyboard is pressed.

Specifies the direction of Qt's layouts and text handling.

Right-to-left layouts are necessary for certain languages, notably Arabic and Hebrew.

LayoutDirectionAuto serves two purposes. When used in conjunction with widgets and layouts, it will imply to use the layout direction set on the parent widget or QApplication. This has the same effect as QWidget::unsetLayoutDirection().

When LayoutDirectionAuto is used in conjunction with text layouting, it will imply that the text directionality is determined from the content of the string to be layouted.

See also QApplication::setLayoutDirection(), QWidget::setLayoutDirection(), QTextOption::setTextDirection(), and QString::isRightToLeft().

Enumerator:
LayoutDirectionAuto 

Automatic layout.

LeftToRight 

Left-to-right layout.

RightToLeft 

Right-to-left layout.

This enum specifies the behavior of the QPixmap::createMaskFromColor() and QImage::createMaskFromColor() functions.

Enumerator:
MaskInColor 

Creates a mask where all pixels matching the given color are opaque.

MaskOutColor 

Creates a mask where all pixels matching the given color are transparent.

This enum describes the type of matches that can be used when searching for items in a model.

See also QString::compare() and QRegExp.

Enumerator:
MatchCaseSensitive 

The search is case sensitive.

MatchContains 

The search term is contained in the item.

MatchEndsWith 

The search term matches the end of the item.

MatchExactly 

Performs QVariant-based matching.

MatchFixedString 

Performs string-based matching. String-based comparisons are case-insensitive unless the MatchCaseSensitive flag is also specified.

MatchRecursive 

Searches the entire hierarchy.

MatchRegExp 

Performs string-based matching using a regular expression as the search term.

MatchStartsWith 

The search term matches the start of the item.

MatchWildcard 

Performs string-based matching using a string with wildcards as the search term.

MatchWrap 

Perform a search that wraps around, so that when the search reaches the last item in the model, it begins again at the first item and continues until all items have been examined.

This enum provides shorter names for the keyboard modifier keys supported by Qt.

Note: On Mac OS X, the CTRL value corresponds to the Command keys on the Macintosh keyboard, and the META value corresponds to the Control keys.

See also KeyboardModifier and MouseButton.

Enumerator:
ALT 

The normal Alt keys, but not keys like AltGr.

CTRL 

The Ctrl keys.

META 

The Meta keys.

MODIFIER_MASK 
SHIFT 

The Shift keys provided on all standard keyboards.

UNICODE_ACCEL 

The shortcut is specified as a Unicode code point, not as a Qt Key.

This enum type describes the different mouse buttons.

See also KeyboardModifier and Modifier.

Enumerator:
LeftButton 

The left button is pressed, or an event refers to the left button. (The left button may be the right button on left-handed mice.)

MidButton 

The middle button.

MiddleButton 

The middle button.

MouseButtonMask 
NoButton 

The button state does not refer to any button (see QMouseEvent::button()).

RightButton 

The right button.

XButton1 

The first X button.

XButton2 

The second X button.

This enum type describes the mode for moving focus.

Note:: in 4.6, cursor navigation is only implemented for Symbian OS. On other platforms, it behaves as NavigationModeNone.

This enum was introduced or modified in Qt 4.6.

See also QApplication::setNavigationMode() and QApplication::navigationMode().

Enumerator:
NavigationModeCursorAuto 

The mouse cursor is used to change focus, it is displayed only on non touchscreen devices. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g. touchpad). This is the recommended setting for an application such as a web browser that needs pointer control on both touch and non-touch devices.

NavigationModeCursorForceVisible 

The mouse cursor is used to change focus, it is displayed regardless of device type. The keypad is used to implement a virtual cursor, unless the device has an analog mouse type of input device (e.g. touchpad)

NavigationModeKeypadDirectional 

Qt::Key_Up, Qt::Key_Down, Qt::Key_Left and Qt::Key_Right are used to change focus.

NavigationModeKeypadTabOrder 

Qt::Key_Up and Qt::Key_Down are used to change focus.

NavigationModeNone 

Only the touch screen is used.

This type is used to signify an object's orientation.

Orientation is used with QScrollBar for example.

Enumerator:
Horizontal 
Vertical 

This enum type defines the pen cap styles supported by Qt, i.e. the line end caps that can be drawn using QPainter.

Qt::SquareCap Qt::FlatCap Qt::RoundCap

See also QPen.

Enumerator:
FlatCap 

A square line end that does not cover the end point of the line.

MPenCapStyle 
RoundCap 

A rounded line end.

SquareCap 

A square line end that covers the end point and extends beyond it by half the line width.

This enum type defines the pen join styles supported by Qt, i.e. which joins between two connected lines can be drawn using QPainter.

Qt::BevelJoin Qt::MiterJoin Qt::RoundJoin

See also QPen.

Enumerator:
BevelJoin 

The triangular notch between the two lines is filled.

MPenJoinStyle 
MiterJoin 

The outer edges of the lines are extended to meet at an angle, and this area is filled.

RoundJoin 

A circular arc between the two lines is filled.

SvgMiterJoin 

A miter join corresponding to the definition of a miter join in the SVG 1.2 Tiny specification.

This enum type defines the pen styles that can be drawn using QPainter. The styles are:

Qt::SolidLine Qt::DashLine Qt::DotLine

Qt::DashDotLine Qt::DashDotDotLine Qt::CustomDashLine

See also QPen.

Enumerator:
CustomDashLine 

A custom pattern defined using QPainterPathStroker::setDashPattern().

DashDotDotLine 

One dash, two dots, one dash, two dots.

DashDotLine 

Alternate dots and dashes.

DashLine 

Dashes separated by a few pixels.

DotLine 

Dots separated by a few pixels.

MPenStyle 
NoPen 

No line at all. For example, QPainter::drawRect() fills but does not draw any boundary line.

SolidLine 

A plain line.

This enum type describes the various modes of QAbstractScrollArea's scroll bars.

(The modes for the horizontal and vertical scroll bars are independent.)

Enumerator:
ScrollBarAlwaysOff 

QAbstractScrollArea never shows a scroll bar.

ScrollBarAlwaysOn 

QAbstractScrollArea always shows a scroll bar.

ScrollBarAsNeeded 

QAbstractScrollArea shows a scroll bar when the content is too large to fit and not otherwise. This is the default.

For a QEvent::Shortcut event to occur, the shortcut's key sequence must be entered by the user in a context where the shortcut is active. The possible contexts are these:

Enumerator:
ApplicationShortcut 

The shortcut is active when one of the applications windows are active.

WidgetShortcut 

The shortcut is active when its parent widget has focus.

WidgetWithChildrenShortcut 

The shortcut is active when its parent widget, or any of its children has focus. Children which are top-level widgets, except pop-ups, are not affected by this shortcut context.

WindowShortcut 

The shortcut is active when its parent widget is a logical subwidget of the active top-level window.

This enum is used by QGraphicsLayoutItem::sizeHint()

This enum was introduced or modified in Qt 4.4.

See also QGraphicsLayoutItem::sizeHint().

Enumerator:
MaximumSize 

Is used to specify the maximum size of a graphics layout item.

MinimumDescent 

Is used to specify the minimum descent of a text string in a graphics layout item.

MinimumSize 

Is used to specify the minimum size of a graphics layout item.

NSizeHints 
PreferredSize 

Is used to specify the preferred size of a graphics layout item.

This enum is used by QPainter::drawRoundedRect() and QPainterPath::addRoundedRect() functions to specify the radii of rectangle corners with respect to the dimensions of the bounding rectangles specified.

This enum was introduced or modified in Qt 4.4.

Enumerator:
AbsoluteSize 

Specifies the size using absolute measurements.

RelativeSize 

Specifies the size relative to the bounding rectangle, typically using percentage measurements.

This enum describes how the items in a widget are sorted.

Enumerator:
AscendingOrder 

The items are sorted ascending e.g. starts with 'AAA' ends with 'ZZZ' in Latin-1 locales

DescendingOrder 

The items are sorted descending e.g. starts with 'ZZZ' ends with 'AAA' in Latin-1 locales

This enum specifies where the ellipsis should appear when displaying texts that don't fit:

Qt::ElideMiddle is normally the most appropriate choice for URLs (e.g., "http://bugreports.qt.../QTWEBSITE-13/&quot;), whereas Qt::ElideRight is appropriate for other strings (e.g., "Deploying Applications on Ma...").

See also QAbstractItemView::textElideMode, QFontMetrics::elidedText(), AlignmentFlag, and QTabBar::elideMode.

Enumerator:
ElideLeft 

The ellipsis should appear at the beginning of the text.

ElideMiddle 

The ellipsis should appear in the middle of the text.

ElideNone 

Ellipsis should NOT appear in the text.

ElideRight 

The ellipsis should appear at the end of the text.

This enum type is used to define some modifier flags. Some of these flags only make sense in the context of printing:

Ensures that the longest variant is always used when computing the size of a multi-variant string. (Internal)

You can use as many modifier flags as you want, except that Qt::TextSingleLine and Qt::TextWordWrap cannot be combined.

Flags that are inappropriate for a given use are generally ignored.

Enumerator:
TextBypassShaping 
TextDontClip 

If it's impossible to stay within the given bounds, it prints outside.

TextDontPrint 

Treat this text as "hidden" and don't print it.

TextExpandTabs 

Makes the U+0009 (ASCII tab) character move to the next tab stop.

TextForceLeftToRight 
TextForceRightToLeft 
TextHideMnemonic 

Same as Qt::TextShowMnemonic but doesn't draw the underlines.

TextIncludeTrailingSpaces 

Same as IncludeTrailingSpaces

TextJustificationForced 

Ensures that text lines are justified.

TextLongestVariant 
TextShowMnemonic 

Displays the string "&P" as P (see QButton for an example). For an ampersand, use "&&".

TextSingleLine 

Treats all whitespace as spaces and prints just one line.

TextWordWrap 

Breaks lines at appropriate points, e.g. at word boundaries.

TextWrapAnywhere 

Breaks lines anywhere, even within words.

This enum is used in widgets that can display both plain text and rich text, e.g. QLabel. 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.

Enumerator:
AutoText 

The text string is interpreted as for Qt::RichText if Qt::mightBeRichText() returns true, otherwise as Qt::PlainText.

LogText 

A special, limited text format which is only used by Q3TextEdit in an optimized mode.

PlainText 

The text string is interpreted as a plain text string.

RichText 

The text string is interpreted as a rich text string.

This enum specifies how a text displaying widget reacts to user input.

Enumerator:
LinksAccessibleByKeyboard 

Links can be focused using tab and activated with enter.

LinksAccessibleByMouse 

Links can be highlighted and activated with the mouse.

NoTextInteraction 

No interaction with the text is possible.

TextBrowserInteraction 

The default for QTextBrowser.

TextEditable 

The text is fully editable.

TextEditorInteraction 

The default for a text editor.

TextSelectableByKeyboard 

Text can be selected with the cursor keys on the keyboard. A text cursor is shown.

TextSelectableByMouse 

Text can be selected with the mouse and copied to the clipboard using a context menu or standard keyboard shortcuts.

This enum describes how to repeat or stretch the parts of an image when drawing.

This enum was introduced or modified in Qt 4.6.

Enumerator:
RepeatTile 

Repeat the image until there is no more space. May crop the last image.

RoundTile 

Similar to Repeat, but scales the image down to ensure that the last tile is not cropped.

StretchTile 

Scale the image to fit to the available area.

Enumerator:
LocalTime 

Locale dependent time (Timezones and Daylight Savings Time).

OffsetFromUTC 

An offset in seconds from Coordinated Universal Time.

UTC 

Coordinated Universal Time, replaces Greenwich Mean Time.

Enumerator:
AllToolBarAreas 
BottomToolBarArea 
LeftToolBarArea 
NoToolBarArea 
RightToolBarArea 
ToolBarArea_Mask 
TopToolBarArea 
Enumerator:
NToolBarAreas 

The style of the tool button, describing how the button's text and icon should be displayed.

Enumerator:
ToolButtonFollowStyle 

Follow the style.

ToolButtonIconOnly 

Only display the icon.

ToolButtonTextBesideIcon 

The text appears beside the icon.

ToolButtonTextOnly 

Only display the text.

ToolButtonTextUnderIcon 

The text appears under the icon.

This enum represents the state of a touch point at the time the QTouchEvent occurred.

This enum was introduced or modified in Qt 4.6.

Enumerator:
TouchPointMoved 

The touch point moved.

TouchPointPressed 

The touch point is now pressed.

TouchPointPrimary 
TouchPointReleased 

The touch point was released.

TouchPointStateMask 
TouchPointStationary 

The touch point did not move.

This enum type defines whether image transformations (e.g., scaling) should be smooth or not.

See also QImage::scaled().

Enumerator:
FastTransformation 

The transformation is performed quickly, with no smoothing.

SmoothTransformation 

The resulting image is transformed using bilinear filtering.

This enum describes the available UI effects.

By default, Qt will try to use the platform specific desktop settings for each effect. Use the QApplication::setDesktopSettingsAware() function (passing false as argument) to prevent this, and the QApplication::setEffectEnabled() to enable or disable a particular effect.

Note that all effects are disabled on screens running at less than 16-bit color depth.

See also QApplication::setEffectEnabled() and QApplication::setDesktopSettingsAware().

Enumerator:
UI_AnimateCombo 

Show animated comboboxes.

UI_AnimateMenu 

Show animated menus.

UI_AnimateToolBox 

Reserved

UI_AnimateTooltip 

Show tooltip animations.

UI_FadeMenu 

Show faded menus.

UI_FadeTooltip 

Show tooltip fading effects.

UI_General 

This enum type is used to specify various widget attributes. Attributes are set and cleared with QWidget::setAttribute(), and queried with QWidget::testAttribute(), although some have special convenience functions which are mentioned below.

Warning: This flag must never be set or cleared by the widget's author.

Enumerator:
WA_AcceptDrops 

Allows data from drag and drop operations to be dropped onto the widget (see QWidget::setAcceptDrops()).

WA_AcceptTouchEvents 

Allows touch events (see QTouchEvent) to be sent to the widget. Must be set on all widgets that can handle touch events. Without this attribute set, events from a touch device will be sent as mouse events.

WA_AlwaysShowToolTips 

Enables tooltips for inactive windows.

WA_AttributeCount 
WA_AutoOrientation 

Causes the widget to change orientation whenever the display changes orientation with respect to the user.

WA_CanHostQMdiSubWindowTitleBar 
WA_ContentsPropagated 

This flag is superfluous and obsolete; it no longer has any effect. Since Qt 4.1, all widgets that do not set WA_PaintOnScreen propagate their contents.

WA_CustomWhatsThis 

Indicates that the widget wants to continue operating normally in "What's This?" mode. This is set by the widget's author.

WA_DeleteOnClose 

Makes Qt delete this widget when the widget has accepted the close event (see QWidget::closeEvent()).

WA_Disabled 

Indicates that the widget is disabled, i.e. it does not receive any mouse or keyboard events. There is also a getter functions QWidget::isEnabled(). This is set/cleared by the Qt kernel.

WA_DontCreateNativeAncestors 

Indicates that the widget's ancestors are kept non-native even though the widget itself is native.

WA_DontShowOnScreen 

Indicates that the widget is hidden or is not a part of the viewable Desktop.

WA_DropSiteRegistered 
WA_ForceAcceptDrops 
WA_ForceDisabled 

Indicates that the widget is explicitly disabled, i.e. it will remain disabled even when all its ancestors are set to the enabled state. This implies WA_Disabled. This is set/cleared by QWidget::setEnabled() and QWidget::setDisabled().

WA_ForceUpdatesDisabled 

Indicates that updates are explicitly disabled for the widget; i.e. it will remain disabled even when all its ancestors are set to the updates-enabled state. This implies WA_UpdatesDisabled. This is set/cleared by QWidget::setUpdatesEnabled().

WA_GrabbedShortcut 
WA_GroupLeader 

This attribute has been deprecated. Use QWidget::windowModality instead.

WA_Hover 

Forces Qt to generate paint events when the mouse enters or leaves the widget. This feature is typically used when implementing custom styles; see the Styles example for details.

WA_InputMethodEnabled 

Enables input methods for Asian languages. Must be set when creating custom text editing widgets. On Windows CE and Symbian this flag can be used in addition to QApplication::autoSipEnabled to automatically display the SIP when entering a widget.

WA_InputMethodTransparent 
WA_InvalidSize 
WA_KeyCompression 

Enables key event compression if set, and disables it if not set. By default key compression is off, so widgets receive one key press event for each key press (or more, since autorepeat is usually on). If you turn it on and your program doesn't keep up with key input, Qt may try to compress key events so that more than one character can be processed in each event. For example, a word processor widget might receive 2, 3 or more characters in each QKeyEvent::text(), if the layout recalculation takes too long for the CPU. If a widget supports multiple character unicode input, it is always safe to turn the compression on. Qt performs key event compression only for printable characters. Qt::Modifier keys, cursor movement keys, function keys and miscellaneous action keys (e.g. Escape, Enter, Backspace, PrintScreen) will stop key event compression, even if there are more compressible key events available. Platforms other than Mac and X11 do not support this compression, in which case turning it on will have no effect. This is set/cleared by the widget's author.

WA_KeyboardFocusChange 

Set on a toplevel window when the users changes focus with the keyboard (tab, backtab, or shortcut).

WA_LaidOut 
WA_LayoutOnEntireRect 

Indicates that the widget wants QLayout to operate on the entire QWidget::rect(), not only on QWidget::contentsRect(). This is set by the widget's author.

WA_LayoutUsesWidgetRect 

Ignore the layout item rect from the style when laying out this widget with QLayout. This makes a difference in QMacStyle and QPlastiqueStyle for some widgets.

WA_LockLandscapeOrientation 

Locks the widget to a landscape orientation, ignoring changes to the display's orientation with respect to the user.

WA_LockPortraitOrientation 

Locks the widget to a portrait orientation, ignoring changes to the display's orientation with respect to the user.

WA_MSWindowsUseDirect3D 

This value is obsolete and has no effect.

WA_MacAlwaysShowToolWindow 

On Mac OS X, show the tool window even when the application is not active. By default, all tool windows are hidden when the application is inactive.

WA_MacBrushedMetal 

Indicates the widget should be drawn in the brushed metal style as supported by the windowing system. This attribute is only applicable to Mac OS X.

WA_MacFrameworkScaled 

Enables resolution independence aware mode on Mac when using Carbon. This attribute has no effect on Cocoa. The attribute is off by default and can be enabled on a per-window basis.

WA_MacMetalStyle 
WA_MacMiniSize 

Indicates the widget should have the mini size for widgets in Mac OS X. This attribute is only applicable to Mac OS X.

WA_MacNoClickThrough 

When a widget that has this attribute set is clicked, and its window is inactive, the click will make the window active but won't be seen by the widget. Typical use of this attribute is on widgets with "destructive" actions, such as a "Delete" button. WA_MacNoClickThrough also applies to all child widgets of the widget that has it set.

WA_MacNoShadow 

Since Qt 4.8, this attribute disables drop shadows for this top level window. Only affects Cocoa builds of Qt for Mac OS X.

WA_MacNormalSize 

Indicates the widget should have the normal size for widgets in Mac OS X. This attribute is only applicable to Mac OS X.

WA_MacOpaqueSizeGrip 

Indicates that the native Carbon size grip should be opaque instead of transparent (the default). This attribute is only applicable to Mac OS X and is set by the widget's author.

WA_MacShowFocusRect 

Indicates that this widget should get a QFocusFrame around it. Some widgets draw their own focus halo regardless of this attribute. Not that the QWidget::focusPolicy also plays the main role in whether something is given focus or not, this only controls whether or not this gets the focus frame. This attribute is only applicable to Mac OS X.

WA_MacSmallSize 

Indicates the widget should have the small size for widgets in Mac OS X. This attribute is only applicable to Mac OS X.

WA_MacVariableSize 

Indicates the widget can choose between alternative sizes for widgets to avoid clipping. This attribute is only applicable to Mac OS X.

WA_Mapped 

Indicates that the widget is mapped on screen. This is set/cleared by the Qt kernel.

WA_MergeSoftkeys 

Allows widget to merge softkeys with parent widget, i.e. widget can set only one softkeys and request softkey implementation to take rest of the softkeys from the parent. Note parents are traversed until WA_MergeSoftkeys is not set. See also Qt::WA_MergeSoftkeysRecursively This attribute currently has effect only on Symbian platforms

WA_MergeSoftkeysRecursively 

Allows widget to merge softkeys recursively with all parents. If this attribute is set, the widget parents are traversed until window boundary (widget without parent or dialog) is found. This attribute currently has effect only on Symbian platforms

WA_MouseNoMask 

Makes the widget receive mouse events for the entire widget regardless of the currently set mask, overriding QWidget::setMask(). This is not applicable for top-level windows.

WA_MouseTracking 

Indicates that the widget has mouse tracking enabled. See QWidget::mouseTracking.

WA_Moved 

Indicates that the widget has an explicit position. This is set/cleared by QWidget::move() and by QWidget::setGeometry().

WA_NativeWindow 

Indicates that a native window is created for the widget. Enabling this flag will also force a native window for the widget's ancestors unless Qt::WA_DontCreateNativeAncestors is set.

WA_NoBackground 

This value is obsolete. Use WA_OpaquePaintEvent instead.

WA_NoChildEventsForParent 

Indicates that the widget does not want ChildAdded or ChildRemoved events sent to its parent. This is rarely necessary but can help to avoid automatic insertion widgets like splitters and layouts. This is set by a widget's author.

WA_NoChildEventsFromChildren 

Indicates that the widget does not want to receive ChildAdded or ChildRemoved events sent from its children. This is set by a widget's author.

WA_NoMousePropagation 

Prohibits mouse events from being propagated to the widget's parent. This attribute is disabled by default.

WA_NoMouseReplay 

Used for pop-up widgets. Indicates that the most recent mouse press event should not be replayed when the pop-up widget closes. The flag is set by the widget's author and cleared by the Qt kernel every time the widget receives a new mouse event.

WA_NoSystemBackground 

Indicates that the widget has no background, i.e. when the widget receives paint events, the background is not automatically repainted. Note: Unlike WA_OpaquePaintEvent, newly exposed areas are never filled with the background (e.g., after showing a window for the first time the user can see "through" it until the application processes the paint events). This flag is set or cleared by the widget's author.

WA_NoX11EventCompression 
WA_OpaquePaintEvent 

Indicates that the widget paints all its pixels when it receives a paint event. Thus, it is not required for operations like updating, resizing, scrolling and focus changes to erase the widget before generating paint events. The use of WA_OpaquePaintEvent provides a small optimization by helping to reduce flicker on systems that do not support double buffering and avoiding computational cycles necessary to erase the background prior to painting. Note: Unlike WA_NoSystemBackground, WA_OpaquePaintEvent makes an effort to avoid transparent window backgrounds. This flag is set or cleared by the widget's author.

WA_OutsideWSRange 

Indicates that the widget is outside the valid range of the window system's coordinate system. A widget outside the valid range cannot be mapped on screen. This is set/cleared by the Qt kernel.

WA_PaintOnScreen 

Indicates that the widget wants to draw directly onto the screen. Widgets with this attribute set do not participate in composition management, i.e. they cannot be semi-transparent or shine through semi-transparent overlapping widgets. Note: This flag is only supported on X11 and it disables double buffering. On Qt for Embedded Linux, the flag only works when set on a top-level widget and it relies on support from the active screen driver. This flag is set or cleared by the widget's author. To render outside of Qt's paint system, e.g., if you require native painting primitives, you need to reimplement QWidget::paintEngine() to return 0 and set this flag.

WA_PaintOutsidePaintEvent 

Makes it possible to use QPainter to paint on the widget outside paintEvent(). This flag is not supported on Windows, Mac OS X or Embedded Linux. We recommend that you use it only when porting Qt 3 code to Qt 4.

WA_PaintUnclipped 

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. This flag is only supported for widgets with the WA_PaintOnScreen flag set. The preferred way to do this in a cross platform way is to create a transparent widget that lies in front of the other widgets.

WA_PendingMoveEvent 

Indicates that a move event is pending, e.g., when a hidden widget was moved. This flag is set or cleared by the Qt kernel.

WA_PendingResizeEvent 

Indicates that a resize event is pending, e.g., when a hidden widget was resized. This flag is set or cleared by the Qt kernel.

WA_PendingUpdate 
WA_QuitOnClose 

Makes Qt quit the application when the last widget with the attribute set has accepted closeEvent(). This behavior can be modified with the QApplication::quitOnLastWindowClosed property. By default this attribute is set for all widgets of type Qt::Window.

WA_Resized 

Indicates that the widget has an explicit size. This flag is set or cleared by QWidget::resize() and QWidget::setGeometry().

WA_RightToLeft 

Indicates that the layout direction for the widget is right to left.

WA_SetCursor 

Indicates that the widget has a cursor of its own. This flag is set or cleared by QWidget::setCursor() and QWidget::unsetCursor().

WA_SetFont 

Indicates that the widget has a font of its own. This flag is set or cleared by QWidget::setFont().

WA_SetLayoutDirection 
WA_SetLocale 

Indicates the locale should be taken into consideration in the widget.

WA_SetPalette 

Indicates that the widget has a palette of its own. This flag is set or cleared by QWidget::setPalette().

WA_SetStyle 

Indicates that the widget has a style of its own. This flag is set or cleared by QWidget::setStyle().

WA_SetWindowIcon 
WA_SetWindowModality 
WA_ShowModal 

This attribute has been deprecated. Use QWidget::windowModality instead.

WA_ShowWithoutActivating 

Show the widget without making it active.

WA_StaticContents 

Indicates that the widget contents are north-west aligned and static. On resize, such a widget will receive paint events only for parts of itself that are newly visible. This flag is set or cleared by the widget's author.

WA_StyleSheet 

Indicates that the widget is styled using a style sheet.

WA_StyledBackground 

Indicates the widget should be drawn using a styled background.

WA_SymbianNoSystemRotation 
WA_TintedBackground 
WA_TouchPadAcceptSingleTouchEvents 

Allows touchpad single touch events to be sent to the widget.

WA_TranslucentBackground 

Indicates that the widget should have a translucent background, i.e., any non-opaque regions of the widgets will be translucent because the widget will have an alpha channel. Setting this flag causes WA_NoSystemBackground to be set. On Windows the widget also needs the Qt::FramelessWindowHint window flag to be set. This flag is set or cleared by the widget's author.

WA_TransparentForMouseEvents 

When enabled, this attribute disables the delivery of mouse events to the widget and its children. Mouse events are delivered to other widgets as if the widget and its children were not present in the widget hierarchy; mouse clicks and other events effectively "pass through" them. This attribute is disabled by default.

WA_UnderMouse 

Indicates that the widget is under the mouse cursor. The value is not updated correctly during drag and drop operations. There is also a getter function, QWidget::underMouse(). This flag is set or cleared by the Qt kernel.

WA_UpdatesDisabled 

Indicates that updates are blocked (including the system background). This flag is set or cleared by the Qt kernel.

WA_WState_AcceptedTouchBeginEvent 
WA_WState_CompressKeys 
WA_WState_ConfigPending 
WA_WState_Created 
WA_WState_DND 
WA_WState_ExplicitShowHide 
WA_WState_Hidden 
WA_WState_InPaintEvent 
WA_WState_OwnSizePolicy 
WA_WState_Polished 
WA_WState_Reparented 
WA_WState_Visible 
WA_WState_WindowOpacitySet 
WA_WindowModified 

Indicates that the window is marked as modified. On some platforms this flag will do nothing, on others (including Mac OS X and Windows) the window will take a modified appearance. This flag is set or cleared by QWidget::setWindowModified().

WA_WindowPropagation 

Makes a toplevel window inherit font and palette from its parent.

WA_X11BypassTransientForHint 
WA_X11DoNotAcceptFocus 

Asks the window manager to not give focus to this top level window. This attribute has no effect on non-X11 platforms.

WA_X11NetWmWindowTypeCombo 

Adds _NET_WM_WINDOW_TYPE_COMBO to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for the QComboBox pop-up.

WA_X11NetWmWindowTypeDND 

Adds _NET_WM_WINDOW_TYPE_DND to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute on the feedback widget used during a drag.

WA_X11NetWmWindowTypeDesktop 

Adds _NET_WM_WINDOW_TYPE_DESKTOP to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms.

WA_X11NetWmWindowTypeDialog 

Adds _NET_WM_WINDOW_TYPE_DIALOG to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for the Qt::Dialog and Qt::Sheet window types.

WA_X11NetWmWindowTypeDock 

Adds _NET_WM_WINDOW_TYPE_DOCK to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms.

WA_X11NetWmWindowTypeDropDownMenu 

Adds _NET_WM_WINDOW_TYPE_DROPDOWN_MENU to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for QMenus added to a QMenuBar.

WA_X11NetWmWindowTypeMenu 

Adds _NET_WM_WINDOW_TYPE_MENU to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for QMenu when torn-off.

WA_X11NetWmWindowTypeNotification 

Adds _NET_WM_WINDOW_TYPE_NOTIFICATION to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms.

WA_X11NetWmWindowTypePopupMenu 

Adds _NET_WM_WINDOW_TYPE_POPUP_MENU to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for QMenu.

WA_X11NetWmWindowTypeSplash 

Adds _NET_WM_WINDOW_TYPE_SPLASH to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for the Qt::SplashScreen window type.

WA_X11NetWmWindowTypeToolBar 

Adds _NET_WM_WINDOW_TYPE_TOOLBAR to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automaticaly sets this attribute for QToolBar.

WA_X11NetWmWindowTypeToolTip 

Adds _NET_WM_WINDOW_TYPE_TOOLTIP to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for the Qt::ToolTip window type.

WA_X11NetWmWindowTypeUtility 

Adds _NET_WM_WINDOW_TYPE_UTILITY to the window's _NET_WM_WINDOW_TYPE X11 window property. See http://standards.freedesktop.org/wm-spec/ for more details. This attribute has no effect on non-X11 platforms. Note: Qt automatically sets this attribute for the Qt::Tool window type.

WA_X11OpenGLOverlay 

This enum is used to describe parts of a window frame. It is returned by QGraphicsWidget::windowFrameSectionAt() to describe what section of the window frame is under the mouse.

This enum was introduced or modified in Qt 4.4.

See also QGraphicsWidget::windowFrameEvent(), QGraphicsWidget::paintWindowFrame(), and QGraphicsWidget::windowFrameSectionAt().

Enumerator:
BottomLeftSection 
BottomRightSection 
BottomSection 
LeftSection 
NoSection 
RightSection 
TitleBarArea 
TopLeftSection 
TopRightSection 
TopSection 

This enum specifies the behavior of a modal window. A modal window is one that blocks input to other windows. Note that windows that are children of a modal window are not blocked.

The values are:

See also QWidget::windowModality and QDialog.

Enumerator:
ApplicationModal 

The window is modal to the application and blocks input to all windows.

NonModal 

The window is not modal and does not block input to other windows.

WindowModal 

The window is modal to a single window hierarchy and blocks input to its parent window, all grandparent windows, and all siblings of its parent and grandparent windows.

This enum type is used to specify the current state of a top-level window.

The states are

Enumerator:
WindowActive 

The window is the active window, i.e. it has keyboard focus.

WindowFullScreen 

The window fills the entire screen without any frame around it.

WindowMaximized 

The window is maximized with a frame around it.

WindowMinimized 

The window is minimized (i.e. iconified).

WindowNoState 

The window has no state set (in normal state).

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.

The main types are

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:

The CustomizeWindowHint flag is used to enable customization of the window controls. This flag must be set to allow the WindowTitleHint, WindowSystemMenuHint, WindowMinimizeButtonHint, WindowMaximizeButtonHint and WindowCloseButtonHint flags to be changed.

Obsolete flags:

See also QWidget::windowFlags and Window Flags Example.

Enumerator:
BypassGraphicsProxyWidget 

Prevents the window and its children from automatically embedding themselves into a QGraphicsProxyWidget if the parent widget is already embedded. You can set this flag if you want your widget to always be a toplevel widget on the desktop, regardless of whether the parent widget is embedded in a scene or not.

CustomizeWindowHint 

Turns off the default window title hints.

Desktop 

Indicates that this widget is the desktop. This is the type for QDesktopWidget.

Dialog 

Indicates that the widget is a window that should be decorated as a dialog (i.e., typically no maximize or minimize buttons in the title bar). This is the default type for QDialog. If you want to use it as a modal dialog, it should be launched from another window, or have a parent and used with the QWidget::windowModality property. If you make it modal, the dialog will prevent other top-level windows in the application from getting any input. We refer to a top-level window that has a parent as a secondary window.

Drawer 

Indicates that the widget is a Macintosh drawer.

FramelessWindowHint 

Produces a borderless window. The user cannot move or resize a borderless window via the window system. 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.

MSWindowsFixedSizeDialogHint 

Gives the window a thin dialog border on Windows. This style is traditionally used for fixed-size dialogs.

MSWindowsOwnDC 

Gives the window its own display context on Windows.

MacWindowToolBarButtonHint 

On Mac OS X adds a tool bar button (i.e., the oblong button that is on the top right of windows that have toolbars).

Popup 

Indicates that the widget is a pop-up top-level window, i.e. that it is modal, but has a window system frame appropriate for pop-up menus.

Sheet 

Indicates that the window is a Macintosh sheet. Since using a sheet implies window modality, the recommended way is to use QWidget::setWindowModality(), or QDialog::open(), instead.

SplashScreen 

Indicates that the window is a splash screen. This is the default type for QSplashScreen.

SubWindow 

Indicates that this widget is a sub-window, such as a QMdiSubWindow widget.

Tool 

Indicates that the widget is 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. If there is a parent, the tool window will always be kept on top of it. If there isn't a parent, you may consider using Qt::WindowStaysOnTopHint 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 Qt::FramelessWindowHint. On Mac OS X, tool windows correspond to the Floating class of windows. This means that the window lives on a level above normal windows; it impossible to put a normal window on top of it. By default, tool windows will disappear when the application is inactive. This can be controlled by the Qt::WA_MacAlwaysShowToolWindow attribute.

ToolTip 

Indicates that the widget is a tooltip. This is used internally to implement tooltips.

Widget 

This is the default type for QWidget. Widgets of this type are child widgets if they have a parent, and independent windows if they have no parent. See also Qt::Window and Qt::SubWindow.

Window 

Indicates that the widget is a window, usually with a window system frame and a title bar, irrespective of whether the widget has a parent or not. Note that it is not possible to unset this flag if the widget does not have a parent.

WindowCancelButtonHint 

Adds a Cancel button to the window decoration of a dialog. Only supported for Windows CE.

WindowCloseButtonHint 

Adds a close button. On some platforms this implies Qt::WindowSystemMenuHint for it to work.

WindowContextHelpButtonHint 

Adds a context help button to dialogs. On some platforms this implies Qt::WindowSystemMenuHint for it to work.

WindowMaximizeButtonHint 

Adds a maximize button. On some platforms this implies Qt::WindowSystemMenuHint for it to work.

WindowMinMaxButtonsHint 

Adds a minimize and a maximize button. On some platforms this implies Qt::WindowSystemMenuHint for it to work.

WindowMinimizeButtonHint 

Adds a minimize button. On some platforms this implies Qt::WindowSystemMenuHint for it to work.

WindowOkButtonHint 

Adds an OK button to the window decoration of a dialog. Only supported for Windows CE.

WindowShadeButtonHint 
WindowSoftkeysRespondHint 

Makes softkeys to receive key events even when invisible. With this hint the softkey actions are triggered even the softkeys are invisible i.e. the window is displayed with showFullscreen(). Only supported for Symbian.

WindowSoftkeysVisibleHint 

Makes softkeys visible when widget is fullscreen. Only supported for Symbian.

WindowStaysOnBottomHint 

Informs the window system that the window should stay on bottom of all other windows. Note that on X11 this hint will work only in window managers that support _NET_WM_STATE_BELOW atom. If a window always on the bottom has a parent, the parent will also be left on the bottom. This window hint is currently not implemented for Mac OS X.

WindowStaysOnTopHint 

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 Qt::X11BypassWindowManagerHint for this flag to work correctly.

WindowSystemMenuHint 

Adds a window system menu, and possibly a close button (for example on Mac). If you need to hide or show a close button, it is more portable to use WindowCloseButtonHint.

WindowTitleHint 

Gives the window a title bar.

WindowType_Mask 

A mask for extracting the window type part of the window flags.

X11BypassWindowManagerHint 

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 QWidget::activateWindow() manually).

Member Function Documentation

delegate void QtCore.Qt.ActionQtMsgTypeString ( QtMsgType  qtMsgType,
string @  string 
)
delegate QByteArray QtCore.Qt.FuncQByteArrayString ( string @  string)
delegate QObject QtCore.Qt.FuncQObject ( )
delegate QTextStream QtCore.Qt.FuncQTextStreamQTextStream ( QTextStream  qTextStream)
delegate string QtCore.Qt.FuncStringQByteArray ( QByteArray  qByteArray)
static double QtCore.Qt.qAcos ( double  v)
static
static void QtCore.Qt.qAddPostRoutine ( System.Action  arg1)
static
static string QtCore.Qt.qAppName ( )
static
static double QtCore.Qt.qAsin ( double  v)
static
static double QtCore.Qt.qAtan ( double  v)
static
static double QtCore.Qt.qAtan2 ( double  x,
double  y 
)
static
static void QtCore.Qt.qBadAlloc ( )
static
static void QtCore.Qt.Qbswap_helper ( Pointer< byte >  src,
Pointer< byte >  dest,
int  size 
)
static
static int QtCore.Qt.qCeil ( double  v)
static
static ushort QtCore.Qt.qChecksum ( string  s,
uint  len 
)
static
static QByteArray QtCore.Qt.qCompress ( QByteArray  data)
static
static QByteArray QtCore.Qt.qCompress ( QByteArray  data,
int  compressionLevel = -1 
)
static
static QByteArray QtCore.Qt.qCompress ( Pointer< byte >  data,
int  nbytes 
)
static
static QByteArray QtCore.Qt.qCompress ( Pointer< byte >  data,
int  nbytes,
int  compressionLevel = -1 
)
static
static double QtCore.Qt.qCos ( double  v)
static
static double QtCore.Qt.qExp ( double  v)
static
static double QtCore.Qt.qFabs ( double  v)
static
static double QtCore.Qt.qFastCos ( double  x)
static
static double QtCore.Qt.qFastSin ( double  x)
static
static string QtCore.Qt.qFlagLocation ( string  method)
static
static int QtCore.Qt.qFloor ( double  v)
static
static bool QtCore.Qt.qFuzzyCompare ( double  p1,
double  p2 
)
static
static bool QtCore.Qt.qFuzzyCompare ( float  p1,
float  p2 
)
static
static bool QtCore.Qt.qFuzzyIsNull ( double  d)
static
static bool QtCore.Qt.qFuzzyIsNull ( float  f)
static
static QByteArray QtCore.Qt.Qgetenv ( string  varName)
static
static uint QtCore.Qt.qHash ( QBitArray  key)
static
static uint QtCore.Qt.qHash ( QChar  key)
static
static uint QtCore.Qt.qHash ( QStringRef  key)
static
static uint QtCore.Qt.qHash ( QUrl  url)
static
static uint QtCore.Qt.qHash ( QPersistentModelIndex  index)
static
static uint QtCore.Qt.qHash ( QByteArray  key)
static
static uint QtCore.Qt.qHash ( QModelIndex  index)
static
static uint QtCore.Qt.qHash ( uint  key)
static
static uint QtCore.Qt.qHash ( sbyte  key)
static
static uint QtCore.Qt.qHash ( byte  key)
static
static uint QtCore.Qt.qHash ( short  key)
static
static uint QtCore.Qt.qHash ( NativeLong  key)
static
static uint QtCore.Qt.qHash ( ushort  key)
static
static uint QtCore.Qt.qHash ( long  key)
static
static uint QtCore.Qt.qHash ( ulong  key)
static
static uint QtCore.Qt.qHash ( int  key)
static
static uint QtCore.Qt.qHash ( string  key)
static
static uint QtCore.Qt.qHash ( NativeULong  key)
static
static double QtCore.Qt.qInf ( )
static
static Qt.ActionQtMsgTypeString QtCore.Qt.qInstallMsgHandler ( Qt.ActionQtMsgTypeString  arg1)
static
static int QtCore.Qt.qIntCast ( float  f)
static
static int QtCore.Qt.qIntCast ( double  f)
static
static bool QtCore.Qt.qIsFinite ( double  d)
static
static bool QtCore.Qt.qIsFinite ( float  f)
static
static bool QtCore.Qt.qIsInf ( float  f)
static
static bool QtCore.Qt.qIsInf ( double  d)
static
static bool QtCore.Qt.qIsNaN ( float  f)
static
static bool QtCore.Qt.qIsNaN ( double  d)
static
static bool QtCore.Qt.qIsNull ( float  f)
static
static bool QtCore.Qt.qIsNull ( double  d)
static
static double QtCore.Qt.qLn ( double  v)
static
static double QtCore.Qt.qPow ( double  x,
double  y 
)
static
static bool QtCore.Qt.Qputenv ( string  varName,
QByteArray  value 
)
static
static double QtCore.Qt.qQNaN ( )
static
static int QtCore.Qt.Qrand ( )
static
static void QtCore.Qt.qRegisterStaticPluginInstanceFunction ( Qt.FuncQObject  function)
static
static void QtCore.Qt.qRemovePostRoutine ( System.Action  arg1)
static
static int QtCore.Qt.qRound ( double  d)
static
static long QtCore.Qt.qRound64 ( double  d)
static
static bool QtCore.Qt.qSharedBuild ( )
static
static double QtCore.Qt.qSin ( double  v)
static
static double QtCore.Qt.qSNaN ( )
static
static double QtCore.Qt.qSqrt ( double  v)
static
static void QtCore.Qt.Qsrand ( uint  seed)
static
static int QtCore.Qt.Qstrcmp ( QByteArray  str1,
QByteArray  str2 
)
static
static int QtCore.Qt.Qstrcmp ( QByteArray  str1,
string  str2 
)
static
static int QtCore.Qt.Qstrcmp ( string  str1,
QByteArray  str2 
)
static
static int QtCore.Qt.Qstrcmp ( string  str1,
string  str2 
)
static
static Pointer<sbyte> QtCore.Qt.Qstrcpy ( Pointer< sbyte >  dst,
string  src 
)
static
static Pointer<sbyte> QtCore.Qt.Qstrdup ( string  arg1)
static
static int QtCore.Qt.Qstricmp ( string  arg1,
string  arg2 
)
static
static bool QtCore.Qt.qStringComparisonHelper ( QStringRef  s1,
string  s2 
)
static
static uint QtCore.Qt.Qstrlen ( string  str)
static
static int QtCore.Qt.Qstrncmp ( string  str1,
string  str2,
uint  len 
)
static
static Pointer<sbyte> QtCore.Qt.Qstrncpy ( Pointer< sbyte >  dst,
string  src,
uint  len 
)
static
static int QtCore.Qt.Qstrnicmp ( string  arg1,
string  arg2,
uint  len 
)
static
static uint QtCore.Qt.Qstrnlen ( string  str,
uint  maxlen 
)
static
static double QtCore.Qt.qTan ( double  v)
static
static string QtCore.Qt.QtTrId ( string  id,
int  n = -1 
)
static
static QByteArray QtCore.Qt.qUncompress ( QByteArray  data)
static
static QByteArray QtCore.Qt.qUncompress ( Pointer< byte >  data,
int  nbytes 
)
static
static string QtCore.Qt.qVersion ( )
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QEasingCurve  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QUuid  arg2 
)
static
static QTextStream QtCore.Qt.Read ( QTextStream  s,
Qt.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream in,
QRegExp  regExp 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  s,
object  p 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtCore.Qt.Read ( QDataStream in,
System.Collections.Generic.List< string >  list 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  s,
object  p 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QSizeF  arg2 
)
static
static QTextStream QtCore.Qt.Write ( QTextStream  s,
Qt.FuncQTextStreamQTextStream  f 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QPoint  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QLineF  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QPointF  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QChar  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QByteArray  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QEasingCurve  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QRectF  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QDateTime  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QUrl  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QTime  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QLocale  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QBitArray  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QUuid  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QLine  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QDate  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream out,
QRegExp  regExp 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QRect  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
QSize  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  s,
QVariant.Type  p 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream  arg1,
string  arg2 
)
static
static QDataStream QtCore.Qt.Write ( QDataStream out,
System.Collections.Generic.List< string >  list 
)
static