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

#include <window.h>

Inheritance diagram for Window:
Collaboration diagram for Window:

Public Slots

void clear ()
 
void new_line (QString s)
 
void set_grid_size (std::size_t n_cols)
 
void new_graph (Graph::Type type, QString title)
 
void new_frame (qreal timestamp_ms)
 
void new_data (Graph::Type type, qreal value)
 
void clear ()
 
void new_line (QString s)
 
void set_grid_size (std::size_t n_cols)
 
void new_graph (Graph::Type type, QString title)
 
void new_frame (qreal timestamp_ms)
 
void new_data (Graph::Type type, qreal value)
 

Signals

void command_updated (QString value, QString cmd)
 
void command_updated (QString value, QString cmd)
 

Public Member Functions

 Window ()
 
bool add_widget (std::string_view text={})
 
 Window ()
 
 Window ()
 
std::size_t add_section (const char *name)
 
const QPushButton * add_button (std::size_t section, const char *name)
 
 Window ()
 
 Window ()
 
bool add_widget (std::string_view text={})
 
 Window ()
 
 Window ()
 
std::size_t add_section (const char *name)
 
const QPushButton * add_button (std::size_t section, const char *name)
 
 Window ()
 

Private Member Functions

QLabel * label ()
 
QLabel * label ()
 

Private Attributes

QLayout * layout = {}
 
std::vector< QtCharts::QAbstractSeries * > series = {}
 
qreal timestamp_ms = {}
 
std::size_t i = {}
 
std::size_t cols = 4
 

Constructor & Destructor Documentation

◆ Window() [1/8]

Window::Window ( )

◆ Window() [2/8]

Window::Window ( )

◆ Window() [3/8]

Window::Window ( )

◆ Window() [4/8]

Window::Window ( )

◆ Window() [5/8]

Window::Window ( )

◆ Window() [6/8]

Window::Window ( )

◆ Window() [7/8]

Window::Window ( )

◆ Window() [8/8]

Window::Window ( )

Member Function Documentation

◆ add_button() [1/2]

const QPushButton * Window::add_button ( std::size_t  section,
const char *  name 
)

◆ add_button() [2/2]

const QPushButton * Window::add_button ( std::size_t  section,
const char *  name 
)

◆ add_section() [1/2]

std::size_t Window::add_section ( const char *  name)

◆ add_section() [2/2]

std::size_t Window::add_section ( const char *  name)

◆ add_widget() [1/2]

bool Window::add_widget ( std::string_view  text = {})

◆ add_widget() [2/2]

bool Window::add_widget ( std::string_view  text = {})

◆ clear [1/2]

void Window::clear ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear [2/2]

void Window::clear ( )
slot

◆ command_updated [1/2]

void Window::command_updated ( QString  value,
QString  cmd 
)
signal
Here is the caller graph for this function:

◆ command_updated [2/2]

void Window::command_updated ( QString  value,
QString  cmd 
)
signal

◆ label() [1/2]

QLabel * Window::label ( )
private
Here is the caller graph for this function:

◆ label() [2/2]

QLabel * Window::label ( )
private

◆ new_data [1/2]

void Window::new_data ( Graph::Type  type,
qreal  value 
)
slot
Here is the caller graph for this function:

◆ new_data [2/2]

void Window::new_data ( Graph::Type  type,
qreal  value 
)
slot

◆ new_frame [1/2]

void Window::new_frame ( qreal  timestamp_ms)
slot
Here is the caller graph for this function:

◆ new_frame [2/2]

void Window::new_frame ( qreal  timestamp_ms)
slot

◆ new_graph [1/2]

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

◆ new_graph [2/2]

void Window::new_graph ( Graph::Type  type,
QString  title 
)
slot

◆ new_line [1/2]

void Window::new_line ( QString  s)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_line [2/2]

void Window::new_line ( QString  s)
slot

◆ set_grid_size [1/2]

void Window::set_grid_size ( std::size_t  n_cols)
inlineslot
Here is the caller graph for this function:

◆ set_grid_size [2/2]

void Window::set_grid_size ( std::size_t  n_cols)
inlineslot

Member Data Documentation

◆ cols

std::size_t Window::cols = 4
private

◆ i

std::size_t Window::i = {}
private

◆ layout

QLayout * Window::layout = {}
private

◆ series

std::vector< QtCharts::QAbstractSeries * > Window::series = {}
private

◆ timestamp_ms

qreal Window::timestamp_ms = {}
private

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