Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QStyleOptionFrameV3 Class

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

Public Types

enumStyleOptionVersion { Version }

Public Functions

QStyleOptionFrameV3()
QStyleOptionFrameV3(const QStyleOptionFrameV3 & other)
QStyleOptionFrameV3(const QStyleOptionFrame & other)
QStyleOptionFrameV3 &operator=(const QStyleOptionFrame & other)

Public Variables

QFrame::ShapeframeShape:4

Detailed Description

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.

Member Type Documentation

enum QStyleOptionFrameV3::StyleOptionVersion

This enum is used to hold information about the version of the style option, and is defined for eachQStyleOption subclass.

ConstantValueDescription
QStyleOptionFrameV3::Version33

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.

Member Function Documentation

QStyleOptionFrameV3::QStyleOptionFrameV3()

Constructs aQStyleOptionFrameV3 object.

QStyleOptionFrameV3::QStyleOptionFrameV3(constQStyleOptionFrameV3 & other)

Constructs aQStyleOptionFrameV3 copy of theother style option.

QStyleOptionFrameV3::QStyleOptionFrameV3(constQStyleOptionFrame & other)

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.

QStyleOptionFrameV3 & QStyleOptionFrameV3::operator=(constQStyleOptionFrame & other)

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

Member Variable Documentation

QFrame::Shape QStyleOptionFrameV3::frameShape:4

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.


[8]ページ先頭

©2009-2025 Movatter.jp