Back to index

texmacs  1.0.7.15
qt_color_picker_widget.hpp
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003  * MODULE     : qt_color_picker_widget.hpp
00004  * DESCRIPTION: 
00005  * COPYRIGHT  : (C) 2010 Miguel de Benito Delgado
00006  *******************************************************************************
00007  * This software falls under the GNU general public license version 3 or later.
00008  * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009  * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010  ******************************************************************************/
00011 
00012 #ifndef QT_COLOR_PICKER_WIDGET_HPP
00013 #define QT_COLOR_PICKER_WIDGET_HPP
00014 
00015 #include "qt_widget.hpp"
00016 
00017 #include <QColor>
00018 
00028 class qt_color_picker_widget_rep: public qt_widget_rep { 
00029 public:
00030   qt_color_picker_widget_rep (command, bool, array<tree>);
00031   ~qt_color_picker_widget_rep ();
00032   
00033   virtual void            send (slot s, blackbox val);
00034   widget   plain_window_widget (string s, command q);
00035 
00036   void showDialog();
00037   
00038 protected:
00039   string            _windowTitle;
00040   command _commandAfterExecution;
00041   bool              _pickPattern;
00042 };
00043 
00044 
00045 #endif    // QT_COLOR_PICKER_WIDGET_HPP