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)
 

Signals

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 ()
 

Private Member Functions

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/4]

Window::Window ( )

◆ Window() [2/4]

Window::Window ( )

◆ Window() [3/4]

Window::Window ( )

◆ Window() [4/4]

Window::Window ( )

Member Function Documentation

◆ add_button()

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

◆ add_section()

std::size_t Window::add_section ( const char * name)
Here is the caller graph for this function:

◆ add_widget()

bool Window::add_widget ( std::string_view text = {})
Here is the caller graph for this function:

◆ clear

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

◆ command_updated

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

◆ label()

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

◆ new_data

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

◆ new_frame

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

◆ new_graph

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

◆ new_line

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

◆ set_grid_size

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

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: