CopperSpice API  1.7.2
QTextOption::Tab Class Reference

Structure which represents a tab stop. More...

Public Methods

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

Detailed Description

Each tab definition is represented by this structure.

Constructor & Destructor Documentation

QTextOption::Tab::Tab ( )
inline

Creates a default left tab with position 80.

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

Creates a tab with the given position, tab type, and delimiter (pos, tabType, delim).

Note
delim is only used when tabType is DelimiterTab.

Method Documentation

bool QTextOption::Tab::operator!= ( const Tab &  other) const
inline

Returns true if tab other is not equal to this tab, otherwise returns false.

bool QTextOption::Tab::operator== ( const Tab &  other) const
inline

Returns true if tab other is equal to this tab, otherwise returns false.