
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQStyleOptionFrameV3 class is used to describe the parameters necessary for drawing a frame in Qt 4.1 or above.More...
| Header: | #include <QStyleOptionFrameV3> |
| Since: | Qt 4.5 |
| Inherits: | QStyleOptionFrameV2 |
| enum | StyleOptionVersion { Version } |
| QStyleOptionFrameV3() | |
| QStyleOptionFrameV3(const QStyleOptionFrameV3 & other) | |
| QStyleOptionFrameV3(const QStyleOptionFrame & other) | |
| QStyleOptionFrameV3 & | operator=(const QStyleOptionFrame & other) |
| QFrame::Shape | frameShape:4 |
TheQStyleOptionFrameV3 class is used to describe the parameters necessary for drawing a frame in Qt 4.1 or above.
QStyleOptionFrameV3 inheritsQStyleOptionFrameV2
An instance of theQStyleOptionFrameV3 class hastypeSO_Frame andversion 3. The type is used internally byQStyleOption, its subclasses, andqstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your ownQStyleOption subclass and your own styles. The version is used byQStyleOption subclasses to implement extensions without breaking compatibility. If you useqstyleoption_cast(), you normally do not need to check it.
See alsoQStyleOptionFrameV2 andQStyleOption.
This enum is used to hold information about the version of the style option, and is defined for eachQStyleOption subclass.
| Constant | Value | Description |
|---|---|---|
QStyleOptionFrameV3::Version | 3 | 3 |
The version is used byQStyleOption subclasses to implement extensions without breaking compatibility. If you useqstyleoption_cast(), you normally do not need to check it.
See alsoStyleOptionType.
Constructs aQStyleOptionFrameV3 object.
Constructs aQStyleOptionFrameV3 copy of theother style option.
Constructs aQStyleOptionFrameV3 copy of theother style option which can be either of theQStyleOptionFrameV3 orQStyleOptionFrame types.
If theother style option's version is 1, the new style option'sFrameFeature value is set toQStyleOptionFrameV2::None. If its version is 2 or lower,QStyleOptionFrameV3::frameShape value isQFrame::NoFrame
See alsoversion.
Assigns theother style option to this style option. Theother style option can be either of theQStyleOptionFrameV3,QStyleOptionFrameV2 orQStyleOptionFrame types.
If theother style option's version is 1, the new style option'sFrameFeature value is set toQStyleOptionFrameV2::None. If its version is 2 or lower,QStyleOptionFrameV3::frameShape value isQFrame::NoFrame
This variable holds this property holds the frame shape value of the frame.
See alsoQFrame::frameShape.
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.