src
paraview-5.12
Qt
Widgets
pqExpandableTableView.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 pqExpandableTableView_h
5
#define pqExpandableTableView_h
6
7
#include "
pqTableView.h
"
8
#include "pqWidgetsModule.h"
// for export macro
9
21
class
PQWIDGETS_EXPORT
pqExpandableTableView
:
public
pqTableView
22
{
23
Q_OBJECT
24
typedef
pqTableView
Superclass
;
25
26
public
:
27
pqExpandableTableView
(QWidget* parent =
nullptr
);
28
~
pqExpandableTableView
()
override
;
29
34
void
setPasteEnabled(
bool
enable);
35
36
Q_SIGNALS:
42
void
editPastLastRow();
43
44
protected
:
49
QModelIndex moveCursor(CursorAction cursorAction, Qt::KeyboardModifiers modifiers)
override
;
50
56
void
closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint)
override
;
57
61
void
keyPressEvent(QKeyEvent* event)
override
;
62
63
bool
PasteEnabled
;
64
65
private
:
66
Q_DISABLE_COPY(
pqExpandableTableView
)
67
bool
MoveToNextEditableItem;
68
};
69
70
#endif
pqTableView
a QTableView subclass for ParaView specific customizations.
Definition:
pqTableView.h:23
pqExpandableTableView
pqExpandableTableView extends pqTableView to add support for the following features:
Definition:
pqExpandableTableView.h:21
pqExpandableTableView::PasteEnabled
bool PasteEnabled
Definition:
pqExpandableTableView.h:63
pqTableView.h
Generated by
1.8.17 on Wed Mar 27 2024