##// END OF EJS Templates
Updated QCustomPlot to 1.2
Updated QCustomPlot to 1.2

File last commit:

r0:1aa783210b8e default
r18:a9eb4604e26a default
Show More
toolbar.cpp
21 lines | 489 B | text/x-c | CppLexer
#include "toolbar.h"
toolBar::toolBar(QWidget *parent) :
QDockWidget(parent)
{
this->toolsContainer = new toolBarContainer;
this->setWidget(this->toolsContainer);
this->setFeatures(DockWidgetMovable | DockWidgetFloatable);
this->setWindowTitle("SocExplorer Toolbar");
}
void toolBar::addTool(QDockWidget* widget)
{
widget->setAllowedAreas(Qt::AllDockWidgetAreas);
this->toolsContainer->addDockWidget(Qt::TopDockWidgetArea,widget);
}