Qt
Components
pqSpreadSheetColumnsVisibility.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef pqSpreadSheetColumnsVisibility_h
4
#define pqSpreadSheetColumnsVisibility_h
5
6
#include "
pqComponentsModule.h
"
7
8
#include "
pqSpreadSheetViewModel.h
"
9
#include "
vtkSMViewProxy.h
"
10
11
#include <QCheckBox>
12
#include <QMenu>
13
#include <QWidgetAction>
14
19
class
PQCOMPONENTS_EXPORT
pqSpreadSheetColumnsVisibility
20
{
21
public
:
25
static
void
populateMenu(
vtkSMViewProxy
* proxy,
pqSpreadSheetViewModel
* model, QMenu* menu);
26
27
private
:
28
static
QCheckBox* addCheckableAction(QMenu* menu,
const
QString& text,
bool
checked);
29
30
static
void
updateAllCheckState(QCheckBox* allCheckbox,
const
std::vector<QCheckBox*>& cboxes);
31
};
32
33
#endif
pqComponentsModule.h
PQCOMPONENTS_EXPORT
#define PQCOMPONENTS_EXPORT
Definition:
pqComponentsModule.h:15
vtkSMViewProxy
Superclass for all view proxies.
Definition:
vtkSMViewProxy.h:42
vtkSMViewProxy.h
pqSpreadSheetColumnsVisibility
Generate a menu to control what columns we want to display from a pqSpreadSheetViewModel.
Definition:
pqSpreadSheetColumnsVisibility.h:19
pqSpreadSheetViewModel
Definition:
pqSpreadSheetViewModel.h:29
pqSpreadSheetViewModel.h
Generated by
1.8.13 on Tue Oct 1 2024