casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Slots | Public Member Functions | Private Member Functions | Private Attributes
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

LogIteminsertItem
LogItemrootItem
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 
)

Member Function Documentation

void casa::LogModel::appendData ( const QString &  data)
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
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)
void casa::LogModel::writeData ( QTextStream &  os)

Member Data Documentation

int casa::LogModel::fontSize [private]

Definition at line 77 of file logmodel.qo.h.

Definition at line 74 of file logmodel.qo.h.

Definition at line 75 of file logmodel.qo.h.

QString casa::LogModel::searchKey [private]

Definition at line 76 of file logmodel.qo.h.


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