![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <ecvCustomViewpointButtonDlg.h>


Public Member Functions | |
| ecvCustomViewpointButtonDlg (QWidget *parent, Qt::WindowFlags f, QStringList &toolTips, QStringList &configurations, QString ¤tConfig) | |
| ~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 = 0 |
| static const int | MAXIMUM_NUMBER_OF_ITEMS = 30 |
Definition at line 36 of file ecvCustomViewpointButtonDlg.h.
| ecvCustomViewpointButtonDlg::ecvCustomViewpointButtonDlg | ( | QWidget * | parent, |
| Qt::WindowFlags | f, | ||
| QStringList & | toolTips, | ||
| QStringList & | configurations, | ||
| QString & | currentConfig | ||
| ) |
Create and initialize the dialog.
Definition at line 205 of file ecvCustomViewpointButtonDlg.cpp.
References ecvCustomViewpointButtonDlg(), pqCustomViewpointButtonDialogUI, setCurrentConfiguration(), and setToolTipsAndConfigurations().
Referenced by ecvCustomViewpointButtonDlg().
|
override |
Definition at line 225 of file ecvCustomViewpointButtonDlg.cpp.
References NULL.
| QStringList ecvCustomViewpointButtonDlg::getConfigurations | ( | ) |
Definition at line 285 of file ecvCustomViewpointButtonDlg.cpp.
Referenced by ecvCameraParamEditDlg::ConfigureCustomViewpoints().
| QString ecvCustomViewpointButtonDlg::getCurrentConfiguration | ( | ) |
Definition at line 296 of file ecvCustomViewpointButtonDlg.cpp.
| QStringList ecvCustomViewpointButtonDlg::getToolTips | ( | ) |
Definition at line 270 of file ecvCustomViewpointButtonDlg.cpp.
References pqCustomViewpointButtonDialogUI::toolTips().
Referenced by ecvCameraParamEditDlg::ConfigureCustomViewpoints().
| 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.
Definition at line 275 of file ecvCustomViewpointButtonDlg.cpp.
References CVLog::Error().
Referenced by setToolTipsAndConfigurations().
| void ecvCustomViewpointButtonDlg::setCurrentConfiguration | ( | const QString & | config | ) |
Set/get the current camera configuration.
Definition at line 290 of file ecvCustomViewpointButtonDlg.cpp.
Referenced by ecvCustomViewpointButtonDlg().
| 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.
Definition at line 261 of file ecvCustomViewpointButtonDlg.cpp.
References CVLog::Error(), and pqCustomViewpointButtonDialogUI::setToolTips().
| 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.
Definition at line 231 of file ecvCustomViewpointButtonDlg.cpp.
References DEFAULT_TOOLTIP, MAXIMUM_NUMBER_OF_ITEMS, MINIMUM_NUMBER_OF_ITEMS, setConfigurations(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), and pqCustomViewpointButtonDialogUI::setToolTips().
Referenced by ecvCustomViewpointButtonDlg().
|
static |
Constant variable that contains the default name for the tool tips.
Definition at line 54 of file ecvCustomViewpointButtonDlg.h.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), and setToolTipsAndConfigurations().
|
static |
Constant variable that defines the maximum number of items.
Definition at line 64 of file ecvCustomViewpointButtonDlg.h.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::deleteRow(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), setToolTipsAndConfigurations(), and ecvCustomViewpointsToolbar::updateEnabledState().
|
static |
Constant variable that defines the minimum number of items.
Definition at line 59 of file ecvCustomViewpointButtonDlg.h.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), and setToolTipsAndConfigurations().