Warning, file /sdk/ktechlab/src/gui/itemeditor/propertyeditorcolor.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 /***************************************************************************
0002  *   Copyright (C) 2003 Cedric Pasteur <cedric.pasteur@free.fr>            *
0003  *   Copyright (C) 2006 David Saxton <david@bluehaze.org>                  *
0004  *                                                                         *
0005  *   This program is free software; you can redistribute it and/or modify  *
0006  *   it under the terms of the GNU General Public License as published by  *
0007  *   the Free Software Foundation; either version 2 of the License, or     *
0008  *   (at your option) any later version.                                   *
0009  ***************************************************************************/
0010 
0011 #ifndef PROPERTYEDITORFONT_H
0012 #define PROPERTYEDITORFONT_H
0013 
0014 #include "propertysubeditor.h"
0015 
0016 class KColorCombo;
0017 class QLabel;
0018 class QResizeEvent;
0019 
0020 class PropertyEditorColor : public PropertySubEditor
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     PropertyEditorColor(QWidget *parent, Property *property);
0026     ~PropertyEditorColor() override
0027     {
0028         ;
0029     }
0030 
0031     bool eventFilter(QObject *watched, QEvent *e) override;
0032 
0033 protected slots:
0034     void valueChanged(const QColor &color);
0035 
0036 protected:
0037     KColorCombo *m_pColorCombo;
0038     QColor m_color;
0039 };
0040 
0041 #endif