• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • krita API Reference
  • KDE Home
  • Contact Us
 

KritaWidgets

  • sources
  • kfour-appscomplete
  • krita
  • libs
  • widgets
KisColorSelectorInterface.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016 Boudewijn Rempt <[email protected]>
3  *
4  * SPDX-License-Identifier: LGPL-2.0-or-later
5  */
6 
7 #ifndef KISCOLORSELECTORINTERFACE_H
8 #define KISCOLORSELECTORINTERFACE_H
9 
10 #include "kritawidgets_export.h"
11 
12 #include <QWidget>
13 #include <KoColor.h>
14 
15 class KoColorDisplayRendererInterface;
16 class KoColorSpace;
17 
18 class KRITAWIDGETS_EXPORT KisColorSelectorInterface : public QWidget {
19  Q_OBJECT
20 public:
21  KisColorSelectorInterface(QWidget *parent = 0)
22  : QWidget(parent)
23  {}
24  ~KisColorSelectorInterface() override {}
25  virtual void setConfig(bool forceCircular, bool forceSelfUpdate)
26  {
27  Q_UNUSED(forceCircular);
28  Q_UNUSED(forceSelfUpdate);
29  }
30  virtual void setDisplayRenderer (const KoColorDisplayRendererInterface *displayRenderer)
31  {
32  Q_UNUSED(displayRenderer);
33  }
34 
35  virtual KoColor getCurrentColor() const = 0;
36 
37 Q_SIGNALS:
38  void sigNewColor(const KoColor &c);
39 
40 public Q_SLOTS:
41  virtual void slotSetColor(const KoColor &c) = 0;
51  virtual void slotSetColorSpace(const KoColorSpace *cs);
52 };
53 
54 #endif // KISCOLORSELECTORINTERFACE_H
KisColorSelectorInterface::setConfig
virtual void setConfig(bool forceCircular, bool forceSelfUpdate)
Definition: KisColorSelectorInterface.h:25
QWidget
KisColorSelectorInterface::KisColorSelectorInterface
KisColorSelectorInterface(QWidget *parent=0)
Definition: KisColorSelectorInterface.h:21
KisColorSelectorInterface::setDisplayRenderer
virtual void setDisplayRenderer(const KoColorDisplayRendererInterface *displayRenderer)
Definition: KisColorSelectorInterface.h:30
KisColorSelectorInterface
Definition: KisColorSelectorInterface.h:18
KisColorSelectorInterface::~KisColorSelectorInterface
~KisColorSelectorInterface() override
Definition: KisColorSelectorInterface.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 19 2021 23:44:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KritaWidgets

Skip menu "KritaWidgets"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

krita API Reference

Skip menu "krita API Reference"
  • libs
  •   KritaBasicFlakes
  •   brush
  •   KritaUndo2
  •   KritaFlake
  •   image
  •   KritaPlugin
  •   Krita
  •   KritaPigment
  •   KritaResources
  •   KritaStore
  •   ui
  •   KritaWidgets
  •   KritaWidgetUtils
  • plugins
  •   Assitants
  •   Extensions
  •   Filters
  •   Generators
  •   Formats
  •           src
  •   PaintOps
  •     libpaintop

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal