Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cpvt_variabletext.h>
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_WordPlace & | GetWordPlace () const |
Definition at line 32 of file cpvt_variabletext.h.
|
explicit |
Definition at line 81 of file cpvt_variabletext.cpp.
|
default |
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().
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().
|
inline |
Definition at line 43 of file cpvt_variabletext.h.
Referenced by CPWL_EditImpl::GetRangeText(), CPWL_EditImpl::GetText(), and CPWL_EditImpl::RefreshWordRange().
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().
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().
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().
void CPVT_VariableText::Iterator::SetAt | ( | int32_t | nWordIndex | ) |
Definition at line 87 of file cpvt_variabletext.cpp.
Referenced by CPWL_EditImpl::GetText().