18#ifndef TOOLBOXWIDGET_H
19#define TOOLBOXWIDGET_H
25#include "flowlayout.h"
27#include "toolboxlayout.h"
42 void setEditor(
Editor* editor) { mEditor = editor; }
47 void setActiveTool(ToolType toolType);
63 void updateLayoutAlignment();
64 void deselectAllTools();
65 void toolOn(ToolType toolType,
QToolButton* toolButton);
68 int getMinHeightForWidth(
int width)
const;
69 QSize minimumSizeHint()
const override;
70 QSize sizeHint()
const override;
76 Ui::ToolBoxWidget* ui =
nullptr;
QObject * parent() const const