#include <pqCustomViewpointButtonDialog.h>
Inherits QDialog.
Public Member Functions | |
| pqCustomViewpointButtonDialog (QWidget *parent, Qt::WindowFlags f, QStringList &toolTips, QStringList &configurations, QString ¤tConfig) | |
| Create and initialize the dialog. More... | |
| ~pqCustomViewpointButtonDialog () override | |
| void | setToolTipsAndConfigurations (const QStringList &toolTips, const QStringList &configs) |
| Set the list of tool tips and configurations. More... | |
| void | setToolTips (const QStringList &toolTips) |
| Set/get a list of tool tips, one for each button. More... | |
| QStringList | getToolTips () |
| Set/get a list of tool tips, one for each button. More... | |
| void | setConfigurations (const QStringList &configs) |
| Set/get a list of camera configurations, one for each button. More... | |
| QStringList | getConfigurations () |
| Set/get a list of camera configurations, one for each button. More... | |
| void | setCurrentConfiguration (const QString &config) |
| Set/get the current camera configuration. More... | |
| QString | getCurrentConfiguration () |
| Set/get the current camera configuration. More... | |
Static Public Attributes | |
| static const QString | DEFAULT_TOOLTIP |
| Constant variable that contains the default name for the tool tips. More... | |
| static const int | MINIMUM_NUMBER_OF_ITEMS |
| Constant variable that defines the minimum number of items. More... | |
| static const int | MAXIMUM_NUMBER_OF_ITEMS |
| Constant variable that defines the maximum number of items. More... | |
Friends | |
| class | pqCustomViewpointButtonDialogUI |
Definition at line 61 of file pqCustomViewpointButtonDialog.h.
| pqCustomViewpointButtonDialog::pqCustomViewpointButtonDialog | ( | QWidget * | parent, |
| Qt::WindowFlags | f, | ||
| QStringList & | toolTips, | ||
| QStringList & | configurations, | ||
| QString & | currentConfig | ||
| ) |
Create and initialize the dialog.
|
override |
| void pqCustomViewpointButtonDialog::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.
| void pqCustomViewpointButtonDialog::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.
| QStringList pqCustomViewpointButtonDialog::getToolTips | ( | ) |
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.
| void pqCustomViewpointButtonDialog::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.
| QStringList pqCustomViewpointButtonDialog::getConfigurations | ( | ) |
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.
| void pqCustomViewpointButtonDialog::setCurrentConfiguration | ( | const QString & | config | ) |
Set/get the current camera configuration.
| QString pqCustomViewpointButtonDialog::getCurrentConfiguration | ( | ) |
Set/get the current camera configuration.
|
friend |
Definition at line 138 of file pqCustomViewpointButtonDialog.h.
|
static |
Constant variable that contains the default name for the tool tips.
Definition at line 77 of file pqCustomViewpointButtonDialog.h.
Constant variable that defines the minimum number of items.
Definition at line 82 of file pqCustomViewpointButtonDialog.h.
Constant variable that defines the maximum number of items.
Definition at line 87 of file pqCustomViewpointButtonDialog.h.
1.8.13 on Tue May 18 2021