DAQ  1.0.0
Data Acquisition System (basic demo)
Signals | Public Member Functions | Properties | Private Attributes | List of all members
VarModel Class Reference

#include <varmodel.h>

Inheritance diagram for VarModel:
Inheritance graph
[legend]
Collaboration diagram for VarModel:
Collaboration graph
[legend]

Signals

void nameChanged (QString)
 
void colorChanged (QColor)
 

Public Member Functions

 VarModel (const QString &name, const QColor &color, QObject *parent=nullptr)
 
 VarModel (QObject *parent=nullptr)
 
 VarModel (VarModel &&other)
 
const QString & name () const noexcept
 
void setName (const QString &name)
 
const QColor & color () const noexcept
 
void setColor (const QColor &color)
 

Properties

QString name
 
QColor color
 

Private Attributes

QString m_name
 
QColor m_color
 

Constructor & Destructor Documentation

VarModel::VarModel ( const QString &  name,
const QColor &  color,
QObject parent = nullptr 
)
explicit
VarModel::VarModel ( QObject parent = nullptr)
explicit
VarModel::VarModel ( VarModel &&  other)
inline

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

const QColor& VarModel::color ( ) const
inlinenoexcept
void VarModel::colorChanged ( QColor  )
signal
const QString& VarModel::name ( ) const
inlinenoexcept
void VarModel::nameChanged ( QString  )
signal

Here is the caller graph for this function:

void VarModel::setColor ( const QColor &  color)
inline
void VarModel::setName ( const QString &  name)
inline

Member Data Documentation

QColor VarModel::m_color
private
QString VarModel::m_name
private

Property Documentation

QColor VarModel::color
readwrite
QString VarModel::name
readwrite

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