1 #ifndef __BLOCKLIBRARYWIDGET_H__
2 #define __BLOCKLIBRARYWIDGET_H__
9 #include "Dispatcher.h"
11 #include "Parameters.h"
13 #include "BlockCategory.h"
19 class BlockLibraryWidget : public QWidget {
23 explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0);
24 ~BlockLibraryWidget();
27 void updateComboScene();
28 void updateClkRst(int idCat, int idBlock);
38 Dispatcher* dispatcher;
40 QPushButton* buttonAdd;
41 QComboBox* comboScenes;
44 QGridLayout* layClkRst;
45 QComboBox** comboClkGen;
47 QComboBox** comboRstGen;
52 void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);
57 #endif // __BLOCKLIBRARYWIDGET_H__