#include "BasicBlockWidget.hxx"
-#include "CustomQGraphicsTextItem.hxx"
#include "gui/Mainwindow.hxx"
#include "gui/dialogs/SimpleStringDialog.hxx"
+#include "core/BasicBlock.hxx"
class CustomQGraphicsTextItem : public QObject, public QGraphicsTextItem {
public:
Mainwindow * mainwindow)
: width(270), height(45), name(name)
, _table(NULL)
- , block(block), mainwindow(mainwindow) {
+ , block(block), mainwindow(mainwindow)
+ , logger(log4cxx::Logger::getLogger(name.toStdString() + "BasicBlock")) {
next[0] = NULL; next[1] = NULL;
_widget.reset(new CustomQGraphicsTextItem("", this, mainwindow));
_widget->setPos(5, 20);