![]() |
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 | |
| const static QString | DEFAULT_TOOLTIP |
| const static int | MINIMUM_NUMBER_OF_ITEMS = 0 |
| const static int | MAXIMUM_NUMBER_OF_ITEMS = 30 |
| ecvCustomViewpointButtonDlg::ecvCustomViewpointButtonDlg | ( | QWidget * | parent, |
| Qt::WindowFlags | f, | ||
| QStringList & | toolTips, | ||
| QStringList & | configurations, | ||
| QString & | currentConfig | ||
| ) |
Create and initialize the dialog.
References ecvCustomViewpointButtonDlg(), pqCustomViewpointButtonDialogUI, setCurrentConfiguration(), and setToolTipsAndConfigurations().
Referenced by ecvCustomViewpointButtonDlg().
|
override |
References NULL.
| QStringList ecvCustomViewpointButtonDlg::getConfigurations | ( | ) |
Referenced by ecvCameraParamEditDlg::ConfigureCustomViewpoints().
| QString ecvCustomViewpointButtonDlg::getCurrentConfiguration | ( | ) |
| QStringList ecvCustomViewpointButtonDlg::getToolTips | ( | ) |
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.
References CVLog::Error().
Referenced by setToolTipsAndConfigurations().
| void ecvCustomViewpointButtonDlg::setCurrentConfiguration | ( | const QString & | config | ) |
Set/get the current camera configuration.
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.
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.
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.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), and setToolTipsAndConfigurations().
|
static |
Constant variable that defines the maximum number of items.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::deleteRow(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), setToolTipsAndConfigurations(), and ecvCustomViewpointsToolbar::updateEnabledState().
|
static |
Constant variable that defines the minimum number of items.
Referenced by ecvCameraParamEditDlg::CustomViewpointConfigurations(), ecvCameraParamEditDlg::CustomViewpointToolTips(), pqCustomViewpointButtonDialogUI::setNumberOfRows(), and setToolTipsAndConfigurations().