This is a ComboBox that is used on the display tab to select available ShaderReplacements presets paths saved in vtkSMSettings.
More...
#include <pqShaderReplacementsComboBox.h>
Inherits QComboBox.
This is a ComboBox that is used on the display tab to select available ShaderReplacements presets paths saved in vtkSMSettings.
Definition at line 14 of file pqShaderReplacementsComboBox.h.
◆ pqShaderReplacementsComboBox()
pqShaderReplacementsComboBox::pqShaderReplacementsComboBox |
( |
QWidget * |
parent = nullptr | ) |
|
◆ ~pqShaderReplacementsComboBox()
pqShaderReplacementsComboBox::~pqShaderReplacementsComboBox |
( |
| ) |
|
|
overridedefault |
◆ getPathIndex()
int pqShaderReplacementsComboBox::getPathIndex |
( |
const QString & |
presetPath | ) |
const |
Return the combobox entry index corresponding to the provided preset path.
Returned value is 0 if not found.
◆ setPath()
void pqShaderReplacementsComboBox::setPath |
( |
const QString & |
presetPath | ) |
|
Select the combobox entry corresponding to the provided path.
◆ populate()
void pqShaderReplacementsComboBox::populate |
( |
| ) |
|
Clear current combobox content and repopulate it with the shader replacement presets using the files declared in vtkSMSettings.
◆ showPopup()
void pqShaderReplacementsComboBox::showPopup |
( |
| ) |
|
|
overrideprotected |
◆ ShaderReplacementPathsSettings
const char* pqShaderReplacementsComboBox::ShaderReplacementPathsSettings |
|
static |
The documentation for this class was generated from the following file: