Qt
Widgets
pqTreeViewExpandState.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 pqTreeViewExpandState_h
5
#define pqTreeViewExpandState_h
6
7
#include "pqWidgetsModule.h"
// for exports
8
#include <QObject>
9
#include <QScopedPointer>
// for ivar
10
class
QTreeView;
11
43
class
PQWIDGETS_EXPORT
pqTreeViewExpandState
:
public
QObject
44
{
45
Q_OBJECT
46
typedef
QObject Superclass;
47
48
public
:
49
pqTreeViewExpandState
(QObject* parent =
nullptr
);
50
~
pqTreeViewExpandState
()
override
;
51
52
void
save
(QTreeView* treeView);
53
void
restore(QTreeView* treeView);
54
55
private
:
56
Q_DISABLE_COPY(
pqTreeViewExpandState
);
57
class
pqInternals;
58
QScopedPointer<pqInternals> Internals;
59
};
60
61
#endif
pqTreeViewExpandState
save/restore expand-state for items in a tree view.
Definition:
pqTreeViewExpandState.h:43
save
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
Generated by
1.8.13 on Tue Jan 21 2025