Home · All Namespaces · All Classes · Main Classes · Grouped Classes · Modules · Functions

Qt 3 Support Members for Qt

The following class members are part of the Qt 3 support layer. They are provided to help you port old code to Qt 4. We advise against using them in new code.

Types


Type Documentation

enum Qt::BackgroundMode

ConstantValue
Qt::FixedColor0
Qt::FixedPixmap1
Qt::NoBackground2
Qt::PaletteForeground3
Qt::PaletteButton4
Qt::PaletteLight5
Qt::PaletteMidlight6
Qt::PaletteDark7
Qt::PaletteMid8
Qt::PaletteText9
Qt::PaletteBrightText10
Qt::PaletteBase11
Qt::PaletteBackground12
Qt::PaletteShadow13
Qt::PaletteHighlight14
Qt::PaletteHighlightedText15
Qt::PaletteButtonText16
Qt::PaletteLink17
Qt::PaletteLinkVisited18
Qt::X11ParentRelative19

typedef Qt::ButtonState

Use Qt::KeyboardModifier instead.

enum Qt::ButtonState_enum

ConstantValue
Qt::ShiftButtonQt::ShiftModifier
Qt::ControlButtonQt::ControlModifier
Qt::AltButtonQt::AltModifier
Qt::MetaButtonQt::MetaModifier
Qt::KeypadQt::KeypadModifier
Qt::KeyButtonMaskQt::KeyboardModifierMask

Use Qt::KeyboardModifier instead.

enum Qt::Dock

Each dock window can be in one of the following positions:

ConstantValueDescription
Qt::DockUnmanaged0not managed by a Q3MainWindow.
Qt::DockTornOff1the dock window floats as its own top level window which always stays on top of the main window.
Qt::DockTop2above the central widget, below the menu bar.
Qt::DockBottom3below the central widget, above the status bar.
Qt::DockRight4to the right of the central widget.
Qt::DockLeft5to the left of the central widget.
Qt::DockMinimized6the dock window is not shown (this is effectively a 'hidden' dock area); the handles of all minimized dock windows are drawn in one row below the menu bar.

enum Qt::GUIStyle

ConstantValue
Qt::WindowsStyle1
Qt::MotifStyle4
Qt::MacStyle0
Qt::Win3Style2
Qt::PMStyle3

enum Qt::MacintoshVersion

ConstantValueDescription
Qt::MV_Unknown0x0000Use QSysInfo::MV_Unknown instead.
Qt::MV_9QSysInfo::MV_9Use QSysInfo::MV_9 instead.
Qt::MV_10_DOT_0QSysInfo::MV_10_0Use QSysInfo::MV_10_0 instead.
Qt::MV_10_DOT_1QSysInfo::MV_10_1Use QSysInfo::MV_10_1 instead.
Qt::MV_10_DOT_2QSysInfo::MV_10_2Use QSysInfo::MV_10_2 instead.
Qt::MV_10_DOT_3QSysInfo::MV_10_3Use QSysInfo::MV_10_3 instead.
Qt::MV_10_DOT_4QSysInfo::MV_10_4Use QSysInfo::MV_10_4 instead.
Qt::MV_CHEETAHQSysInfo::MV_CHEETAHUse QSysInfo::MV_10_0 instead.
Qt::MV_PUMAQSysInfo::MV_PUMAUse QSysInfo::MV_10_1 instead.
Qt::MV_JAGUARQSysInfo::MV_JAGUARUse QSysInfo::MV_10_2 instead.
Qt::MV_PANTHERQSysInfo::MV_PANTHERUse QSysInfo::MV_10_3 instead.
Qt::MV_TIGERQSysInfo::MV_TIGERUse QSysInfo::MV_10_4 instead.

See also QSysInfo::MacVersion.

enum Qt::PaintUnit

ConstantValueDescription
Qt::PixelUnit0 
Qt::LoMetricUnit1Obsolete
Qt::HiMetricUnit2Obsolete
Qt::LoEnglishUnit3Obsolete
Qt::HiEnglishUnit4Obsolete
Qt::TwipsUnit5Obsolete

typedef Qt::ScaleMode

Use Qt::AspectRatioMode instead.

The enum values have been renamed as follows:

Old enum valueNew enum value
Qt::ScaleFreeQt::IgnoreAspectRatio
Qt::ScaleMinQt::KeepAspectRatio
Qt::ScaleMaxQt::KeepAspectRatioByExpanding

typedef Qt::TextFlags

Use Qt::TextFlag instead.

typedef Qt::ToolBarDock

Use Qt::Dock instead.

enum Qt::WindowsVersion

ConstantValue
Qt::WV_32sQSysInfo::WV_32s
Qt::WV_95QSysInfo::WV_95
Qt::WV_98QSysInfo::WV_98
Qt::WV_MeQSysInfo::WV_Me
Qt::WV_DOS_basedQSysInfo::WV_DOS_based
Qt::WV_NTQSysInfo::WV_NT
Qt::WV_2000QSysInfo::WV_2000
Qt::WV_XPQSysInfo::WV_XP
Qt::WV_2003QSysInfo::WV_2003
Qt::WV_NT_basedQSysInfo::WV_NT_based
Qt::WV_CEQSysInfo::WV_CE
Qt::WV_CENETQSysInfo::WV_CENET
Qt::WV_CE_basedQSysInfo::WV_CE_based
Qt::WV_CE_5QSysInfo::WV_CE_5
Qt::WV_CE_6QSysInfo::WV_CE_6


Copyright © 2008 Nokia Trademarks
Qt 4.4.3