Public Member Functions | Static Public Attributes | Friends | List of all members
pqCustomViewpointButtonDialog Class Reference

#include <pqCustomViewpointButtonDialog.h>

Inherits QDialog.

Public Member Functions

 pqCustomViewpointButtonDialog (QWidget *parent, Qt::WindowFlags f, QStringList &toolTips, QStringList &configurations, QString &currentConfig)
 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
 

Detailed Description

Definition at line 33 of file pqCustomViewpointButtonDialog.h.

Constructor & Destructor Documentation

◆ pqCustomViewpointButtonDialog()

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

Create and initialize the dialog.

◆ ~pqCustomViewpointButtonDialog()

pqCustomViewpointButtonDialog::~pqCustomViewpointButtonDialog ( )
override

Member Function Documentation

◆ setToolTipsAndConfigurations()

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.

◆ setToolTips()

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.

◆ getToolTips()

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.

◆ setConfigurations()

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.

◆ getConfigurations()

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.

◆ setCurrentConfiguration()

void pqCustomViewpointButtonDialog::setCurrentConfiguration ( const QString &  config)

Set/get the current camera configuration.

◆ getCurrentConfiguration()

QString pqCustomViewpointButtonDialog::getCurrentConfiguration ( )

Set/get the current camera configuration.

Friends And Related Function Documentation

◆ pqCustomViewpointButtonDialogUI

friend class pqCustomViewpointButtonDialogUI
friend

Definition at line 110 of file pqCustomViewpointButtonDialog.h.

Member Data Documentation

◆ DEFAULT_TOOLTIP

const QString pqCustomViewpointButtonDialog::DEFAULT_TOOLTIP
static

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

Definition at line 49 of file pqCustomViewpointButtonDialog.h.

◆ MINIMUM_NUMBER_OF_ITEMS

const int pqCustomViewpointButtonDialog::MINIMUM_NUMBER_OF_ITEMS
static

Constant variable that defines the minimum number of items.

Definition at line 54 of file pqCustomViewpointButtonDialog.h.

◆ MAXIMUM_NUMBER_OF_ITEMS

const int pqCustomViewpointButtonDialog::MAXIMUM_NUMBER_OF_ITEMS
static

Constant variable that defines the maximum number of items.

Definition at line 59 of file pqCustomViewpointButtonDialog.h.


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