Pencil2D Animation
Download
Community
News
Docs
Contribute
Overview
Articles
Code
Class List
Class Index
Class Hierarchy
Class Members
File List
Loading...
Searching...
No Matches
app
src
toolbox.h
1
/*
2
3
Pencil2D - Traditional Animation Software
4
Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
5
Copyright (C) 2012-2020 Matthew Chiawen Chang
6
7
This program is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License
9
as published by the Free Software Foundation; version 2 of the License.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
*/
17
#ifndef TOOLBOXDOCKWIDGET_H
18
#define TOOLBOXDOCKWIDGET_H
19
20
#include "pencildef.h"
21
#include "basedockwidget.h"
22
23
#include "toolboxwidget.h"
24
25
class
QToolButton
;
26
class
QGridLayout
;
27
class
QIcon
;
28
class
SpinSlider
;
29
class
DisplayOptionWidget;
30
class
ToolOptionWidget
;
31
class
Editor
;
32
class
FlowLayout
;
33
34
class
ToolBoxDockWidget
:
public
BaseDockWidget
35
{
36
Q_OBJECT
37
38
public
:
39
ToolBoxDockWidget
(
QWidget
*
parent
);
40
~ToolBoxDockWidget
()
override
;
41
42
void
initUI()
override
;
43
void
updateUI()
override
;
44
45
void
setActiveTool(ToolType type);
46
47
private
:
48
void
onLayerDidChange(
int
);
49
50
ToolBoxWidget
* mWidget =
nullptr
;
51
};
52
53
#endif
BaseDockWidget
Definition:
basedockwidget.h:27
Editor
Definition:
editor.h:71
FlowLayout
Definition:
flowlayout.h:81
SpinSlider
Definition:
spinslider.h:30
ToolBoxDockWidget
Definition:
toolbox.h:35
ToolBoxWidget
Definition:
toolboxwidget.h:36
ToolOptionWidget
Definition:
tooloptionwidget.h:41
QGridLayout
QIcon
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QObject::parent
QObject * parent() const const
QToolButton
QWidget