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

#include <ecvCustomViewpointButtonDlg.h>

Inheritance diagram for ecvCustomViewpointButtonDlg:
Collaboration diagram for ecvCustomViewpointButtonDlg:

Public Member Functions

 ecvCustomViewpointButtonDlg (QWidget *parent, Qt::WindowFlags f, QStringList &toolTips, QStringList &configurations, QString &currentConfig)
 
 ~ecvCustomViewpointButtonDlg () override
 
void setToolTipsAndConfigurations (const QStringList &toolTips, const QStringList &configs)
 
void setToolTips (const QStringList &toolTips)
 
QStringList getToolTips ()
 
void setConfigurations (const QStringList &configs)
 
QStringList getConfigurations ()
 
void setCurrentConfiguration (const QString &config)
 
QString getCurrentConfiguration ()
 

Static Public Attributes

static const QString DEFAULT_TOOLTIP
 
static const int MINIMUM_NUMBER_OF_ITEMS
 
static const int MAXIMUM_NUMBER_OF_ITEMS
 

Detailed Description

Definition at line 36 of file ecvCustomViewpointButtonDlg.h.

Constructor & Destructor Documentation

◆ ecvCustomViewpointButtonDlg()

ecvCustomViewpointButtonDlg::ecvCustomViewpointButtonDlg ( QWidget *  parent,
Qt::WindowFlags  f,
QStringList &  toolTips,
QStringList &  configurations,
QString &  currentConfig 
)

Create and initialize the dialog.

◆ ~ecvCustomViewpointButtonDlg()

ecvCustomViewpointButtonDlg::~ecvCustomViewpointButtonDlg ( )
override

Member Function Documentation

◆ getConfigurations()

QStringList ecvCustomViewpointButtonDlg::getConfigurations ( )

◆ getCurrentConfiguration()

QString ecvCustomViewpointButtonDlg::getCurrentConfiguration ( )

◆ getToolTips()

QStringList ecvCustomViewpointButtonDlg::getToolTips ( )

◆ setConfigurations()

void ecvCustomViewpointButtonDlg::setConfigurations ( const QStringList &  configs)

Set/get a list of camera configurations, one for each button. The number of items in configs must match the current number of configs. Use setToolTipsAndConfigurations to change the number of items.

◆ setCurrentConfiguration()

void ecvCustomViewpointButtonDlg::setCurrentConfiguration ( const QString &  config)

Set/get the current camera configuration.

◆ setToolTips()

void ecvCustomViewpointButtonDlg::setToolTips ( const QStringList &  toolTips)

Set/get a list of tool tips, one for each button. The number of items in the toolTips list must match the current number of tooltips being shown. Use setToolTipsAndConfigurations to change the number of items.

◆ setToolTipsAndConfigurations()

void ecvCustomViewpointButtonDlg::setToolTipsAndConfigurations ( const QStringList &  toolTips,
const QStringList &  configs 
)

Set the list of tool tips and configurations. This is the preferred way of settings these as it supports changing the number of items.

Member Data Documentation

◆ DEFAULT_TOOLTIP

const QString ecvCustomViewpointButtonDlg::DEFAULT_TOOLTIP
static

Constant variable that contains the default name for the tool tips.

Definition at line 54 of file ecvCustomViewpointButtonDlg.h.

◆ MAXIMUM_NUMBER_OF_ITEMS

const int ecvCustomViewpointButtonDlg::MAXIMUM_NUMBER_OF_ITEMS
static

Constant variable that defines the maximum number of items.

Definition at line 64 of file ecvCustomViewpointButtonDlg.h.

◆ MINIMUM_NUMBER_OF_ITEMS

const int ecvCustomViewpointButtonDlg::MINIMUM_NUMBER_OF_ITEMS
static

Constant variable that defines the minimum number of items.

Definition at line 59 of file ecvCustomViewpointButtonDlg.h.


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