Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQC2::QStyleOptionRubberBand Class Reference

#include <qquickstyleoption.h>

Inheritance diagram for QQC2::QStyleOptionRubberBand:
Collaboration diagram for QQC2::QStyleOptionRubberBand:

Public Types

enum  StyleOptionType { Type = SO_RubberBand }
enum  StyleOptionVersion { Version = 1 }
enum  Shape { Line , Rectangle }
Public Types inherited from QQC2::QStyleOption
enum  OptionType {
  SO_Default , SO_FocusRect , SO_Button , SO_Tab ,
  SO_MenuItem , SO_Frame , SO_ProgressBar , SO_ToolBox ,
  SO_Header , SO_DockWidget , SO_ViewItem , SO_TabWidgetFrame ,
  SO_TabBarBase , SO_RubberBand , SO_ToolBar , SO_GraphicsItem ,
  SO_Complex = 0xf0000 , SO_Slider , SO_SpinBox , SO_ToolButton ,
  SO_ComboBox , SO_TitleBar , SO_GroupBox , SO_SizeGrip ,
  SO_SearchField , SO_CustomBase = 0xf00 , SO_ComplexCustomBase = 0xf000000
}
enum  StyleOptionType { Type = SO_Default }
enum  StyleOptionVersion { Version = 1 }

Public Member Functions

 QStyleOptionRubberBand ()
 Creates a QStyleOptionRubberBand, initializing the members variables to their default values.
 QStyleOptionRubberBand (const QStyleOptionRubberBand &other)
QStyleOptionRubberBandoperator= (const QStyleOptionRubberBand &)=default
Public Member Functions inherited from QQC2::QStyleOption
 QStyleOption (int version=QStyleOption::Version, int type=SO_Default)
 QStyleOption (const QStyleOption &other)
 Constructs a copy of other.
 ~QStyleOption ()
 Destroys this style option object.
QStyleOptionoperator= (const QStyleOption &other)
 Assign other to this QStyleOption.

Public Attributes

bool opaque
Shape shape
Public Attributes inherited from QQC2::QStyleOption
int version
int type
QStyle::State state
Qt::LayoutDirection direction
QRect rect
QFontMetrics fontMetrics
QPalette palette
QObjectstyleObject
QQuickItemcontrol
QWindowwindow

Protected Member Functions

 QStyleOptionRubberBand (int version)

Detailed Description

Definition at line 464 of file qquickstyleoption.h.

Member Enumeration Documentation

◆ Shape

Enumerator
Line 
Rectangle 

Definition at line 469 of file qquickstyleoption.h.

◆ StyleOptionType

Enumerator
Type 

Definition at line 467 of file qquickstyleoption.h.

◆ StyleOptionVersion

Enumerator
Version 

Definition at line 468 of file qquickstyleoption.h.

Constructor & Destructor Documentation

◆ QStyleOptionRubberBand() [1/3]

QQC2::QStyleOptionRubberBand::QStyleOptionRubberBand ( )

Creates a QStyleOptionRubberBand, initializing the members variables to their default values.

Definition at line 379 of file qquickstyleoption.cpp.

References QQC2::QStyleOption::QStyleOption(), Line, opaque, shape, QQC2::QStyleOption::SO_RubberBand, and Version.

Here is the call graph for this function:

◆ QStyleOptionRubberBand() [2/3]

QQC2::QStyleOptionRubberBand::QStyleOptionRubberBand ( const QStyleOptionRubberBand & other)
inline

Definition at line 475 of file qquickstyleoption.h.

References QQC2::QStyleOption::QStyleOption(), operator=(), Type, and Version.

Here is the call graph for this function:

◆ QStyleOptionRubberBand() [3/3]

QQC2::QStyleOptionRubberBand::QStyleOptionRubberBand ( int version)
protected

Definition at line 384 of file qquickstyleoption.cpp.

References QQC2::QStyleOption::QStyleOption(), opaque, and QQC2::QStyleOption::SO_RubberBand.

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

QStyleOptionRubberBand & QQC2::QStyleOptionRubberBand::operator= ( const QStyleOptionRubberBand & )
default

Referenced by QStyleOptionRubberBand().

Here is the caller graph for this function:

Member Data Documentation

◆ opaque

bool QQC2::QStyleOptionRubberBand::opaque

Definition at line 471 of file qquickstyleoption.h.

Referenced by QStyleOptionRubberBand(), and QStyleOptionRubberBand().

◆ shape

Shape QQC2::QStyleOptionRubberBand::shape

The documentation for this class was generated from the following files: