nngn
Loading...
Searching...
No Matches
Graph Class Reference

#include <graph.h>

Inheritance diagram for Graph:
Collaboration diagram for Graph:

Public Types

enum class  Type : uint8_t { LINE = 'l' , LINE = 'l' }
 
enum class  Mode { ABSOLUTE , RELATIVE , ABSOLUTE , RELATIVE }
 
enum class  Type : uint8_t { LINE = 'l' , LINE = 'l' }
 
enum class  Mode { ABSOLUTE , RELATIVE , ABSOLUTE , RELATIVE }
 

Public Slots

void new_graph (QString title)
 
void new_data (const QVector< qreal > &v)
 
void set_mode (Mode m)
 
void new_graph (QString title)
 
void new_data (const QVector< qreal > &v)
 
void set_mode (Mode m)
 

Public Member Functions

 Graph ()
 
 Graph (Graph &)=delete
 
Graphoperator= (Graph &)=delete
 
Mode mode () const
 
 Graph ()
 
 Graph (Graph &)=delete
 
Graphoperator= (Graph &)=delete
 
Mode mode () const
 

Private Types

using QLineSeries = QtCharts::QLineSeries
 
using QLineSeries = QtCharts::QLineSeries
 

Private Attributes

std::vector< QLineSeries * > series = {}
 
Mode m_mode = Mode::RELATIVE
 

Member Typedef Documentation

◆ QLineSeries [1/2]

using Graph::QLineSeries = QtCharts::QLineSeries
private

◆ QLineSeries [2/2]

using Graph::QLineSeries = QtCharts::QLineSeries
private

Member Enumeration Documentation

◆ Mode [1/2]

enum class Graph::Mode
strong
Enumerator
ABSOLUTE 
RELATIVE 
ABSOLUTE 
RELATIVE 

◆ Mode [2/2]

enum class Graph::Mode
strong
Enumerator
ABSOLUTE 
RELATIVE 
ABSOLUTE 
RELATIVE 

◆ Type [1/2]

enum class Graph::Type : uint8_t
strong
Enumerator
LINE 
LINE 

◆ Type [2/2]

enum class Graph::Type : uint8_t
strong
Enumerator
LINE 
LINE 

Constructor & Destructor Documentation

◆ Graph() [1/4]

Graph::Graph ( )

◆ Graph() [2/4]

Graph::Graph ( Graph )
delete

◆ Graph() [3/4]

Graph::Graph ( )

◆ Graph() [4/4]

Graph::Graph ( Graph )
delete

Member Function Documentation

◆ mode() [1/2]

Mode Graph::mode ( ) const
inline

◆ mode() [2/2]

Mode Graph::mode ( ) const
inline

◆ new_data [1/2]

void Graph::new_data ( const QVector< qreal > &  v)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_data [2/2]

void Graph::new_data ( const QVector< qreal > &  v)
slot

◆ new_graph [1/2]

void Graph::new_graph ( QString  title)
slot
Here is the caller graph for this function:

◆ new_graph [2/2]

void Graph::new_graph ( QString  title)
slot

◆ operator=() [1/2]

Graph & Graph::operator= ( Graph )
delete

◆ operator=() [2/2]

Graph & Graph::operator= ( Graph )
delete

◆ set_mode [1/2]

void Graph::set_mode ( Mode  m)
inlineslot

◆ set_mode [2/2]

void Graph::set_mode ( Mode  m)
inlineslot

Member Data Documentation

◆ m_mode

Mode Graph::m_mode = Mode::RELATIVE
private

◆ series

std::vector< QLineSeries * > Graph::series = {}
private

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