Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CPVT_VariableText::Iterator Class Reference

#include <cpvt_variabletext.h>

+ Collaboration diagram for CPVT_VariableText::Iterator:

Public Member Functions

 Iterator (CPVT_VariableText *pVT)
 
 ~Iterator ()
 
bool NextWord ()
 
bool NextLine ()
 
bool GetWord (CPVT_Word &word) const
 
bool GetLine (CPVT_Line &line) const
 
void SetAt (int32_t nWordIndex)
 
void SetAt (const CPVT_WordPlace &place)
 
const CPVT_WordPlaceGetWordPlace () const
 

Detailed Description

Definition at line 32 of file cpvt_variabletext.h.

Constructor & Destructor Documentation

◆ Iterator()

CPVT_VariableText::Iterator::Iterator ( CPVT_VariableText * pVT)
explicit

Definition at line 81 of file cpvt_variabletext.cpp.

◆ ~Iterator()

CPVT_VariableText::Iterator::~Iterator ( )
default

Member Function Documentation

◆ GetLine()

bool CPVT_VariableText::Iterator::GetLine ( CPVT_Line & line) const

Definition at line 146 of file cpvt_variabletext.cpp.

References CPVT_WordPlace::CPVT_WordPlace(), CPVT_Line::fLineAscent, CPVT_LineInfo::fLineAscent, CPVT_Line::fLineDescent, CPVT_LineInfo::fLineDescent, CPVT_Line::fLineWidth, CPVT_LineInfo::fLineWidth, CPVT_Section::Line::GetEndWordPlace(), CPVT_Section::GetLineFromArray(), CPVT_Line::lineEnd, CPVT_Line::lineplace, CPVT_Section::Line::m_LineInfo, CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nSecIndex.

Referenced by CPWL_EditImpl::RefreshWordRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWord()

bool CPVT_VariableText::Iterator::GetWord ( CPVT_Word & word) const

Definition at line 120 of file cpvt_variabletext.cpp.

References CPVT_Section::GetLineFromArray(), CPVT_Section::GetWordFromArray(), CPVT_Word::nCharset, CPVT_WordInfo::nCharset, CPVT_Word::nFontIndex, CPVT_WordInfo::nFontIndex, CPVT_WordPlace::nLineIndex, CPVT_WordPlace::nWordIndex, CPVT_Word::Word, CPVT_WordInfo::Word, and CPVT_Word::WordPlace.

Referenced by CPWL_EditImpl::GetRangeText(), CPWL_EditImpl::GetText(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWordPlace()

const CPVT_WordPlace & CPVT_VariableText::Iterator::GetWordPlace ( ) const
inline

Definition at line 43 of file cpvt_variabletext.h.

Referenced by CPWL_EditImpl::GetRangeText(), CPWL_EditImpl::GetText(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the caller graph for this function:

◆ NextLine()

bool CPVT_VariableText::Iterator::NextLine ( )

Definition at line 103 of file cpvt_variabletext.cpp.

References CPVT_WordPlace::CPVT_WordPlace(), CPVT_Section::GetLineArraySize(), CPVT_WordPlace::nLineIndex, and CPVT_WordPlace::nSecIndex.

Referenced by CPWL_EditImpl::RefreshWordRange().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ NextWord()

bool CPVT_VariableText::Iterator::NextWord ( )

Definition at line 95 of file cpvt_variabletext.cpp.

Referenced by CPWL_EditImpl::GetRangeText(), CPWL_EditImpl::GetText(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the caller graph for this function:

◆ SetAt() [1/2]

void CPVT_VariableText::Iterator::SetAt ( const CPVT_WordPlace & place)

Definition at line 91 of file cpvt_variabletext.cpp.

Referenced by CPWL_EditImpl::GetRangeText(), and CPWL_EditImpl::RefreshWordRange().

+ Here is the caller graph for this function:

◆ SetAt() [2/2]

void CPVT_VariableText::Iterator::SetAt ( int32_t nWordIndex)

Definition at line 87 of file cpvt_variabletext.cpp.

Referenced by CPWL_EditImpl::GetText().

+ Here is the caller graph for this function:

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