ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
colorpushbutton.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
#include "../qPCL.h"
11
#include "
qtcolorpicker.h
"
12
13
namespace
Widgets
{
14
15
class
QPCL_ENGINE_LIB_API
ColorPushButton
:
public
QtColorPicker
{
16
Q_OBJECT
17
18
public
:
19
ColorPushButton
(QWidget* parent = 0);
20
~
ColorPushButton
();
21
void
setColor
(
const
QColor& c) { setCurrentColor(c); }
22
QColor
color
() {
return
currentColor(); }
23
24
signals
:
25
void
colorChanged
();
26
27
private
:
28
Q_DISABLE_COPY(
ColorPushButton
)
29
};
30
31
}
// namespace Widgets
signals
#define signals
Definition:
PythonPlugin.cpp:26
Widgets::ColorPushButton
ColorPushButton, 是对QtColorPicker的扩展.
Definition:
colorpushbutton.h:15
Widgets::ColorPushButton::color
QColor color()
Definition:
colorpushbutton.h:22
Widgets::ColorPushButton::setColor
void setColor(const QColor &c)
Definition:
colorpushbutton.h:21
Widgets::ColorPushButton::colorChanged
void colorChanged()
Widgets::QtColorPicker
Definition:
qtcolorpicker.h:22
Widgets
Definition:
colorcombobox.cpp:16
QPCL_ENGINE_LIB_API
#define QPCL_ENGINE_LIB_API
Definition:
qPCL.h:15
qtcolorpicker.h
libs
PCLEngine
VtkUtils
colorpushbutton.h
Generated on Tue Feb 3 2026 07:12:29 for ACloudViewer by
1.9.1