toolbar reimplemented

This commit is contained in:
itsmattkc
2019-06-21 13:10:55 -07:00
parent 8d66f11d6d
commit 839082895b
17 changed files with 579 additions and 7 deletions
+26
View File
@@ -0,0 +1,26 @@
#include "tool.h"
#include "widget/toolbar/toolbar.h"
ToolPanel::ToolPanel(QWidget *parent) :
PanelWidget(parent)
{
Toolbar* t = new Toolbar(this);
setWidget(t);
Retranslate();
}
void ToolPanel::changeEvent(QEvent *e)
{
if (e->type() == QEvent::LanguageChange) {
Retranslate();
}
QDockWidget::changeEvent(e);
}
void ToolPanel::Retranslate()
{
SetTitle(tr("Tools"));
}