Loading [MathJax]/extensions/MathMenu.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-301-gee1fb4d5 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
Applications
►
ApplicationsLib
►
CLI
▼
DataExplorer
►
Base
▼
DataView
►
DiagramView
►
StratView
►
AddFaultsToVoxelGridDialog.cpp
►
AddFaultsToVoxelGridDialog.h
AddLayerToMeshDialog.cpp
►
AddLayerToMeshDialog.h
►
BaseItem.h
ColorTableModel.cpp
►
ColorTableModel.h
ColorTableView.cpp
►
ColorTableView.h
CondFromRasterDialog.cpp
►
CondFromRasterDialog.h
►
CondItem.h
CreateStructuredGridDialog.cpp
►
CreateStructuredGridDialog.h
DataExplorerSettingsDialog.cpp
►
DataExplorerSettingsDialog.h
DirectConditionGenerator.cpp
►
DirectConditionGenerator.h
►
ElementTreeModel.cpp
►
ElementTreeModel.h
ElementTreeView.cpp
►
ElementTreeView.h
FemConditionModel.cpp
►
FemConditionModel.h
FemConditionView.cpp
►
FemConditionView.h
GEOModels.cpp
►
GEOModels.h
►
GeoObjectListItem.h
GeoOnMeshMappingDialog.cpp
►
GeoOnMeshMappingDialog.h
GeoTabWidget.cpp
►
GeoTabWidget.h
►
GeoTreeItem.h
GeoTreeModel.cpp
►
GeoTreeModel.h
GeoTreeView.cpp
►
GeoTreeView.h
GMSHPrefsDialog.cpp
►
GMSHPrefsDialog.h
Layers2GridDialog.cpp
►
Layers2GridDialog.h
LicenseDialog.cpp
►
LicenseDialog.h
LinearEditDialog.cpp
►
LinearEditDialog.h
LineEditDialog.cpp
►
LineEditDialog.h
MergeGeometriesDialog.cpp
►
MergeGeometriesDialog.h
MeshAnalysisDialog.cpp
►
MeshAnalysisDialog.h
MeshElementRemovalDialog.cpp
►
MeshElementRemovalDialog.h
MeshItem.cpp
►
MeshItem.h
MeshLayerEditDialog.cpp
►
MeshLayerEditDialog.h
MeshMapping2DDialog.cpp
►
MeshMapping2DDialog.h
MeshModel.cpp
►
MeshModel.h
MeshQualitySelectionDialog.cpp
►
MeshQualitySelectionDialog.h
MeshTabWidget.cpp
►
MeshTabWidget.h
MeshValueEditDialog.cpp
►
MeshValueEditDialog.h
MeshView.cpp
►
MeshView.h
ModellingTabWidget.cpp
►
ModellingTabWidget.h
ModelTreeItem.cpp
►
ModelTreeItem.h
ProcessModel.cpp
►
ProcessModel.h
►
ProcessVarItem.h
ProcessView.cpp
►
ProcessView.h
RasterDataToMeshDialog.cpp
►
RasterDataToMeshDialog.h
SaveMeshDialog.cpp
►
SaveMeshDialog.h
SelectMeshDialog.cpp
►
SelectMeshDialog.h
SetNameDialog.cpp
►
SetNameDialog.h
SHPImportDialog.cpp
►
SHPImportDialog.h
StationTabWidget.cpp
►
StationTabWidget.h
StationTreeModel.cpp
►
StationTreeModel.h
StationTreeView.cpp
►
StationTreeView.h
SurfaceExtractionDialog.cpp
►
SurfaceExtractionDialog.h
TranslateDataDialog.cpp
►
TranslateDataDialog.h
►
Vtu2GridDialog.cpp
►
Vtu2GridDialog.h
►
VtkVis
►
main.cpp
mainwindow.cpp
►
mainwindow.h
►
DataHolderLib
►
FileIO
►
InSituLib
►
Python
►
Utils
►
BaseLib
►
build
►
ChemistryLib
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
ColorTableView.h
Go to the documentation of this file.
1
14
#pragma once
15
16
#include <QItemDelegate>
17
#include <QTableView>
18
22
class
ColorTableView
:
public
QTableView
23
{
24
Q_OBJECT
25
26
public
:
28
explicit
ColorTableView
(QWidget* parent =
nullptr
);
29
};
22
class
ColorTableView
:
public
QTableView {
…
};
30
34
class
ColorTableViewDelegate
:
public
QItemDelegate
35
{
36
Q_OBJECT
37
38
public
:
40
explicit
ColorTableViewDelegate
(QWidget* parent =
nullptr
)
41
: QItemDelegate(parent)
42
{
43
}
40
explicit
ColorTableViewDelegate
(QWidget* parent =
nullptr
) {
…
}
45
void
paint
(QPainter* painter,
const
QStyleOptionViewItem& option,
46
const
QModelIndex& index)
const override
;
47
48
QSize
sizeHint
(
const
QStyleOptionViewItem& option,
49
const
QModelIndex& index)
const override
;
50
};
34
class
ColorTableViewDelegate
:
public
QItemDelegate {
…
};
ColorTableViewDelegate
Definition
ColorTableView.h:35
ColorTableViewDelegate::ColorTableViewDelegate
ColorTableViewDelegate(QWidget *parent=nullptr)
Constructor.
Definition
ColorTableView.h:40
ColorTableViewDelegate::sizeHint
QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const override
Definition
ColorTableView.cpp:49
ColorTableViewDelegate::paint
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
Overwrites the paint-method to set user-defined properties instead of the default properties.
Definition
ColorTableView.cpp:29
ColorTableView
Definition
ColorTableView.h:23
ColorTableView::ColorTableView
ColorTableView(QWidget *parent=nullptr)
Constructor.
Definition
ColorTableView.cpp:21
Applications
DataExplorer
DataView
ColorTableView.h
Generated by
1.12.0