Pencil2D
ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
Main Page
Classes
Files
File List
All
Classes
Functions
app
popupcolorpalettewidget.h
1
#ifndef POPUPCOLORPALETTEWIDGET_H
2
#define POPUPCOLORPALETTEWIDGET_H
3
4
#include <QWidget>
5
6
class
ColorBox
;
7
class
ScribbleArea
;
8
class
QPushButton;
9
10
11
class
PopupColorPaletteWidget
:
public
QWidget
12
{
13
Q_OBJECT
14
15
public
:
16
PopupColorPaletteWidget
(
ScribbleArea
*parent = 0 );
17
QPushButton* closeButton;
18
ColorBox
* getColorBox() {
return
mColorBox; }
19
void
popup();
20
21
private
slots:
22
void
onColorChanged(
const
QColor& color);
23
24
protected
:
25
ScribbleArea
* mContainer;
26
ColorBox
* mColorBox =
nullptr
;
27
void
keyPressEvent(QKeyEvent *event);
28
};
29
30
#endif // POPUPCOLORPALETTEWIDGET_H
PopupColorPaletteWidget
Definition:
popupcolorpalettewidget.h:11
ColorBox
Definition:
colorbox.h:25
ScribbleArea
Definition:
scribblearea.h:52
Generated on Fri Sep 1 2017 16:48:40 for Pencil2D by
1.8.6