ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
ccColorStyledDelegate.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
10
// ##########################################################################
11
// # #
12
// # CloudViewer PLUGIN: qCloudLayers #
13
// # #
14
// # This program is free software; you can redistribute it and/or modify #
15
// # it under the terms of the GNU General Public License as published by #
16
// # the Free Software Foundation; version 2 of the License. #
17
// # #
18
// # This program is distributed in the hope that it will be useful, #
19
// # but WITHOUT ANY WARRANTY; without even the implied warranty of #
20
// # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
21
// # GNU General Public License for more details. #
22
// # #
23
// # COPYRIGHT: WigginsTech 2022 #
24
// # #
25
// ##########################################################################
26
27
// QT
28
#include <QStyledItemDelegate>
29
30
class
QPainter;
31
32
class
ccColorStyledDelegate
:
public
QStyledItemDelegate {
33
Q_OBJECT
34
35
public
:
36
ccColorStyledDelegate
(QObject* parent =
nullptr
);
37
void
paint
(QPainter* painter,
38
const
QStyleOptionViewItem& option,
39
const
QModelIndex& index)
const
;
40
};
ccColorStyledDelegate
Definition:
ccColorStyledDelegate.h:32
ccColorStyledDelegate::paint
void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
Definition:
ccColorStyledDelegate.cpp:16
ccColorStyledDelegate::ccColorStyledDelegate
ccColorStyledDelegate(QObject *parent=nullptr)
Definition:
ccColorStyledDelegate.cpp:13
plugins
core
Standard
qCloudLayers
include
ccColorStyledDelegate.h
Generated on Wed Jan 28 2026 09:01:07 for ACloudViewer by
1.9.1