RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
colorcombo.h
Go to the documentation of this file.
1
// *************************************************************************************************
2
//
3
// QPropertyEditor v 0.3
4
//
5
// --------------------------------------
6
// Copyright (C) 2007 Volker Wiendl
7
// Acknowledgements to Roman alias banal from qt-apps.org for the Enum enhancement
8
//
9
//
10
// The QPropertyEditor Library is free software; you can redistribute it and/or modify
11
// it under the terms of the GNU General Public License as published by
12
// the Free Software Foundation version 3 of the License
13
//
14
// The Horde3D Scene Editor is distributed in the hope that it will be useful,
15
// but WITHOUT ANY WARRANTY; without even the implied warranty of
16
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
// GNU General Public License for more details.
18
//
19
// You should have received a copy of the GNU General Public License
20
// along with this program. If not, see <http://www.gnu.org/licenses/>.
21
//
22
// *************************************************************************************************
23
24
#ifndef COLORCOMBO_H_
25
#define COLORCOMBO_H_
26
27
#include <QtWidgets/QComboBox>
28
29
class
ColorCombo
:
public
QComboBox
30
{
31
Q_OBJECT
32
public
:
33
ColorCombo
(QWidget* parent = 0);
34
virtual
~ColorCombo
();
35
36
QColor
color
()
const
;
37
void
setColor
(QColor c);
38
39
private
slots:
40
void
currentChanged(
int
index);
41
42
private
:
43
QColor m_init;
44
45
};
46
#endif
ColorCombo::~ColorCombo
virtual ~ColorCombo()
Definition:
colorcombo.cpp:41
ColorCombo::color
QColor color() const
Definition:
colorcombo.cpp:46
ColorCombo
Definition:
colorcombo.h:29
ColorCombo::setColor
void setColor(QColor c)
Definition:
colorcombo.cpp:53
ColorCombo::ColorCombo
ColorCombo(QWidget *parent=0)
Definition:
colorcombo.cpp:28
rioengine
editor
qpropertyeditor
colorcombo.h
Generated on Mon Jan 12 2015 22:23:59 for RioEngine by
1.8.9.1