CEDRIC
Revision_backup-2009-02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
EventDisplay
src
ColorEditor.h
Go to the documentation of this file.
1
/******************************************************************************
2
*
3
* Copyright (C) 2008 Boris Iven, Max Hermann
4
*
5
* This file is part of the "CEDRIC Event Display" application.
6
*
7
*****************************************************************************/
8
9
#ifndef COLOREDITOR_H_
10
#define COLOREDITOR_H_
11
12
#include <QWidget>
13
14
class
QColor;
15
16
17
class
ColorEditor
:
public
QWidget
18
{
19
Q_OBJECT
20
Q_PROPERTY(QColor
color
READ
color
WRITE
setColor
USER
true
)
21
22
public
:
23
ColorEditor
(QWidget* parent = 0);
24
//virtual ~ColorEditor(); //bla
25
26
public
:
27
QColor
color
()
const
;
28
void
setColor
(QColor c);
29
30
private
:
31
QColor _color;
32
//void populateList();
33
};
34
35
#endif
/*COLOREDITOR_H_*/
ColorEditor::color
QColor color() const
ColorEditor::setColor
void setColor(QColor c)
Definition:
ColorEditor.cpp:30
ColorEditor
Definition:
ColorEditor.h:17
ColorEditor::ColorEditor
ColorEditor(QWidget *parent=0)
Definition:
ColorEditor.cpp:17
Generated on Mon Feb 15 2016 20:35:43 for CEDRIC by
1.8.6