Krita Source Code Documentation
Loading...
Searching...
No Matches
kis_color_selector_ng_docker_widget.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2010 Adam Celarek <kdedev at xibo dot at>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7
8#ifndef KIS_COLOR_SELECTOR_NG_DOCKER_WIDGET_H
9#define KIS_COLOR_SELECTOR_NG_DOCKER_WIDGET_H
10
11#include <QWidget>
12#include <QPointer>
13#include <QToolButton>
14
15#include <kis_canvas2.h>
16
17class QAction;
18
19class KisCommonColors;
20class KisColorHistory;
22
23class QVBoxLayout;
24class QHBoxLayout;
25
26class KisColorSelectorNgDockerWidget : public QWidget
27{
28Q_OBJECT
29public:
30 explicit KisColorSelectorNgDockerWidget(QWidget *parent = 0);
31 void setCanvas(KisCanvas2* canvas);
32 void unsetCanvas();
33public Q_SLOTS:
34 void openSettings();
35
36Q_SIGNALS:
38
39protected Q_SLOTS:
40 void updateLayout();
41
42private:
46
49
50 QHBoxLayout* m_widgetLayout;
51 QVBoxLayout* m_mainLayout;
53 QVBoxLayout* m_sidebarLayout;
54
55 QHBoxLayout* m_verticalColorPatchesLayout; // vertical color patches should be added here
56 QVBoxLayout* m_horizontalColorPatchesLayout;//horizontal ----------"----------------------
58
60
61};
62
63#endif