Public Member Functions | Private Member Functions | Private Attributes | List of all members
CurveTreeView Class Reference

#include <curvetree_view.h>

Inheritance diagram for CurveTreeView:
Inheritance graph
[legend]

Public Member Functions

void addItem (const QString &prefix, const QString &tree_name, const QString &plot_ID) override
 
bool applyVisibilityFilter (const QString &filter_string) override
 
void clear () override
 
 CurveTreeView (CurveListPanel *parent)
 
bool eventFilter (QObject *object, QEvent *event) override
 
std::vector< std::string > getSelectedNames () override
 
std::pair< int, int > hiddenItemsCount () override
 
virtual void hideValuesColumn (bool hide) override
 
virtual void keyPressEvent (QKeyEvent *) override
 
void refreshColumns () override
 
void refreshFontSize () override
 
void removeCurve (const QString &name) override
 
void setViewResizeEnabled (bool) override
 
void treeVisitor (std::function< void(QTreeWidgetItem *)> visitor)
 
- Public Member Functions inherited from CurvesView
 CurvesView (CurveListPanel *parent)
 
bool eventFilterBase (QObject *object, QEvent *event)
 
void setFontSize (int size)
 

Private Member Functions

void expandChildren (bool expanded, QTreeWidgetItem *item)
 

Private Attributes

int _hidden_count = 0
 
int _leaf_count = 0
 
QTreeWidgetItem * _tooltip_item = nullptr
 
QPoint _tooltip_pos
 
QTimer * _tooltip_timer = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from CurvesView
QPoint _drag_start_pos
 
bool _dragging = false
 
bool _newX_modifier = false
 
CurveListPanel_parent_panel
 
int _point_size = 9
 

Detailed Description

Definition at line 14 of file curvetree_view.h.

Constructor & Destructor Documentation

◆ CurveTreeView()

CurveTreeView::CurveTreeView ( CurveListPanel parent)

Definition at line 31 of file curvetree_view.cpp.

Member Function Documentation

◆ addItem()

void CurveTreeView::addItem ( const QString &  prefix,
const QString &  tree_name,
const QString &  plot_ID 
)
overridevirtual

Implements CurvesView.

Definition at line 95 of file curvetree_view.cpp.

◆ applyVisibilityFilter()

bool CurveTreeView::applyVisibilityFilter ( const QString &  filter_string)
overridevirtual

Implements CurvesView.

Definition at line 232 of file curvetree_view.cpp.

◆ clear()

void CurveTreeView::clear ( )
overridevirtual

Implements CurvesView.

Definition at line 86 of file curvetree_view.cpp.

◆ eventFilter()

bool CurveTreeView::eventFilter ( QObject *  object,
QEvent *  event 
)
override

Definition at line 302 of file curvetree_view.cpp.

◆ expandChildren()

void CurveTreeView::expandChildren ( bool  expanded,
QTreeWidgetItem *  item 
)
private

Definition at line 399 of file curvetree_view.cpp.

◆ getSelectedNames()

std::vector< std::string > CurveTreeView::getSelectedNames ( )
overridevirtual

Implements CurvesView.

Definition at line 203 of file curvetree_view.cpp.

◆ hiddenItemsCount()

std::pair<int, int> CurveTreeView::hiddenItemsCount ( )
inlineoverridevirtual

Implements CurvesView.

Definition at line 36 of file curvetree_view.h.

◆ hideValuesColumn()

void CurveTreeView::hideValuesColumn ( bool  hide)
overridevirtual

Implements CurvesView.

Definition at line 363 of file curvetree_view.cpp.

◆ keyPressEvent()

void CurveTreeView::keyPressEvent ( QKeyEvent *  event)
overridevirtual

Definition at line 386 of file curvetree_view.cpp.

◆ refreshColumns()

void CurveTreeView::refreshColumns ( )
overridevirtual

Implements CurvesView.

Definition at line 196 of file curvetree_view.cpp.

◆ refreshFontSize()

void CurveTreeView::refreshFontSize ( )
overridevirtual

Implements CurvesView.

Definition at line 214 of file curvetree_view.cpp.

◆ removeCurve()

void CurveTreeView::removeCurve ( const QString &  name)
overridevirtual

Implements CurvesView.

Definition at line 331 of file curvetree_view.cpp.

◆ setViewResizeEnabled()

void CurveTreeView::setViewResizeEnabled ( bool  )
inlineoverridevirtual

Implements CurvesView.

Definition at line 41 of file curvetree_view.h.

◆ treeVisitor()

void CurveTreeView::treeVisitor ( std::function< void(QTreeWidgetItem *)>  visitor)

Definition at line 369 of file curvetree_view.cpp.

Member Data Documentation

◆ _hidden_count

int CurveTreeView::_hidden_count = 0
private

Definition at line 54 of file curvetree_view.h.

◆ _leaf_count

int CurveTreeView::_leaf_count = 0
private

Definition at line 55 of file curvetree_view.h.

◆ _tooltip_item

QTreeWidgetItem* CurveTreeView::_tooltip_item = nullptr
private

Definition at line 58 of file curvetree_view.h.

◆ _tooltip_pos

QPoint CurveTreeView::_tooltip_pos
private

Definition at line 59 of file curvetree_view.h.

◆ _tooltip_timer

QTimer* CurveTreeView::_tooltip_timer = nullptr
private

Definition at line 57 of file curvetree_view.h.


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


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:50