1 #ifndef __BLOCKSTOCONFIGUREWIDGET_H__
2 #define __BLOCKSTOCONFIGUREWIDGET_H__
8 #include "Parameters.h"
9 #include "AbstractBlock.h"
10 #include <QPushButton>
12 class BlocksToConfigureWidget : public QWidget
16 BlocksToConfigureWidget(QList<AbstractBlock *> blocksList, Parameters *_params, QWidget *parent=0);
18 void updateNamesList();
19 void updateBlocksList();
21 inline QTreeWidget *getTree() { return tree; }
22 inline QList<AbstractBlock*> getBlocks() { return blocks; }
25 void closeEvent(QCloseEvent * event);
27 QList<AbstractBlock*> blocks;
30 QPushButton *configureButton;
39 #endif // BLOCKSTOCONFIGUREWIDGET_H