Qt Reference Documentation

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

enum BackgroundMode { FixedColor, FixedPixmap, NoBackground, PaletteForeground, ..., X11ParentRelative }
typedef ButtonState
enum ButtonState_enum { ShiftButton, ControlButton, AltButton, MetaButton, Keypad, KeyButtonMask }
enum Dock { DockUnmanaged, DockTornOff, DockTop, DockBottom, ..., DockMinimized }
enum GUIStyle { WindowsStyle, MotifStyle, MacStyle, Win3Style, PMStyle }
enum MacintoshVersion { MV_Unknown, MV_9, MV_10_DOT_0, MV_10_DOT_1, ..., MV_TIGER }
enum PaintUnit { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }
typedef ScaleMode
typedef TextFlags
typedef ToolBarDock
enum WindowsVersion { WV_32s, WV_95, WV_98, WV_Me, ..., WV_CE_6 }

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 value

New enum value

Qt::ScaleFree

Qt::IgnoreAspectRatio

Qt::ScaleMin

Qt::KeepAspectRatio

Qt::ScaleMax

Qt::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
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.