ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvCustomLabelsWidget Class Reference

ParaView-style Custom Labels Editor Widget. More...

#include <ecvCustomLabelsWidget.h>

Inheritance diagram for ecvCustomLabelsWidget:
Collaboration diagram for ecvCustomLabelsWidget:

Public Member Functions

 ecvCustomLabelsWidget (QWidget *parent=nullptr)
 
 ~ecvCustomLabelsWidget () override
 
QList< QPair< double, QString > > getLabels () const
 
void setLabels (const QList< QPair< double, QString >> &labels)
 
void clearLabels ()
 

Detailed Description

ParaView-style Custom Labels Editor Widget.

Table with "Value" and "Label" columns, plus Add/Remove buttons.

Definition at line 23 of file ecvCustomLabelsWidget.h.

Constructor & Destructor Documentation

◆ ecvCustomLabelsWidget()

ecvCustomLabelsWidget::ecvCustomLabelsWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 16 of file ecvCustomLabelsWidget.cpp.

◆ ~ecvCustomLabelsWidget()

ecvCustomLabelsWidget::~ecvCustomLabelsWidget ( )
overridedefault

Member Function Documentation

◆ clearLabels()

void ecvCustomLabelsWidget::clearLabels ( )

Definition at line 133 of file ecvCustomLabelsWidget.cpp.

◆ getLabels()

QList< QPair< double, QString > > ecvCustomLabelsWidget::getLabels ( ) const

◆ setLabels()

void ecvCustomLabelsWidget::setLabels ( const QList< QPair< double, QString >> &  labels)

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