casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
casa::LogViewer Class Reference

#include <logviewer.qo.h>

Inheritance diagram for casa::LogViewer:

Public Member Functions

 LogViewer (QString logger=0, QWidget *parent=0)
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *e)
 
virtual void moveEvent (QMoveEvent *e)
 

Private Slots

void fileOpen ()
 
bool fileSave ()
 
bool fileSaveAs ()
 
void filePrint ()
 
void filePrintPdf ()
 
void fileChanged (const QString &)
 
void logOpen ()
 
void search ()
 
void findNext ()
 
void remove ()
 
void purge ()
 
void copy ()
 
void insert ()
 
void changeFilterText ()
 
void changeFilterColumn (int)
 
void doFilter ()
 
void refresh ()
 
void reload ()
 
void hide ()
 
void changeFont ()
 
void clicked (const QModelIndex &index)
 
virtual QSize sizeHint () const
 

Private Member Functions

void setupFileActions ()
 
void setupEditActions ()
 
void setupInsertActions ()
 
void updateMenus ()
 
bool load (const QString &f)
 
bool maybeSave ()
 

Private Attributes

QAction * actionOpen
 
QAction * actionSave
 
QAction * actionSaveAs
 
QAction * actionSearch
 
QAction * actionNext
 
QAction * actionFilter
 
QAction * actionInsert
 
QAction * actionCopy
 
QAction * actionDelete
 
QAction * actionDeleteAll
 
QAction * actionPrint
 
QAction * actionPdf
 
QAction * actionHideDate
 
QAction * actionHidePrio
 
QAction * actionHideFrom
 
QAction * actionWrite
 
QAction * actionRefresh
 
QAction * actionReload
 
QAction * actionLarge
 
QAction * actionSmall
 
QLineEdit * searchText
 
QLineEdit * insertText
 
QLineEdit * filterText
 
QComboBox * filterColumn
 
QToolBar * tb
 
QLabel * searchLabel
 
QLabel * filterLabel
 
QLabel * insertLabel
 
int currentColumn
 
QModelIndex currentLogRow
 
QString currentFilter
 
QString currentSearch
 
int nextRow
 
QString fileName
 
std::ifstream * logStream
 
QTreeView * logView
 
LogModellogModel
 
QSortFilterProxyModel * proxyModel
 
QFileSystemWatcher * logWatcher
 
qint64 logPos
 
bool canClose
 
QCheckBox * lockScroll
 
QMutex mutex
 

Detailed Description

Definition at line 66 of file logviewer.qo.h.

Constructor & Destructor Documentation

casa::LogViewer::LogViewer ( QString  logger = 0,
QWidget *  parent = 0 
)

Member Function Documentation

void casa::LogViewer::changeFilterColumn ( int  )
privateslot
void casa::LogViewer::changeFilterText ( )
privateslot
void casa::LogViewer::changeFont ( )
privateslot
void casa::LogViewer::clicked ( const QModelIndex &  index)
privateslot
virtual void casa::LogViewer::closeEvent ( QCloseEvent *  e)
protectedvirtual
void casa::LogViewer::copy ( )
privateslot
void casa::LogViewer::doFilter ( )
privateslot
void casa::LogViewer::fileChanged ( const QString &  )
privateslot
void casa::LogViewer::fileOpen ( )
privateslot
void casa::LogViewer::filePrint ( )
privateslot
void casa::LogViewer::filePrintPdf ( )
privateslot
bool casa::LogViewer::fileSave ( )
privateslot
bool casa::LogViewer::fileSaveAs ( )
privateslot
void casa::LogViewer::findNext ( )
privateslot
void casa::LogViewer::hide ( )
privateslot
void casa::LogViewer::insert ( )
privateslot
bool casa::LogViewer::load ( const QString &  f)
private
void casa::LogViewer::logOpen ( )
privateslot
bool casa::LogViewer::maybeSave ( )
private
virtual void casa::LogViewer::moveEvent ( QMoveEvent *  e)
protectedvirtual
void casa::LogViewer::purge ( )
privateslot
void casa::LogViewer::refresh ( )
privateslot
void casa::LogViewer::reload ( )
privateslot
void casa::LogViewer::remove ( )
privateslot
void casa::LogViewer::search ( )
privateslot
void casa::LogViewer::setupEditActions ( )
private
void casa::LogViewer::setupFileActions ( )
private
void casa::LogViewer::setupInsertActions ( )
private
virtual QSize casa::LogViewer::sizeHint ( ) const
privatevirtualslot
void casa::LogViewer::updateMenus ( )
private

Member Data Documentation

QAction * casa::LogViewer::actionCopy
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionDelete
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionDeleteAll
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionFilter
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionHideDate
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionHideFrom
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionHidePrio
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionInsert
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionLarge
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionNext
private

Definition at line 114 of file logviewer.qo.h.

QAction* casa::LogViewer::actionOpen
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionPdf
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionPrint
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionRefresh
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionReload
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionSave
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionSaveAs
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionSearch
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionSmall
private

Definition at line 114 of file logviewer.qo.h.

QAction * casa::LogViewer::actionWrite
private

Definition at line 114 of file logviewer.qo.h.

bool casa::LogViewer::canClose
private

Definition at line 165 of file logviewer.qo.h.

int casa::LogViewer::currentColumn
private

Definition at line 146 of file logviewer.qo.h.

QString casa::LogViewer::currentFilter
private

Definition at line 148 of file logviewer.qo.h.

QModelIndex casa::LogViewer::currentLogRow
private

Definition at line 147 of file logviewer.qo.h.

QString casa::LogViewer::currentSearch
private

Definition at line 149 of file logviewer.qo.h.

QString casa::LogViewer::fileName
private

Definition at line 152 of file logviewer.qo.h.

QComboBox* casa::LogViewer::filterColumn
private

Definition at line 139 of file logviewer.qo.h.

QLabel* casa::LogViewer::filterLabel
private

Definition at line 143 of file logviewer.qo.h.

QLineEdit * casa::LogViewer::filterText
private

Definition at line 135 of file logviewer.qo.h.

QLabel* casa::LogViewer::insertLabel
private

Definition at line 144 of file logviewer.qo.h.

QLineEdit * casa::LogViewer::insertText
private

Definition at line 135 of file logviewer.qo.h.

QCheckBox* casa::LogViewer::lockScroll
private

Definition at line 166 of file logviewer.qo.h.

LogModel* casa::LogViewer::logModel
private

Definition at line 161 of file logviewer.qo.h.

qint64 casa::LogViewer::logPos
private

Definition at line 164 of file logviewer.qo.h.

std::ifstream* casa::LogViewer::logStream
private

Definition at line 158 of file logviewer.qo.h.

QTreeView* casa::LogViewer::logView
private

Definition at line 160 of file logviewer.qo.h.

QFileSystemWatcher* casa::LogViewer::logWatcher
private

Definition at line 163 of file logviewer.qo.h.

QMutex casa::LogViewer::mutex
private

Definition at line 168 of file logviewer.qo.h.

int casa::LogViewer::nextRow
private

Definition at line 150 of file logviewer.qo.h.

QSortFilterProxyModel* casa::LogViewer::proxyModel
private

Definition at line 162 of file logviewer.qo.h.

QLabel* casa::LogViewer::searchLabel
private

Definition at line 142 of file logviewer.qo.h.

QLineEdit* casa::LogViewer::searchText
private

Definition at line 135 of file logviewer.qo.h.

QToolBar* casa::LogViewer::tb
private

Definition at line 141 of file logviewer.qo.h.


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