src
paraview-5.12
Qt
Components
pqShaderReplacementsComboBox.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
#ifndef pqShaderReplacementsComboBox_h
5
#define pqShaderReplacementsComboBox_h
6
7
#include "pqComponentsModule.h"
8
#include <QComboBox>
9
14
class
PQCOMPONENTS_EXPORT
pqShaderReplacementsComboBox
:
public
QComboBox
15
{
16
Q_OBJECT
17
typedef
QComboBox Superclass;
18
19
public
:
20
pqShaderReplacementsComboBox
(QWidget* parent =
nullptr
);
21
~
pqShaderReplacementsComboBox
()
override
=
default
;
22
27
int
getPathIndex(
const
QString& presetPath)
const
;
28
32
void
setPath(
const
QString& presetPath);
33
38
void
populate();
39
43
static
const
char
*
ShaderReplacementPathsSettings
;
44
45
protected
:
46
void
showPopup()
override
;
47
48
private
:
49
Q_DISABLE_COPY(
pqShaderReplacementsComboBox
)
50
};
51
52
#endif
pqShaderReplacementsComboBox
This is a ComboBox that is used on the display tab to select available ShaderReplacements presets pat...
Definition:
pqShaderReplacementsComboBox.h:14
pqShaderReplacementsComboBox::ShaderReplacementPathsSettings
static const char * ShaderReplacementPathsSettings
Setting name of the variable that stores the paths of the presets.
Definition:
pqShaderReplacementsComboBox.h:43
Generated by
1.8.17 on Wed Mar 27 2024