VisLU Flow 0.1

src/ColorPicker/screen.h

00001 /*
00002 
00003 Copyright (C) 2009, Etienne Moutot <e.moutot@gmail.com>
00004 
00005 This file is part of colorPickerWidget.
00006 
00007     colorPickerWidget is free software: you can redistribute it and/or modify
00008     it under the terms of the GNU General Public License as published by
00009     the Free Software Foundation, either version 3 of the License, or
00010     (at your option) any later version.
00011 
00012     colorPickerWidget is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU General Public License for more details.
00016 
00017     You should have received a copy of the GNU General Public License
00018     along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 #ifndef SCREEN_H
00022 #define SCREEN_H
00023 
00024 #include <QWidget>
00025 #include <QLabel>
00026 
00027 #include <QMouseEvent>
00028 
00029 
00030 class screen : public QWidget
00031 {
00032 
00033     Q_OBJECT
00034 
00035 public:
00036     screen();
00037 
00038 private:
00039     QLabel *label;
00040 
00041 protected:
00042     virtual void mousePressEvent(QMouseEvent *event);
00043 
00044 signals:
00045     void colorSelected(QColor color);
00046 };
00047 
00048 #endif // SCREEN_H
 All Classes Functions Variables