casa::LogModel Class Reference
#include <logmodel.qo.h>
List of all members.
Public Slots |
| void | searchKeyChanged (const QString &key="") |
Public Member Functions |
| | LogModel (const QString &data, QObject *parent=0) |
| | ~LogModel () |
| QVariant | data (const QModelIndex &index, int role) const |
| Qt::ItemFlags | flags (const QModelIndex &index) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &index) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| void | writeData (QTextStream &os) |
| QString | stringData () |
| QString | stringData (int row) |
| bool | insert (int, const QString &) |
| virtual bool | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| virtual bool | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) |
| void | appendData (const QString &data) |
| void | changeFont (int) |
| int | getFontSize () |
Private Member Functions |
| void | setupModelData (const QString &lines, LogItem *parent) |
Private Attributes |
| LogItem * | insertItem |
| LogItem * | rootItem |
| QString | searchKey |
| int | fontSize |
Detailed Description
Definition at line 42 of file logmodel.qo.h.
Constructor & Destructor Documentation
| casa::LogModel::LogModel |
( |
const QString & |
data, |
|
|
QObject * |
parent = 0 | |
|
) |
| | |
| casa::LogModel::~LogModel |
( |
|
) |
|
Member Function Documentation
| void casa::LogModel::appendData |
( |
const QString & |
data |
) |
|
| void casa::LogModel::changeFont |
( |
int |
|
) |
|
| int casa::LogModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() |
) |
const |
| QVariant casa::LogModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role | |
|
) |
| | const |
| Qt::ItemFlags casa::LogModel::flags |
( |
const QModelIndex & |
index |
) |
const |
| int casa::LogModel::getFontSize |
( |
|
) |
|
| QVariant casa::LogModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole | |
|
) |
| | const |
| QModelIndex casa::LogModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() | |
|
) |
| | const |
| bool casa::LogModel::insert |
( |
int |
, |
|
|
const QString & |
| |
|
) |
| | |
| virtual bool casa::LogModel::insertRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() | |
|
) |
| | [virtual] |
| QModelIndex casa::LogModel::parent |
( |
const QModelIndex & |
index |
) |
const |
| virtual bool casa::LogModel::removeRows |
( |
int |
row, |
|
|
int |
count, |
|
|
const QModelIndex & |
parent = QModelIndex() | |
|
) |
| | [virtual] |
| int casa::LogModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() |
) |
const |
| void casa::LogModel::searchKeyChanged |
( |
const QString & |
key = "" |
) |
[slot] |
| void casa::LogModel::setupModelData |
( |
const QString & |
lines, |
|
|
LogItem * |
parent | |
|
) |
| | [private] |
| QString casa::LogModel::stringData |
( |
int |
row |
) |
|
| QString casa::LogModel::stringData |
( |
|
) |
|
| void casa::LogModel::writeData |
( |
QTextStream & |
os |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: