Public Slots | Signals | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
swri_console::ConsoleWindow Class Reference

#include <console_window.h>

Inheritance diagram for swri_console::ConsoleWindow:
Inheritance graph
[legend]

Public Slots

void clearAll ()
 
void clearMessages ()
 
void connected (bool)
 
void copyExtendedLogs ()
 
void copyLogs ()
 
void excludeFilterUpdated (const QString &)
 
void includeFilterUpdated (const QString &)
 
void messagesAdded ()
 
void nextIndex ()
 
void nodeSelectionChanged ()
 
void prevIndex ()
 
void saveLogs ()
 
void searchIndex ()
 
void selectAllLogs ()
 
void setDebugColor ()
 
void setErrorColor ()
 
void setFatalColor ()
 
void setFollowNewest (bool)
 
void setFont (const QFont &font)
 
void setInfoColor ()
 
void setSeverityFilter ()
 
void setWarnColor ()
 
void showLogContextMenu (const QPoint &point)
 
void toggleAlternateRowColors (bool)
 
void updateExcludeLabel ()
 
void updateIncludeLabel ()
 
void userScrolled (int)
 

Signals

void createNewWindow ()
 
void readBagFile ()
 
void readLogDirectory ()
 
void readLogFile ()
 
void selectFont ()
 

Public Member Functions

void closeEvent (QCloseEvent *event)
 
 ConsoleWindow (LogDatabase *db)
 
 ~ConsoleWindow ()
 

Private Types

enum  function { NEXT, PREV, SEARCH }
 

Private Member Functions

void chooseButtonColor (QPushButton *widget)
 
QColor getButtonColor (const QPushButton *button) const
 
template<typename T >
void loadBooleanSetting (const QString &key, T *element)
 
void loadColorButtonSetting (const QString &key, QPushButton *button)
 
void loadSettings ()
 
void updateButtonColor (QPushButton *widget, const QColor &color)
 
void updateCurrentIndex (function sF)
 

Private Attributes

LogDatabasedb_
 
LogDatabaseProxyModeldb_proxy_
 
NodeClickHandlernode_click_handler_
 
NodeListModelnode_list_model_
 
function searchFunction_
 
Ui::ConsoleWindow ui
 

Detailed Description

Definition at line 47 of file console_window.h.

Member Enumeration Documentation

Enumerator
NEXT 
PREV 
SEARCH 

Definition at line 97 of file console_window.h.

Constructor & Destructor Documentation

swri_console::ConsoleWindow::ConsoleWindow ( LogDatabase db)

Definition at line 60 of file console_window.cpp.

swri_console::ConsoleWindow::~ConsoleWindow ( )

Definition at line 201 of file console_window.cpp.

Member Function Documentation

void swri_console::ConsoleWindow::chooseButtonColor ( QPushButton *  widget)
private

Definition at line 530 of file console_window.cpp.

void swri_console::ConsoleWindow::clearAll ( )
slot

Definition at line 206 of file console_window.cpp.

void swri_console::ConsoleWindow::clearMessages ( )
slot

Definition at line 213 of file console_window.cpp.

void swri_console::ConsoleWindow::closeEvent ( QCloseEvent *  event)

Definition at line 242 of file console_window.cpp.

void swri_console::ConsoleWindow::connected ( bool  connected)
slot

Definition at line 231 of file console_window.cpp.

void swri_console::ConsoleWindow::copyExtendedLogs ( )
slot

Definition at line 364 of file console_window.cpp.

void swri_console::ConsoleWindow::copyLogs ( )
slot

Definition at line 354 of file console_window.cpp.

void swri_console::ConsoleWindow::createNewWindow ( )
signal
void swri_console::ConsoleWindow::excludeFilterUpdated ( const QString &  text)
slot

Definition at line 398 of file console_window.cpp.

QColor swri_console::ConsoleWindow::getButtonColor ( const QPushButton *  button) const
private

Definition at line 539 of file console_window.cpp.

void swri_console::ConsoleWindow::includeFilterUpdated ( const QString &  text)
slot

Definition at line 380 of file console_window.cpp.

template<typename T >
void swri_console::ConsoleWindow::loadBooleanSetting ( const QString &  key,
T *  element 
)
inlineprivate

Definition at line 105 of file console_window.h.

void swri_console::ConsoleWindow::loadColorButtonSetting ( const QString &  key,
QPushButton *  button 
)
private

Definition at line 579 of file console_window.cpp.

void swri_console::ConsoleWindow::loadSettings ( )
private

Definition at line 612 of file console_window.cpp.

void swri_console::ConsoleWindow::messagesAdded ( )
slot

Definition at line 300 of file console_window.cpp.

void swri_console::ConsoleWindow::nextIndex ( )
slot

Definition at line 427 of file console_window.cpp.

void swri_console::ConsoleWindow::nodeSelectionChanged ( )
slot

Definition at line 247 of file console_window.cpp.

void swri_console::ConsoleWindow::prevIndex ( )
slot

Definition at line 422 of file console_window.cpp.

void swri_console::ConsoleWindow::readBagFile ( )
signal
void swri_console::ConsoleWindow::readLogDirectory ( )
signal
void swri_console::ConsoleWindow::readLogFile ( )
signal
void swri_console::ConsoleWindow::saveLogs ( )
slot

Definition at line 219 of file console_window.cpp.

void swri_console::ConsoleWindow::searchIndex ( )
slot

Definition at line 417 of file console_window.cpp.

void swri_console::ConsoleWindow::selectAllLogs ( )
slot

Definition at line 345 of file console_window.cpp.

void swri_console::ConsoleWindow::selectFont ( )
signal
void swri_console::ConsoleWindow::setDebugColor ( )
slot

Definition at line 505 of file console_window.cpp.

void swri_console::ConsoleWindow::setErrorColor ( )
slot

Definition at line 520 of file console_window.cpp.

void swri_console::ConsoleWindow::setFatalColor ( )
slot

Definition at line 525 of file console_window.cpp.

void swri_console::ConsoleWindow::setFollowNewest ( bool  follow)
slot

Definition at line 374 of file console_window.cpp.

void swri_console::ConsoleWindow::setFont ( const QFont &  font)
slot

Definition at line 499 of file console_window.cpp.

void swri_console::ConsoleWindow::setInfoColor ( )
slot

Definition at line 510 of file console_window.cpp.

void swri_console::ConsoleWindow::setSeverityFilter ( )
slot

Definition at line 269 of file console_window.cpp.

void swri_console::ConsoleWindow::setWarnColor ( )
slot

Definition at line 515 of file console_window.cpp.

void swri_console::ConsoleWindow::showLogContextMenu ( const QPoint &  point)
slot

Definition at line 308 of file console_window.cpp.

void swri_console::ConsoleWindow::toggleAlternateRowColors ( bool  checked)
slot

Definition at line 604 of file console_window.cpp.

void swri_console::ConsoleWindow::updateButtonColor ( QPushButton *  widget,
const QColor &  color 
)
private

Definition at line 550 of file console_window.cpp.

void swri_console::ConsoleWindow::updateCurrentIndex ( function  sF)
private

Definition at line 437 of file console_window.cpp.

void swri_console::ConsoleWindow::updateExcludeLabel ( )
slot

Definition at line 490 of file console_window.cpp.

void swri_console::ConsoleWindow::updateIncludeLabel ( )
slot

Definition at line 481 of file console_window.cpp.

void swri_console::ConsoleWindow::userScrolled ( int  value)
slot

Definition at line 335 of file console_window.cpp.

Member Data Documentation

LogDatabase* swri_console::ConsoleWindow::db_
private

Definition at line 117 of file console_window.h.

LogDatabaseProxyModel* swri_console::ConsoleWindow::db_proxy_
private

Definition at line 118 of file console_window.h.

NodeClickHandler* swri_console::ConsoleWindow::node_click_handler_
private

Definition at line 120 of file console_window.h.

NodeListModel* swri_console::ConsoleWindow::node_list_model_
private

Definition at line 119 of file console_window.h.

function swri_console::ConsoleWindow::searchFunction_
private

Definition at line 98 of file console_window.h.

Ui::ConsoleWindow swri_console::ConsoleWindow::ui
private

Definition at line 116 of file console_window.h.


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


swri_console
Author(s):
autogenerated on Fri Apr 3 2020 03:20:03