QTextOption::Tab Struct Reference

QTextOption::Tab Struct Reference

#include <qtextoption.h>

Class Description

Definition at line 69 of file qtextoption.h.

Public Member Functions

 Tab ()
 
 Tab (qreal pos, TabType tabType, QChar delim=QChar())
 
bool operator== (const Tab &other) const
 
bool operator!= (const Tab &other) const
 

Public Attributes

qreal position
 
TabType type
 
QChar delimiter
 

Constructor & Destructor Documentation

Tab ( )
inline

Definition at line 70 of file qtextoption.h.

Tab ( qreal  pos,
TabType  tabType,
QChar  delim = QChar() 
)
inline

Definition at line 71 of file qtextoption.h.

72  : position(pos), type(tabType), delimiter(delim) {}

Member Function Documentation

bool operator== ( const Tab other) const
inline

Definition at line 74 of file qtextoption.h.

74  {
75  return type == other.type
76  && qFuzzyCompare(position, other.position)
77  && delimiter == other.delimiter;
78  }
GLuint GLuint GLsizei GLenum type
Definition: GLee.h:872
bool qFuzzyCompare(const QMatrix &m1, const QMatrix &m2)
Definition: qmatrix.h:172
bool operator!= ( const Tab other) const
inline

Definition at line 80 of file qtextoption.h.

80  {
81  return !operator==(other);
82  }
bool operator==(const Tab &other) const
Definition: qtextoption.h:74

Member Data Documentation

qreal position

Definition at line 84 of file qtextoption.h.

Definition at line 85 of file qtextoption.h.

QChar delimiter

Definition at line 86 of file qtextoption.h.


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