Qt 3 Support Members for QtThe 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
Constant | Value |
Qt::FixedColor | 0 |
Qt::FixedPixmap | 1 |
Qt::NoBackground | 2 |
Qt::PaletteForeground | 3 |
Qt::PaletteButton | 4 |
Qt::PaletteLight | 5 |
Qt::PaletteMidlight | 6 |
Qt::PaletteDark | 7 |
Qt::PaletteMid | 8 |
Qt::PaletteText | 9 |
Qt::PaletteBrightText | 10 |
Qt::PaletteBase | 11 |
Qt::PaletteBackground | 12 |
Qt::PaletteShadow | 13 |
Qt::PaletteHighlight | 14 |
Qt::PaletteHighlightedText | 15 |
Qt::PaletteButtonText | 16 |
Qt::PaletteLink | 17 |
Qt::PaletteLinkVisited | 18 |
Qt::X11ParentRelative | 19 |
typedef Qt::ButtonState
Use Qt::KeyboardModifier instead.
enum Qt::ButtonState_enum
Constant | Value |
Qt::ShiftButton | Qt::ShiftModifier |
Qt::ControlButton | Qt::ControlModifier |
Qt::AltButton | Qt::AltModifier |
Qt::MetaButton | Qt::MetaModifier |
Qt::Keypad | Qt::KeypadModifier |
Qt::KeyButtonMask | Qt::KeyboardModifierMask |
Use Qt::KeyboardModifier instead.
enum Qt::Dock
Each dock window can be in one of the following positions:
Constant | Value | Description |
Qt::DockUnmanaged | 0 | not managed by a Q3MainWindow. |
Qt::DockTornOff | 1 | the dock window floats as its own top level window which always stays on top of the main window. |
Qt::DockTop | 2 | above the central widget, below the menu bar. |
Qt::DockBottom | 3 | below the central widget, above the status bar. |
Qt::DockRight | 4 | to the right of the central widget. |
Qt::DockLeft | 5 | to the left of the central widget. |
Qt::DockMinimized | 6 | the dock window is not shown (this is effectively a 'hidden' dock area); the handles of all minimized dock windows are drawn in one row below the menu bar. |
enum Qt::GUIStyle
Constant | Value |
Qt::WindowsStyle | 1 |
Qt::MotifStyle | 4 |
Qt::MacStyle | 0 |
Qt::Win3Style | 2 |
Qt::PMStyle | 3 |
enum Qt::MacintoshVersion
See also QSysInfo::MacVersion.
enum Qt::PaintUnit
Constant | Value | Description |
Qt::PixelUnit | 0 | |
Qt::LoMetricUnit | 1 | Obsolete |
Qt::HiMetricUnit | 2 | Obsolete |
Qt::LoEnglishUnit | 3 | Obsolete |
Qt::HiEnglishUnit | 4 | Obsolete |
Qt::TwipsUnit | 5 | Obsolete |
typedef Qt::ScaleMode
Use Qt::AspectRatioMode instead.
The enum values have been renamed as follows:
typedef Qt::TextFlags
Use Qt::TextFlag instead.
typedef Qt::ToolBarDock
Use Qt::Dock instead.
enum Qt::WindowsVersion
Constant | Value |
Qt::WV_32s | QSysInfo::WV_32s |
Qt::WV_95 | QSysInfo::WV_95 |
Qt::WV_98 | QSysInfo::WV_98 |
Qt::WV_Me | QSysInfo::WV_Me |
Qt::WV_DOS_based | QSysInfo::WV_DOS_based |
Qt::WV_NT | QSysInfo::WV_NT |
Qt::WV_2000 | QSysInfo::WV_2000 |
Qt::WV_XP | QSysInfo::WV_XP |
Qt::WV_2003 | QSysInfo::WV_2003 |
Qt::WV_NT_based | QSysInfo::WV_NT_based |
Qt::WV_CE | QSysInfo::WV_CE |
Qt::WV_CENET | QSysInfo::WV_CENET |
Qt::WV_CE_based | QSysInfo::WV_CE_based |
Qt::WV_CE_5 | QSysInfo::WV_CE_5 |
Qt::WV_CE_6 | QSysInfo::WV_CE_6 |
|