src
paraview-5.12
Qt
Components
pqShaderReplacementsSelectorPropertyWidget.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Sandia Corporation
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef pqShaderReplacementsSelectorPropertyWidget_h
6
#define pqShaderReplacementsSelectorPropertyWidget_h
7
8
#include "pqComponentsModule.h"
9
10
#include "
pqPropertyWidget.h
"
11
19
class
PQCOMPONENTS_EXPORT
pqShaderReplacementsSelectorPropertyWidget
:
public
pqPropertyWidget
20
{
21
Q_OBJECT
22
public
:
23
pqShaderReplacementsSelectorPropertyWidget
(
24
vtkSMProxy
* proxy,
vtkSMProperty
* property, QWidget* parent =
nullptr
);
25
~
pqShaderReplacementsSelectorPropertyWidget
()
override
;
26
27
protected
Q_SLOTS:
28
void
updateShaderReplacements();
29
void
textChangedAndEditingFinished();
30
void
onLoad();
31
void
onDelete();
32
void
onPresetChanged(
int
index
);
33
34
protected
:
// NOLINT(readability-redundant-access-specifiers)
35
bool
loadShaderReplacements(
const
QString& filename);
36
void
refreshView();
37
38
private
:
39
class
pqInternal;
40
pqInternal* Internal;
41
};
42
43
#endif
pqPropertyWidget
pqPropertyWidget represents a widget created for each property of a proxy on the pqPropertiesPanel (f...
Definition:
pqPropertyWidget.h:25
vtkSMProperty
superclass for all SM properties
Definition:
vtkSMProperty.h:144
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqPropertyWidget.h
pqShaderReplacementsSelectorPropertyWidget
Property widget for selecting the ShaderReplacements to apply to a geometry.
Definition:
pqShaderReplacementsSelectorPropertyWidget.h:19
index
index
Generated by
1.8.17 on Wed Mar 27 2024