Krita Source Code Documentation
Loading...
Searching...
No Matches
KoColorPopupButton.h
Go to the documentation of this file.
1/* This file is part of the KDE project
2 * SPDX-FileCopyrightText: 2013 Jean-Nicolas Artaud <jeannicolasartaud@gmail.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6
7#ifndef KOCOLORPOPUPBUTTON_H_
8#define KOCOLORPOPUPBUTTON_H_
9
10#include <QToolButton>
11
12#include "kritawidgets_export.h"
13
18class KRITAWIDGETS_EXPORT KoColorPopupButton: public QToolButton
19{
20 Q_OBJECT
21
22public:
28 explicit KoColorPopupButton(QWidget *parent=0);
29
33 ~KoColorPopupButton() override;
34
35 QSize sizeHint() const override;
36
37Q_SIGNALS:
40
41protected:
42 void resizeEvent(QResizeEvent *) override;
43};
44
45#endif
void iconSizeChanged()
Emitted when a resource was selected.