Compatibility Members for Qt
The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.
Qt class reference
Types
- enum BackgroundMode { FixedColor, FixedPixmap, NoBackground, PaletteForeground, PaletteButton, ..., X11ParentRelative }
- enum GUIStyle { WindowsStyle, MotifStyle, MacStyle, Win3Style, PMStyle }
- enum PaintUnit { PixelUnit, LoMetricUnit, HiMetricUnit, LoEnglishUnit, HiEnglishUnit, TwipsUnit }
- typedef ScaleMode
Type Documentation
enum Qt::BackgroundMode
| Qt::FixedColor | |
| Qt::FixedPixmap | |
| Qt::NoBackground | |
| Qt::PaletteForeground | |
| Qt::PaletteButton | |
| Qt::PaletteLight | |
| Qt::PaletteMidlight | |
| Qt::PaletteDark | |
| Qt::PaletteMid | |
| Qt::PaletteText | |
| Qt::PaletteBrightText | |
| Qt::PaletteBase | |
| Qt::PaletteBackground | |
| Qt::PaletteShadow | |
| Qt::PaletteHighlight | |
| Qt::PaletteHighlightedText | |
| Qt::PaletteButtonText | |
| Qt::PaletteLink | |
| Qt::PaletteLinkVisited | |
| Qt::X11ParentRelative | |
enum Qt::GUIStyle
| Qt::WindowsStyle | |
| Qt::MotifStyle | |
| Qt::MacStyle | |
| Qt::Win3Style | |
| Qt::PMStyle | |
enum Qt::PaintUnit
| Qt::PixelUnit | |
| Qt::LoMetricUnit | Obsolete |
| Qt::HiMetricUnit | Obsolete |
| Qt::LoEnglishUnit | Obsolete |
| Qt::HiEnglishUnit | Obsolete |
| Qt::TwipsUnit | Obsolete |
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 |