explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0);
~BlockLibraryWidget();
+public slots:
+ void updateBoxConn();
+ void updateComboScene();
+ void updateClkRst(int idCat, int idBlock);
+
private slots:
- void addClicked();
- void clicked();
- void doubleClicked();
+ void addClicked();
+ void clicked();
+ void doubleClicked();
+ void enableAvailableClocks(bool state);
private:
Dispatcher* dispatcher;
QTreeWidget* tree;
QPushButton* buttonAdd;
- QBoxLayout *layout;
+ QComboBox* comboScenes;
+
+ QGroupBox* boxConnMode;
+ QRadioButton* radAutoClk;
+ QRadioButton* radChooseClk;
+
+ QGroupBox* boxClkRst;
+ QGridLayout* layClkRst;
+ QComboBox** comboClkGen;
+ int nbClock;
+ QComboBox** comboRstGen;
+ int nbRst;
+
+ ReferenceBlock* currentRefBlock;
+
+ QStackedWidget* stack;
// other attributes
void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);