QStyleOptionGraphicsItem Class Reference

#include <qstyleoption.h>

Class Description

Definition at line 867 of file qstyleoption.h.

+ Inheritance diagram for QStyleOptionGraphicsItem:

Public Types

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

Public Member Functions

 QStyleOptionGraphicsItem ()
 
 QStyleOptionGraphicsItem (const QStyleOptionGraphicsItem &other)
 
- Public Member Functions inherited from QStyleOption
 QStyleOption (int version=QStyleOption::Version, int type=SO_Default)
 
 QStyleOption (const QStyleOption &other)
 
 ~QStyleOption ()
 
void init (const QWidget *w)
 
void initFrom (const QWidget *w)
 
QStyleOptionoperator= (const QStyleOption &other)
 

Static Public Member Functions

static qreal levelOfDetailFromTransform (const QTransform &worldTransform)
 

Public Attributes

QRectF exposedRect
 
QMatrix matrix
 
qreal levelOfDetail
 
- Public Attributes inherited from QStyleOption
int version
 
int type
 
QStyle::State state
 
Qt::LayoutDirection direction
 
QRect rect
 
QFontMetrics fontMetrics
 
QPalette palette
 

Protected Member Functions

 QStyleOptionGraphicsItem (int version)
 

Member Enumeration Documentation

Enumerator
Version 

Definition at line 871 of file qstyleoption.h.

Constructor & Destructor Documentation

Definition at line 878 of file qstyleoption.h.

878 : QStyleOption(Version, Type) { *this = other; }
QStyleOption(int version=QStyleOption::Version, int type=SO_Default)
QStyleOptionGraphicsItem ( int  version)
protected

Member Function Documentation

static qreal levelOfDetailFromTransform ( const QTransform worldTransform)
static

Member Data Documentation

QRectF exposedRect

Definition at line 873 of file qstyleoption.h.

Definition at line 874 of file qstyleoption.h.

qreal levelOfDetail

Definition at line 875 of file qstyleoption.h.


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