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
3Pencil2D - Traditional Animation Software
4Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
5Copyright (C) 2012-2020 Matthew Chiawen Chang
6
7This program is free software; you can redistribute it and/or
8modify it under the terms of the GNU General Public License
9as published by the Free Software Foundation; version 2 of the License.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU 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
25class QToolButton;
26class QGridLayout;
27class QIcon;
28class SpinSlider;
29class DisplayOptionWidget;
30class ToolOptionWidget;
31class Editor;
32class FlowLayout;
33
34class ToolBoxDockWidget : public BaseDockWidget
35{
36 Q_OBJECT
37
38public:
39 ToolBoxDockWidget(QWidget* parent);
40 ~ToolBoxDockWidget() override;
41
42 void initUI() override;
43 void updateUI() override;
44
45 void setActiveTool(ToolType type);
46
47private:
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
Generated on Thu Jun 5 2025 14:06:43 for Pencil2D by doxygen 1.9.6 based on revision 4c63407997b2c03e5048716586dec6fbbb755173