|
WSF
|
#include <TextLocationItemModel.hpp>
Inherits QAbstractTableModel.

Public Slots | |
| void | SourceCleanupEligibility (QSet< TextSource * > &aEligibleSources) |
| void | ProjectClosed (Project *) |
Public Member Functions | |
| TextLocationItemModel (const std::vector< UtTextDocumentAutoUpdateRange > &aLocationList) | |
| TextLocationItemModel (const std::vector< UtTextDocumentRange > &aLocationList) | |
| int | rowCount (const QModelIndex &parent) const override |
| int | columnCount (const QModelIndex &parent) const override |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const override |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override |
| const std::vector< UtTextDocumentAutoUpdateRange > & | GetLocations () const |
Public Attributes | |
| ItemTranslateTextRange | mTextRangeToItem |
| bool | mShowText |
| When 'true', the model contains a second column containing the line text. | |
Protected Attributes | |
| std::vector< UtTextDocumentAutoUpdateRange > | mLocations |
A model containing a list of UtTextDocumentRange's Provides the first column as the file/line location Optionally, provides the second column as the line text
|
explicit |
|
explicit |
|
inlineoverride |
References mShowText.
|
override |
References mLocations, mShowText, and mTextRangeToItem.
| const std::vector< UtTextDocumentAutoUpdateRange > & wizard::TextLocationItemModel::GetLocations | ( | ) | const |
References mLocations.
|
override |
|
slot |
References mLocations.
Referenced by TextLocationItemModel(), and TextLocationItemModel().
|
inlineoverride |
References mLocations.
|
slot |
References mLocations.
Referenced by TextLocationItemModel(), and TextLocationItemModel().
|
protected |
Referenced by data(), GetLocations(), ProjectClosed(), rowCount(), SourceCleanupEligibility(), TextLocationItemModel(), and TextLocationItemModel().
| bool wizard::TextLocationItemModel::mShowText |
When 'true', the model contains a second column containing the line text.
Referenced by columnCount(), data(), TextLocationItemModel(), and TextLocationItemModel().
| ItemTranslateTextRange wizard::TextLocationItemModel::mTextRangeToItem |
Referenced by data().