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

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 addItem (const QString &item_name)
 
void clear ()
 
 CurveListPanel (const CustomPlotMap &mapped_math_plots, QWidget *parent)
 
int findRowByName (const std::string &text) const
 
QTableView * getCustomView () const
 
QStandardItemModel * getTableModel () const
 
QTableView * getTableView () const
 
bool is2ndColumnHidden () const
 
virtual void keyPressEvent (QKeyEvent *event) override
 
void rebuildEntireList (const std::vector< std::string > &names)
 
void refreshColumns ()
 
void removeRow (int row)
 
int rowCount () const
 
void updateFilter ()
 
 ~CurveListPanel () override
 

Private Slots

void on_buttonAddCustom_clicked ()
 
void on_buttonEditCustom_clicked ()
 
void on_checkBoxCaseSensitive_toggled (bool checked)
 
void on_checkBoxHideSecondColumn_toggled (bool checked)
 
void on_lineEdit_textChanged (const QString &search_string)
 
void on_pushButtonSettings_toggled (bool checked)
 
void on_radioContains_toggled (bool checked)
 
void on_radioPrefix_toggled (bool checked)
 
void on_radioRegExp_toggled (bool checked)
 
void onCustomSelectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void removeSelectedCurves ()
 

Private Member Functions

bool eventFilter (QObject *object, QEvent *event) override
 
std::vector< std::string > getNonHiddenSelectedRows ()
 
void updateTreeModel ()
 

Private Attributes

TreeModelCompleter_completer
 
bool _completer_need_update
 
const CustomPlotMap_custom_plots
 
QPoint _drag_start_pos
 
bool _dragging
 
QStandardItemModel * _model
 
bool _newX_modifier
 
int _point_size
 
Ui::CurveListPanel * ui
 

Detailed Description

Definition at line 21 of file curvelist_panel.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file curvelist_panel.cpp.

CurveListPanel::~CurveListPanel ( )
override

Definition at line 95 of file curvelist_panel.cpp.

Member Function Documentation

void CurveListPanel::addItem ( const QString &  item_name)

Definition at line 112 of file curvelist_panel.cpp.

void CurveListPanel::clear ( )

Definition at line 105 of file curvelist_panel.cpp.

void CurveListPanel::clearSelections ( )
slot

Definition at line 589 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
bool CurveListPanel::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprivate

Definition at line 183 of file curvelist_panel.cpp.

int CurveListPanel::findRowByName ( const std::string &  text) const

Definition at line 155 of file curvelist_panel.cpp.

QTableView * CurveListPanel::getCustomView ( ) const

Definition at line 361 of file curvelist_panel.cpp.

std::vector< std::string > CurveListPanel::getNonHiddenSelectedRows ( )
private

Definition at line 338 of file curvelist_panel.cpp.

QStandardItemModel* CurveListPanel::getTableModel ( ) const
inline

Definition at line 47 of file curvelist_panel.h.

QTableView * CurveListPanel::getTableView ( ) const

Definition at line 356 of file curvelist_panel.cpp.

void CurveListPanel::hiddenItemsChanged ( )
signal
bool CurveListPanel::is2ndColumnHidden ( ) const
inline

Definition at line 56 of file curvelist_panel.h.

void CurveListPanel::keyPressEvent ( QKeyEvent *  event)
overridevirtual

Definition at line 176 of file curvelist_panel.cpp.

void CurveListPanel::on_buttonAddCustom_clicked ( )
privateslot

Definition at line 526 of file curvelist_panel.cpp.

void CurveListPanel::on_buttonEditCustom_clicked ( )
privateslot

Definition at line 566 of file curvelist_panel.cpp.

void CurveListPanel::on_checkBoxCaseSensitive_toggled ( bool  checked)
privateslot

Definition at line 406 of file curvelist_panel.cpp.

void CurveListPanel::on_checkBoxHideSecondColumn_toggled ( bool  checked)
privateslot

Definition at line 480 of file curvelist_panel.cpp.

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

Definition at line 411 of file curvelist_panel.cpp.

void CurveListPanel::on_pushButtonSettings_toggled ( bool  checked)
privateslot

Definition at line 475 of file curvelist_panel.cpp.

void CurveListPanel::on_radioContains_toggled ( bool  checked)
privateslot

Definition at line 366 of file curvelist_panel.cpp.

void CurveListPanel::on_radioPrefix_toggled ( bool  checked)
privateslot

Definition at line 386 of file curvelist_panel.cpp.

void CurveListPanel::on_radioRegExp_toggled ( bool  checked)
privateslot

Definition at line 376 of file curvelist_panel.cpp.

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

Definition at line 548 of file curvelist_panel.cpp.

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

Definition at line 143 of file curvelist_panel.cpp.

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

Definition at line 521 of file curvelist_panel.cpp.

void CurveListPanel::removeSelectedCurves ( )
privateslot

Definition at line 494 of file curvelist_panel.cpp.

int CurveListPanel::rowCount ( ) const

Definition at line 100 of file curvelist_panel.cpp.

void CurveListPanel::updateFilter ( )

Definition at line 171 of file curvelist_panel.cpp.

void CurveListPanel::updateTreeModel ( )
private

Member Data Documentation

TreeModelCompleter* CurveListPanel::_completer
private

Definition at line 99 of file curvelist_panel.h.

bool CurveListPanel::_completer_need_update
private

Definition at line 107 of file curvelist_panel.h.

const CustomPlotMap& CurveListPanel::_custom_plots
private

Definition at line 111 of file curvelist_panel.h.

QPoint CurveListPanel::_drag_start_pos
private

Definition at line 95 of file curvelist_panel.h.

bool CurveListPanel::_dragging
private

Definition at line 97 of file curvelist_panel.h.

QStandardItemModel* CurveListPanel::_model
private

Definition at line 109 of file curvelist_panel.h.

bool CurveListPanel::_newX_modifier
private

Definition at line 97 of file curvelist_panel.h.

int CurveListPanel::_point_size
private

Definition at line 113 of file curvelist_panel.h.

Ui::CurveListPanel* CurveListPanel::ui
private

Definition at line 93 of file curvelist_panel.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:18