Signals | Public Member Functions | 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 (vtkSMProxyGroupDomain *domain, bool canLoadNew, 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...
 

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 23 of file pqTextureComboBox.h.

Constructor & Destructor Documentation

◆ pqTextureComboBox() [1/2]

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

◆ pqTextureComboBox() [2/2]

pqTextureComboBox::pqTextureComboBox ( vtkSMProxyGroupDomain domain,
bool  canLoadNew,
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

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