src
paraview-5.12
Qt
ApplicationComponents
pqViewResolutionPropertyWidget.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 pqViewResolutionPropertyWidget_h
5
#define pqViewResolutionPropertyWidget_h
6
7
#include "pqApplicationComponentsModule.h"
// needed for exports
8
#include "
pqPropertyWidget.h
"
9
#include <QScopedPointer>
// needed for ivar
10
27
class
PQAPPLICATIONCOMPONENTS_EXPORT
pqViewResolutionPropertyWidget
:
public
pqPropertyWidget
28
{
29
Q_OBJECT
30
typedef
pqPropertyWidget
Superclass
;
31
32
public
:
33
pqViewResolutionPropertyWidget
(
34
vtkSMProxy
* proxy,
vtkSMProperty
* smproperty, QWidget* parent =
nullptr
);
35
~
pqViewResolutionPropertyWidget
()
override
;
36
38
43
void
apply
()
override
;
44
void
reset
()
override
;
46
47
Q_SIGNALS:
49
52
void
highlightResetButton();
53
void
clearHighlight();
55
56
private
Q_SLOTS:
57
void
resetButtonClicked();
58
void
scale
(
double
factor);
59
void
applyPreset();
60
void
applyRecent();
61
void
widthTextEdited(
const
QString&);
62
void
heightTextEdited(
const
QString&);
63
void
lockAspectRatioToggled(
bool
);
64
65
private
:
// NOLINT(readability-redundant-access-specifiers)
66
Q_DISABLE_COPY(
pqViewResolutionPropertyWidget
);
67
class
pqInternals;
68
QScopedPointer<pqInternals> Internals;
69
};
70
71
#endif
scale
scale
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
pqPropertyWidget::apply
virtual void apply()
pqViewResolutionPropertyWidget
widget for view resolution.
Definition:
pqViewResolutionPropertyWidget.h:27
pqPropertyWidget::reset
virtual void reset()
Generated by
1.8.17 on Wed Mar 27 2024