casa
$Rev:20696$
|
#include <logmodel.qo.h>
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 |
Definition at line 42 of file logmodel.qo.h.
casa::LogModel::LogModel | ( | const QString & | data, |
QObject * | parent = 0 |
||
) |
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 | ( | ) |
QString casa::LogModel::stringData | ( | int | row | ) |
void casa::LogModel::writeData | ( | QTextStream & | os | ) |
int casa::LogModel::fontSize [private] |
Definition at line 77 of file logmodel.qo.h.
LogItem* casa::LogModel::insertItem [private] |
Definition at line 74 of file logmodel.qo.h.
LogItem* casa::LogModel::rootItem [private] |
Definition at line 75 of file logmodel.qo.h.
QString casa::LogModel::searchKey [private] |
Definition at line 76 of file logmodel.qo.h.