#include <curvelist_panel.h>
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 |
Definition at line 21 of file curvelist_panel.h.
| 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.
| 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 | ||
| ) | [override, private] |
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 | ) | [override, virtual] |
Definition at line 176 of file curvelist_panel.cpp.
| void CurveListPanel::on_buttonAddCustom_clicked | ( | ) | [private, slot] |
Definition at line 526 of file curvelist_panel.cpp.
| void CurveListPanel::on_buttonEditCustom_clicked | ( | ) | [private, slot] |
Definition at line 566 of file curvelist_panel.cpp.
| void CurveListPanel::on_checkBoxCaseSensitive_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 406 of file curvelist_panel.cpp.
| void CurveListPanel::on_checkBoxHideSecondColumn_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 480 of file curvelist_panel.cpp.
| void CurveListPanel::on_lineEdit_textChanged | ( | const QString & | search_string | ) | [private, slot] |
Definition at line 411 of file curvelist_panel.cpp.
| void CurveListPanel::on_pushButtonSettings_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 475 of file curvelist_panel.cpp.
| void CurveListPanel::on_radioContains_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 366 of file curvelist_panel.cpp.
| void CurveListPanel::on_radioPrefix_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 386 of file curvelist_panel.cpp.
| void CurveListPanel::on_radioRegExp_toggled | ( | bool | checked | ) | [private, slot] |
Definition at line 376 of file curvelist_panel.cpp.
| void CurveListPanel::onCustomSelectionChanged | ( | const QItemSelection & | selected, |
| const QItemSelection & | deselected | ||
| ) | [private, slot] |
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 | ( | ) | [private, slot] |
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] |
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.