KD Reports API Documentation  2.2
Public Types | Public Member Functions | Public Attributes | List of all members
KDReports::ElementData Struct Reference

#include <KDReportsElementData_p.h>

Public Types

enum  Type { Inline , Block , Variable , VerticalSpacing }
 

Public Member Functions

 ElementData (const ElementData &other)
 
 ElementData (Element *elem)
 
 ElementData (Element *elem, Qt::AlignmentFlag a)
 
 ElementData (KDReports::VariableType variable)
 
 ElementData (Type type, qreal value)
 
 ~ElementData ()
 
ElementDataoperator= (const ElementData &other)
 

Public Attributes

union {
   Qt::AlignmentFlag   m_align
 
   qreal   m_value
 
   KDReports::VariableType   m_variableType
 
}; 
 
Elementm_element
 
Type m_type: 3
 

Detailed Description

Definition at line 35 of file KDReportsElementData_p.h.

Member Enumeration Documentation

◆ Type

Enumerator
Inline 
Block 
Variable 
VerticalSpacing 

Definition at line 37 of file KDReportsElementData_p.h.

Constructor & Destructor Documentation

◆ ElementData() [1/5]

KDReports::ElementData::ElementData ( Element elem)
inline

Definition at line 45 of file KDReportsElementData_p.h.

◆ ElementData() [2/5]

KDReports::ElementData::ElementData ( Element elem,
Qt::AlignmentFlag  a 
)
inline

Definition at line 51 of file KDReportsElementData_p.h.

◆ ElementData() [3/5]

KDReports::ElementData::ElementData ( KDReports::VariableType  variable)
inline

Definition at line 58 of file KDReportsElementData_p.h.

◆ ElementData() [4/5]

KDReports::ElementData::ElementData ( Type  type,
qreal  value 
)
inline

Definition at line 65 of file KDReportsElementData_p.h.

◆ ElementData() [5/5]

KDReports::ElementData::ElementData ( const ElementData other)
inline

Definition at line 73 of file KDReportsElementData_p.h.

References operator=().

◆ ~ElementData()

KDReports::ElementData::~ElementData ( )
inline

Definition at line 96 of file KDReportsElementData_p.h.

References m_element.

Member Function Documentation

◆ operator=()

ElementData& KDReports::ElementData::operator= ( const ElementData other)
inline

Member Data Documentation

◆ 

union { ... }

◆ m_align

Qt::AlignmentFlag KDReports::ElementData::m_align

◆ m_element

Element* KDReports::ElementData::m_element

◆ m_type

Type KDReports::ElementData::m_type

◆ m_value

qreal KDReports::ElementData::m_value

◆ m_variableType

KDReports::VariableType KDReports::ElementData::m_variableType

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

© Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-reports/
Generated by doxygen 1.9.1