Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQC2::QStyleOptionFrame Class Reference

#include <qquickstyleoption.h>

+ Inheritance diagram for QQC2::QStyleOptionFrame:
+ Collaboration diagram for QQC2::QStyleOptionFrame:

Public Types

enum  StyleOptionType { Type = SO_Frame }
 
enum  StyleOptionVersion { Version = 3 }
 
enum  FrameFeature { None = 0x00 , Flat = 0x01 , Rounded = 0x02 }
 
enum  Shape {
  NoFrame = 0 , Box = 0x0001 , Panel = 0x0002 , WinPanel = 0x0003 ,
  HLine = 0x0004 , VLine = 0x0005 , StyledPanel = 0x0006
}
 
enum  Shadow { Plain = 0x0010 , Raised = 0x0020 , Sunken = 0x0030 }
 
- 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_CustomBase = 0xf00 , SO_ComplexCustomBase = 0xf000000
}
 
enum  StyleOptionType { Type = SO_Default }
 
enum  StyleOptionVersion { Version = 1 }
 

Public Member Functions

 QStyleOptionFrame ()
 Constructs a QStyleOptionFrame, initializing the members variables to their default values.
 
 QStyleOptionFrame (const QStyleOptionFrame &other)
 
QStyleOptionFrameoperator= (const QStyleOptionFrame &)=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

int lineWidth
 
int midLineWidth
 
FrameFeatures features
 
Shape frameShape
 
- 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

 QStyleOptionFrame (int version)
 

Detailed Description

Definition at line 84 of file qquickstyleoption.h.

Member Enumeration Documentation

◆ FrameFeature

Enumerator
None 
Flat 
Rounded 

Definition at line 89 of file qquickstyleoption.h.

◆ Shadow

Enumerator
Plain 
Raised 
Sunken 

Definition at line 104 of file qquickstyleoption.h.

◆ Shape

Enumerator
NoFrame 
Box 
Panel 
WinPanel 
HLine 
VLine 
StyledPanel 

Definition at line 95 of file qquickstyleoption.h.

◆ StyleOptionType

Enumerator
Type 

Definition at line 87 of file qquickstyleoption.h.

◆ StyleOptionVersion

Enumerator
Version 

Definition at line 88 of file qquickstyleoption.h.

Constructor & Destructor Documentation

◆ QStyleOptionFrame() [1/3]

QStyleOptionFrame::QStyleOptionFrame ( )

Constructs a QStyleOptionFrame, initializing the members variables to their default values.

Definition at line 78 of file qquickstyleoption.cpp.

◆ QStyleOptionFrame() [2/3]

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

Definition at line 116 of file qquickstyleoption.h.

References other().

+ Here is the call graph for this function:

◆ QStyleOptionFrame() [3/3]

QStyleOptionFrame::QStyleOptionFrame ( int versionIn)
protected

Definition at line 87 of file qquickstyleoption.cpp.

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ features

FrameFeatures QQC2::QStyleOptionFrame::features

Definition at line 112 of file qquickstyleoption.h.

◆ frameShape

Shape QQC2::QStyleOptionFrame::frameShape

Definition at line 113 of file qquickstyleoption.h.

◆ lineWidth

int QQC2::QStyleOptionFrame::lineWidth

Definition at line 110 of file qquickstyleoption.h.

◆ midLineWidth

int QQC2::QStyleOptionFrame::midLineWidth

Definition at line 111 of file qquickstyleoption.h.


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