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

◆ function

Enumerator
NEXT 
PREV 
SEARCH 

Definition at line 97 of file console_window.h.

Constructor & Destructor Documentation

◆ ConsoleWindow()

swri_console::ConsoleWindow::ConsoleWindow ( LogDatabase db)

Definition at line 60 of file console_window.cpp.

◆ ~ConsoleWindow()

swri_console::ConsoleWindow::~ConsoleWindow ( )

Definition at line 210 of file console_window.cpp.

Member Function Documentation

◆ chooseButtonColor()

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

Definition at line 539 of file console_window.cpp.

◆ clearAll

void swri_console::ConsoleWindow::clearAll ( )
slot

Definition at line 215 of file console_window.cpp.

◆ clearMessages

void swri_console::ConsoleWindow::clearMessages ( )
slot

Definition at line 222 of file console_window.cpp.

◆ closeEvent()

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

Definition at line 251 of file console_window.cpp.

◆ connected

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

Definition at line 240 of file console_window.cpp.

◆ copyExtendedLogs

void swri_console::ConsoleWindow::copyExtendedLogs ( )
slot

Definition at line 373 of file console_window.cpp.

◆ copyLogs

void swri_console::ConsoleWindow::copyLogs ( )
slot

Definition at line 363 of file console_window.cpp.

◆ createNewWindow

void swri_console::ConsoleWindow::createNewWindow ( )
signal

◆ excludeFilterUpdated

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

Definition at line 407 of file console_window.cpp.

◆ getButtonColor()

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

Definition at line 548 of file console_window.cpp.

◆ includeFilterUpdated

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

Definition at line 389 of file console_window.cpp.

◆ loadBooleanSetting()

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

Definition at line 105 of file console_window.h.

◆ loadColorButtonSetting()

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

Definition at line 588 of file console_window.cpp.

◆ loadSettings()

void swri_console::ConsoleWindow::loadSettings ( )
private

Definition at line 621 of file console_window.cpp.

◆ messagesAdded

void swri_console::ConsoleWindow::messagesAdded ( )
slot

Definition at line 309 of file console_window.cpp.

◆ nextIndex

void swri_console::ConsoleWindow::nextIndex ( )
slot

Definition at line 436 of file console_window.cpp.

◆ nodeSelectionChanged

void swri_console::ConsoleWindow::nodeSelectionChanged ( )
slot

Definition at line 256 of file console_window.cpp.

◆ prevIndex

void swri_console::ConsoleWindow::prevIndex ( )
slot

Definition at line 431 of file console_window.cpp.

◆ readBagFile

void swri_console::ConsoleWindow::readBagFile ( )
signal

◆ readLogDirectory

void swri_console::ConsoleWindow::readLogDirectory ( )
signal

◆ readLogFile

void swri_console::ConsoleWindow::readLogFile ( )
signal

◆ saveLogs

void swri_console::ConsoleWindow::saveLogs ( )
slot

Definition at line 228 of file console_window.cpp.

◆ searchIndex

void swri_console::ConsoleWindow::searchIndex ( )
slot

Definition at line 426 of file console_window.cpp.

◆ selectAllLogs

void swri_console::ConsoleWindow::selectAllLogs ( )
slot

Definition at line 354 of file console_window.cpp.

◆ selectFont

void swri_console::ConsoleWindow::selectFont ( )
signal

◆ setDebugColor

void swri_console::ConsoleWindow::setDebugColor ( )
slot

Definition at line 514 of file console_window.cpp.

◆ setErrorColor

void swri_console::ConsoleWindow::setErrorColor ( )
slot

Definition at line 529 of file console_window.cpp.

◆ setFatalColor

void swri_console::ConsoleWindow::setFatalColor ( )
slot

Definition at line 534 of file console_window.cpp.

◆ setFollowNewest

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

Definition at line 383 of file console_window.cpp.

◆ setFont

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

Definition at line 508 of file console_window.cpp.

◆ setInfoColor

void swri_console::ConsoleWindow::setInfoColor ( )
slot

Definition at line 519 of file console_window.cpp.

◆ setSeverityFilter

void swri_console::ConsoleWindow::setSeverityFilter ( )
slot

Definition at line 278 of file console_window.cpp.

◆ setWarnColor

void swri_console::ConsoleWindow::setWarnColor ( )
slot

Definition at line 524 of file console_window.cpp.

◆ showLogContextMenu

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

Definition at line 317 of file console_window.cpp.

◆ toggleAlternateRowColors

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

Definition at line 613 of file console_window.cpp.

◆ updateButtonColor()

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

Definition at line 559 of file console_window.cpp.

◆ updateCurrentIndex()

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

Definition at line 446 of file console_window.cpp.

◆ updateExcludeLabel

void swri_console::ConsoleWindow::updateExcludeLabel ( )
slot

Definition at line 499 of file console_window.cpp.

◆ updateIncludeLabel

void swri_console::ConsoleWindow::updateIncludeLabel ( )
slot

Definition at line 490 of file console_window.cpp.

◆ userScrolled

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

Definition at line 344 of file console_window.cpp.

Member Data Documentation

◆ db_

LogDatabase* swri_console::ConsoleWindow::db_
private

Definition at line 117 of file console_window.h.

◆ db_proxy_

LogDatabaseProxyModel* swri_console::ConsoleWindow::db_proxy_
private

Definition at line 118 of file console_window.h.

◆ node_click_handler_

NodeClickHandler* swri_console::ConsoleWindow::node_click_handler_
private

Definition at line 120 of file console_window.h.

◆ node_list_model_

NodeListModel* swri_console::ConsoleWindow::node_list_model_
private

Definition at line 119 of file console_window.h.

◆ searchFunction_

function swri_console::ConsoleWindow::searchFunction_
private

Definition at line 98 of file console_window.h.

◆ ui

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): P. J. Reed , Jerry Towler , David Anthony
autogenerated on Sat Sep 23 2023 02:55:37