QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCLoggingCategoryItem Class Reference

#include <LoggingCategoryModel.h>

+ Inheritance diagram for QGCLoggingCategoryItem:
+ Collaboration diagram for QGCLoggingCategoryItem:

Signals

void logLevelChanged ()
 
void enabledChanged ()
 

Public Member Functions

 QGCLoggingCategoryItem (const QString &shortCategory_, const QString &fullCategory_, int logLevel_, QObject *parent=nullptr)
 
bool enabled () const
 
void setEnabled (bool enabled)
 
int logLevel () const
 
void setLogLevel (int level)
 
void setLogLevelFromManager (int level)
 

Public Attributes

QString shortCategory
 
QString fullCategory
 

Detailed Description

Definition at line 10 of file LoggingCategoryModel.h.

Constructor & Destructor Documentation

◆ QGCLoggingCategoryItem()

QGCLoggingCategoryItem::QGCLoggingCategoryItem ( const QString &  shortCategory_,
const QString &  fullCategory_,
int  logLevel_,
QObject *  parent = nullptr 
)

Member Function Documentation

◆ enabled()

bool QGCLoggingCategoryItem::enabled ( ) const
inline

Definition at line 20 of file LoggingCategoryModel.h.

Referenced by setEnabled(), setLogLevel(), and setLogLevelFromManager().

◆ enabledChanged

void QGCLoggingCategoryItem::enabledChanged ( )
signal

◆ logLevel()

int QGCLoggingCategoryItem::logLevel ( ) const
inline

Definition at line 24 of file LoggingCategoryModel.h.

◆ logLevelChanged

◆ setEnabled()

void QGCLoggingCategoryItem::setEnabled ( bool  enabled)

Definition at line 297 of file QGCLoggingCategoryManager.cc.

References enabled(), and setLogLevel().

Referenced by LoggingCategoryTreeModel::setData().

◆ setLogLevel()

void QGCLoggingCategoryItem::setLogLevel ( int  level)

◆ setLogLevelFromManager()

void QGCLoggingCategoryItem::setLogLevelFromManager ( int  level)

Member Data Documentation

◆ fullCategory

QString QGCLoggingCategoryItem::fullCategory

◆ shortCategory

QString QGCLoggingCategoryItem::shortCategory

Definition at line 29 of file LoggingCategoryModel.h.


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