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 ()
 
std::vector< std::string > getSelectedNames () const
 
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)
 
void requestDeleteAll (int)
 

Public Member Functions

bool addCurve (const std::string &plot_name)
 
void addCustom (const QString &item_name)
 
void changeFontSize (int point_size)
 
void clear ()
 
 CurveListPanel (PlotDataMapRef &mapped_plot_data, const TransformsMap &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)
 
void updateAppearance ()
 
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 on_pushButtonTrash_clicked (bool checked)
 
void onCustomSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void removeSelectedCurves ()
 

Private Member Functions

QString getTreeName (QString name)
 
void updateTreeModel ()
 

Private Attributes

bool _column_width_dirty
 
CurveTreeView_custom_view
 
PlotDataMapRef_plot_data
 
QString _style_dir
 
double _tracker_time = 0
 
const TransformsMap_transforms_map
 
CurveTreeView_tree_view
 
std::unordered_set< std::string > _tree_view_items
 
Ui::CurveListPanel * ui
 

Detailed Description

Definition at line 29 of file curvelist_panel.h.

Constructor & Destructor Documentation

◆ CurveListPanel()

CurveListPanel::CurveListPanel ( PlotDataMapRef mapped_plot_data,
const TransformsMap mapped_math_plots,
QWidget *  parent 
)
explicit

Definition at line 32 of file curvelist_panel.cpp.

◆ ~CurveListPanel()

CurveListPanel::~CurveListPanel ( )
override

Definition at line 79 of file curvelist_panel.cpp.

Member Function Documentation

◆ addCurve()

bool CurveListPanel::addCurve ( const std::string &  plot_name)

Definition at line 92 of file curvelist_panel.cpp.

◆ addCustom()

void CurveListPanel::addCustom ( const QString &  item_name)

Definition at line 132 of file curvelist_panel.cpp.

◆ changeFontSize()

void CurveListPanel::changeFontSize ( int  point_size)

Definition at line 263 of file curvelist_panel.cpp.

◆ clear()

void CurveListPanel::clear ( )

Definition at line 84 of file curvelist_panel.cpp.

◆ clearSelections

void CurveListPanel::clearSelections ( )
slot

Definition at line 515 of file curvelist_panel.cpp.

◆ createMathPlot

void CurveListPanel::createMathPlot ( const std::string &  linked_plot)
signal

◆ deleteCurves

void CurveListPanel::deleteCurves ( const std::vector< std::string > &  curve_names)
signal

◆ editMathPlot

void CurveListPanel::editMathPlot ( const std::string &  plot_name)
signal

◆ getSelectedNames

std::vector< std::string > CurveListPanel::getSelectedNames ( ) const
slot

Definition at line 507 of file curvelist_panel.cpp.

◆ getTreeName()

QString CurveListPanel::getTreeName ( QString  name)
private

Definition at line 408 of file curvelist_panel.cpp.

◆ hiddenItemsChanged

void CurveListPanel::hiddenItemsChanged ( )
signal

◆ is2ndColumnHidden()

bool CurveListPanel::is2ndColumnHidden ( ) const

Definition at line 272 of file curvelist_panel.cpp.

◆ keyPressEvent()

void CurveListPanel::keyPressEvent ( QKeyEvent *  event)
overridevirtual

Definition at line 255 of file curvelist_panel.cpp.

◆ on_buttonAddCustom_clicked

void CurveListPanel::on_buttonAddCustom_clicked ( )
privateslot

Definition at line 467 of file curvelist_panel.cpp.

◆ on_buttonEditCustom_clicked

void CurveListPanel::on_buttonEditCustom_clicked ( )
privateslot

Definition at line 498 of file curvelist_panel.cpp.

◆ on_checkBoxShowValues_toggled

void CurveListPanel::on_checkBoxShowValues_toggled ( bool  show)
privateslot

Definition at line 545 of file curvelist_panel.cpp.

◆ on_lineEditFilter_textChanged

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

Definition at line 424 of file curvelist_panel.cpp.

◆ on_pushButtonTrash_clicked

void CurveListPanel::on_pushButtonTrash_clicked ( bool  checked)
privateslot

Definition at line 552 of file curvelist_panel.cpp.

◆ on_stylesheetChanged

void CurveListPanel::on_stylesheetChanged ( QString  theme)
slot

Definition at line 521 of file curvelist_panel.cpp.

◆ onCustomSelectionChanged

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

Definition at line 486 of file curvelist_panel.cpp.

◆ rebuildEntireList()

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

◆ refreshColumns()

void CurveListPanel::refreshColumns ( )

Definition at line 240 of file curvelist_panel.cpp.

◆ refreshMathPlot

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

◆ refreshValues

void CurveListPanel::refreshValues ( )
slot

Definition at line 284 of file curvelist_panel.cpp.

◆ removeCurve()

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

Definition at line 459 of file curvelist_panel.cpp.

◆ removeSelectedCurves

void CurveListPanel::removeSelectedCurves ( )
privateslot

Definition at line 443 of file curvelist_panel.cpp.

◆ requestDeleteAll

void CurveListPanel::requestDeleteAll ( int  )
signal

◆ update2ndColumnValues()

void CurveListPanel::update2ndColumnValues ( double  time)

Definition at line 278 of file curvelist_panel.cpp.

◆ updateAppearance()

void CurveListPanel::updateAppearance ( )

Definition at line 138 of file curvelist_panel.cpp.

◆ updateFilter()

void CurveListPanel::updateFilter ( )

Definition at line 250 of file curvelist_panel.cpp.

◆ updateTreeModel()

void CurveListPanel::updateTreeModel ( )
private

Member Data Documentation

◆ _column_width_dirty

bool CurveListPanel::_column_width_dirty
private

Definition at line 108 of file curvelist_panel.h.

◆ _custom_view

CurveTreeView* CurveListPanel::_custom_view
private

Definition at line 98 of file curvelist_panel.h.

◆ _plot_data

PlotDataMapRef& CurveListPanel::_plot_data
private

Definition at line 94 of file curvelist_panel.h.

◆ _style_dir

QString CurveListPanel::_style_dir
private

Definition at line 106 of file curvelist_panel.h.

◆ _tracker_time

double CurveListPanel::_tracker_time = 0
private

Definition at line 102 of file curvelist_panel.h.

◆ _transforms_map

const TransformsMap& CurveListPanel::_transforms_map
private

Definition at line 104 of file curvelist_panel.h.

◆ _tree_view

CurveTreeView* CurveListPanel::_tree_view
private

Definition at line 99 of file curvelist_panel.h.

◆ _tree_view_items

std::unordered_set<std::string> CurveListPanel::_tree_view_items
private

Definition at line 100 of file curvelist_panel.h.

◆ ui

Ui::CurveListPanel* CurveListPanel::ui
private

Definition at line 92 of file curvelist_panel.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Aug 11 2024 02:24:28