Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
CurveListPanel Class Reference

#include <curvelist_panel.h>

Inheritance diagram for CurveListPanel:
Inheritance graph
[legend]

Public Slots

void clearSelections ()
 
void on_stylesheetChanged (QString theme)
 
void refreshValues ()
 

Signals

void createMathPlot (const std::string &linked_plot)
 
void deleteCurves (const std::vector< std::string > &curve_names)
 
void editMathPlot (const std::string &plot_name)
 
void hiddenItemsChanged ()
 
void refreshMathPlot (const std::string &curve_name)
 

Public Member Functions

void addCurve (const QString &item_name)
 
void addCustom (const QString &item_name)
 
void changeFontSize (int point_size)
 
void clear ()
 
 CurveListPanel (const CustomPlotMap &mapped_math_plots, QWidget *parent)
 
bool is2ndColumnHidden () const
 
virtual void keyPressEvent (QKeyEvent *event) override
 
void rebuildEntireList (const std::vector< std::string > &names)
 
void refreshColumns ()
 
void removeCurve (const std::string &name)
 
void update2ndColumnValues (double time, std::unordered_map< std::string, PlotData > *numeric_data)
 
void updateFilter ()
 
 ~CurveListPanel () override
 

Private Slots

void on_buttonAddCustom_clicked ()
 
void on_buttonEditCustom_clicked ()
 
void on_checkBoxShowValues_toggled (bool show)
 
void on_lineEditFilter_textChanged (const QString &search_string)
 
void onCustomSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void removeSelectedCurves ()
 

Private Member Functions

void updateTreeModel ()
 

Private Attributes

bool _column_width_dirty
 
const CustomPlotMap_custom_plots
 
CurveTableView_custom_view
 
std::unordered_map< std::string, PlotData > * _numeric_data = nullptr
 
QString _style_dir
 
double _tracker_time = 0
 
CurveTreeView_tree_view
 
Ui::CurveListPanel * ui
 

Detailed Description

Definition at line 22 of file curvelist_panel.h.

Constructor & Destructor Documentation

CurveListPanel::CurveListPanel ( const CustomPlotMap mapped_math_plots,
QWidget *  parent 
)
explicit

Definition at line 26 of file curvelist_panel.cpp.

CurveListPanel::~CurveListPanel ( )
override

Definition at line 69 of file curvelist_panel.cpp.

Member Function Documentation

void CurveListPanel::addCurve ( const QString &  item_name)

Definition at line 82 of file curvelist_panel.cpp.

void CurveListPanel::addCustom ( const QString &  item_name)

Definition at line 88 of file curvelist_panel.cpp.

void CurveListPanel::changeFontSize ( int  point_size)

Definition at line 115 of file curvelist_panel.cpp.

void CurveListPanel::clear ( )

Definition at line 74 of file curvelist_panel.cpp.

void CurveListPanel::clearSelections ( )
slot

Definition at line 328 of file curvelist_panel.cpp.

void CurveListPanel::createMathPlot ( const std::string &  linked_plot)
signal
void CurveListPanel::deleteCurves ( const std::vector< std::string > &  curve_names)
signal
void CurveListPanel::editMathPlot ( const std::string &  plot_name)
signal
void CurveListPanel::hiddenItemsChanged ( )
signal
bool CurveListPanel::is2ndColumnHidden ( ) const

Definition at line 124 of file curvelist_panel.cpp.

void CurveListPanel::keyPressEvent ( QKeyEvent *  event)
overridevirtual

Definition at line 107 of file curvelist_panel.cpp.

void CurveListPanel::on_buttonAddCustom_clicked ( )
privateslot

Definition at line 290 of file curvelist_panel.cpp.

void CurveListPanel::on_buttonEditCustom_clicked ( )
privateslot

Definition at line 319 of file curvelist_panel.cpp.

void CurveListPanel::on_checkBoxShowValues_toggled ( bool  show)
privateslot

Definition at line 341 of file curvelist_panel.cpp.

void CurveListPanel::on_lineEditFilter_textChanged ( const QString &  search_string)
privateslot

Definition at line 249 of file curvelist_panel.cpp.

void CurveListPanel::on_stylesheetChanged ( QString  theme)
slot

Definition at line 334 of file curvelist_panel.cpp.

void CurveListPanel::onCustomSelectionChanged ( const QItemSelection &  selected,
const QItemSelection &  deselected 
)
privateslot

Definition at line 309 of file curvelist_panel.cpp.

void CurveListPanel::rebuildEntireList ( const std::vector< std::string > &  names)
void CurveListPanel::refreshColumns ( )

Definition at line 94 of file curvelist_panel.cpp.

void CurveListPanel::refreshMathPlot ( const std::string &  curve_name)
signal
void CurveListPanel::refreshValues ( )
slot

Definition at line 138 of file curvelist_panel.cpp.

void CurveListPanel::removeCurve ( const std::string &  name)

Definition at line 283 of file curvelist_panel.cpp.

void CurveListPanel::removeSelectedCurves ( )
privateslot

Definition at line 268 of file curvelist_panel.cpp.

void CurveListPanel::update2ndColumnValues ( double  time,
std::unordered_map< std::string, PlotData > *  numeric_data 
)

Definition at line 130 of file curvelist_panel.cpp.

void CurveListPanel::updateFilter ( )

Definition at line 102 of file curvelist_panel.cpp.

void CurveListPanel::updateTreeModel ( )
private

Member Data Documentation

bool CurveListPanel::_column_width_dirty
private

Definition at line 90 of file curvelist_panel.h.

const CustomPlotMap& CurveListPanel::_custom_plots
private

Definition at line 86 of file curvelist_panel.h.

CurveTableView* CurveListPanel::_custom_view
private

Definition at line 80 of file curvelist_panel.h.

std::unordered_map<std::string, PlotData>* CurveListPanel::_numeric_data = nullptr
private

Definition at line 84 of file curvelist_panel.h.

QString CurveListPanel::_style_dir
private

Definition at line 88 of file curvelist_panel.h.

double CurveListPanel::_tracker_time = 0
private

Definition at line 83 of file curvelist_panel.h.

CurveTreeView* CurveListPanel::_tree_view
private

Definition at line 81 of file curvelist_panel.h.

Ui::CurveListPanel* CurveListPanel::ui
private

Definition at line 76 of file curvelist_panel.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:49