ParaView
|
This is a ComboBox that is used on the display tab to select available textures. More...
#include <pqTextureComboBox.h>
Inherits QComboBox.
Public Slots | |
void | setRepresentation (pqDataRepresentation *repr) |
Set the representation. More... | |
void | setRenderView (pqRenderView *rview) |
void | reload () |
Forces a reload of the widget. More... | |
Public Member Functions | |
pqTextureComboBox (QWidget *parent=0) | |
virtual | ~pqTextureComboBox () |
Protected Slots | |
virtual void | updateEnableState () |
Update the enable state of the widget. More... | |
void | onActivated (int) |
Called when user activates an item. More... | |
void | updateFromProperty () |
void | updateTextures () |
void | proxyRegistered (const QString &groupname) |
void | proxyUnRegistered (const QString &group, const QString &, vtkSMProxy *proxy) |
Protected Member Functions | |
vtkSMProxy * | getTextureProxy (const QVariant &data) const |
Get the texture proxy associated with the given data. More... | |
void | loadTexture () |
Prompts the user to load a texture file. More... | |
bool | loadTexture (const QString &filename) |
This is a ComboBox that is used on the display tab to select available textures.
It checks whether current representation has texture coordinates, if not, the widget will be disabled automatically. It also provides the user with an option to load new images as textures.
Definition at line 47 of file pqTextureComboBox.h.
pqTextureComboBox::pqTextureComboBox | ( | QWidget * | parent = 0 | ) |
|
virtual |
|
slot |
Set the representation.
We need the representation, since we need to update the enable state of the widget depending on whether texture coordinates are available.
|
slot |
|
slot |
Forces a reload of the widget.
Generally one does not need to call this method explicity.
|
protectedvirtualslot |
Update the enable state of the widget.
|
protectedslot |
Called when user activates an item.
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protectedslot |
|
protected |
Get the texture proxy associated with the given data.
|
protected |
Prompts the user to load a texture file.
|
protected |