Signals | Public Member Functions | Static Public Attributes | Protected Slots | Protected Member Functions | List of all members
pqTextureComboBox Class Reference

#include <pqTextureComboBox.h>

Inherits QComboBox.

Signals

void textureChanged (vtkSMProxy *texture)
 Emitted whenever the texture has been changed. More...
 

Public Member Functions

 pqTextureComboBox (vtkSMProxyGroupDomain *domain, QWidget *parent=nullptr)
 
 ~pqTextureComboBox () override=default
 
void updateFromTexture (vtkSMProxy *texture)
 Update the selected index in the combobox using the provided texture if it is present in the combobox. More...
 

Static Public Attributes

static const std::string TEXTURES_GROUP
 

Protected Slots

void onCurrentIndexChanged (int index)
 
void updateTextures ()
 
void proxyRegistered (const QString &group, const QString &, vtkSMProxy *proxy)
 
void proxyUnRegistered (const QString &group, const QString &, vtkSMProxy *proxy)
 

Protected Member Functions

void loadTexture ()
 
bool loadTexture (const QString &filename)
 

Detailed Description

Definition at line 48 of file pqTextureComboBox.h.

Constructor & Destructor Documentation

◆ pqTextureComboBox()

pqTextureComboBox::pqTextureComboBox ( vtkSMProxyGroupDomain domain,
QWidget *  parent = nullptr 
)

◆ ~pqTextureComboBox()

pqTextureComboBox::~pqTextureComboBox ( )
overridedefault

Member Function Documentation

◆ updateFromTexture()

void pqTextureComboBox::updateFromTexture ( vtkSMProxy texture)

Update the selected index in the combobox using the provided texture if it is present in the combobox.

◆ textureChanged

void pqTextureComboBox::textureChanged ( vtkSMProxy texture)
signal

Emitted whenever the texture has been changed.

◆ loadTexture() [1/2]

void pqTextureComboBox::loadTexture ( )
protected

◆ loadTexture() [2/2]

bool pqTextureComboBox::loadTexture ( const QString &  filename)
protected

◆ onCurrentIndexChanged

void pqTextureComboBox::onCurrentIndexChanged ( int  index)
protectedslot

◆ updateTextures

void pqTextureComboBox::updateTextures ( )
protectedslot

◆ proxyRegistered

void pqTextureComboBox::proxyRegistered ( const QString &  group,
const QString &  ,
vtkSMProxy proxy 
)
protectedslot

◆ proxyUnRegistered

void pqTextureComboBox::proxyUnRegistered ( const QString &  group,
const QString &  ,
vtkSMProxy proxy 
)
protectedslot

Member Data Documentation

◆ TEXTURES_GROUP

const std::string pqTextureComboBox::TEXTURES_GROUP
static

Definition at line 63 of file pqTextureComboBox.h.


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