src
paraview-5.12
Qt
Components
pqAnimatableProxyComboBox.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 pqAnimatableProxyComboBox_h
5
#define pqAnimatableProxyComboBox_h
6
7
#include "pqComponentsModule.h"
8
#include "
pqSMProxy.h
"
9
#include <QComboBox>
10
11
class
vtkSMProxy
;
12
class
pqPipelineSource
;
13
class
pqServerManagerModelItem
;
14
20
class
PQCOMPONENTS_EXPORT
pqAnimatableProxyComboBox
:
public
QComboBox
21
{
22
Q_OBJECT
23
typedef
QComboBox Superclass;
24
25
public
:
26
pqAnimatableProxyComboBox
(QWidget* parent =
nullptr
);
27
~
pqAnimatableProxyComboBox
()
override
;
28
32
vtkSMProxy
* getCurrentProxy()
const
;
33
34
void
addProxy(
int
index
,
const
QString& label,
vtkSMProxy
*);
35
void
removeProxy(
const
QString& label);
36
int
findProxy(
vtkSMProxy
*);
37
38
protected
Q_SLOTS:
39
void
onSourceAdded(
pqPipelineSource
* src);
40
void
onSourceRemoved(
pqPipelineSource
* src);
41
void
onNameChanged(
pqServerManagerModelItem
* src);
42
void
onCurrentSourceChanged(
int
idx);
43
44
Q_SIGNALS:
45
void
currentProxyChanged(
vtkSMProxy
*);
46
47
private
:
48
Q_DISABLE_COPY(
pqAnimatableProxyComboBox
)
49
};
50
51
#endif
vtkSMProxy
proxy for a VTK object(s) on a server
Definition:
vtkSMProxy.h:140
pqSMProxy.h
pqPipelineSource
PQ representation for a vtkSMProxy that can be involved in a pipeline.
Definition:
pqPipelineSource.h:32
pqServerManagerModelItem
pqServerManagerModelItem is a element maintained by pqServerManagerModel.
Definition:
pqServerManagerModelItem.h:19
pqAnimatableProxyComboBox
pqAnimatableProxyComboBox is a combo box that can list the animatable proxies.
Definition:
pqAnimatableProxyComboBox.h:20
index
index
Generated by
1.8.17 on Wed Mar 27 2024