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
EdgeData Struct Reference
+ Collaboration diagram for EdgeData:

Public Types

enum  EdgeClass {
  ClassInvalid , ClassNone , ClassGrid , ClassTableBorder ,
  ClassExplicit
}
 

Public Member Functions

 EdgeData (qreal width, const QTextTableCell &cell, QCss::Edge edge, EdgeClass edgeClass)
 
 EdgeData ()
 
bool operator< (const EdgeData &other) const
 
bool operator> (const EdgeData &other) const
 

Public Attributes

qreal width
 
QTextTableCell cell
 
QCss::Edge edge
 
EdgeClass edgeClass
 

Detailed Description

Definition at line 127 of file qtextdocumentlayout.cpp.

Member Enumeration Documentation

◆ EdgeClass

Enumerator
ClassInvalid 
ClassNone 
ClassGrid 
ClassTableBorder 
ClassExplicit 

Definition at line 129 of file qtextdocumentlayout.cpp.

Constructor & Destructor Documentation

◆ EdgeData() [1/2]

EdgeData::EdgeData ( qreal width,
const QTextTableCell & cell,
QCss::Edge edge,
EdgeClass edgeClass )
inline

Definition at line 138 of file qtextdocumentlayout.cpp.

◆ EdgeData() [2/2]

EdgeData::EdgeData ( )
inline

Definition at line 140 of file qtextdocumentlayout.cpp.

Member Function Documentation

◆ operator<()

bool EdgeData::operator< ( const EdgeData & other) const
inline

Definition at line 144 of file qtextdocumentlayout.cpp.

References QCss::BottomEdge, edge, edgeClass, QCss::LeftEdge, other(), QCss::RightEdge, and QCss::TopEdge.

+ Here is the call graph for this function:

◆ operator>()

bool EdgeData::operator> ( const EdgeData & other) const
inline

Definition at line 154 of file qtextdocumentlayout.cpp.

References other().

+ Here is the call graph for this function:

Member Data Documentation

◆ cell

QTextTableCell EdgeData::cell

Definition at line 159 of file qtextdocumentlayout.cpp.

Referenced by drawCellBorder().

◆ edge

QCss::Edge EdgeData::edge

◆ edgeClass

EdgeClass EdgeData::edgeClass

Definition at line 161 of file qtextdocumentlayout.cpp.

Referenced by drawCellBorder(), and operator<().

◆ width

qreal EdgeData::width

Definition at line 158 of file qtextdocumentlayout.cpp.

Referenced by checkJoinedEdge(), and drawCellBorder().


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