]> AND Private Git Repository - blast.git/blobdiff - BlockLibraryWidget.h
Logo AND Algorithmique Numérique Distribuée

Private GIT Repository
added clk/rst link when creating a block
[blast.git] / BlockLibraryWidget.h
index f07be4d25f71a3512aba9ef26e91190f889126c7..bf17316ccbdcc1e5a4dc8ad461b46833480acc58 100644 (file)
@@ -23,10 +23,14 @@ public:
   explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0);
   ~BlockLibraryWidget();
 
+public slots:
+  void updateComboScene();
+  void updateClkRst(int idCat, int idBlock);
+
 private slots:
-    void addClicked();
-    void clicked();
-    void doubleClicked();
+  void addClicked();
+  void clicked();
+  void doubleClicked();
 
 
 private:
@@ -34,7 +38,15 @@ private:
   Dispatcher* dispatcher;
   QTreeWidget* tree;
   QPushButton* buttonAdd;
-  QBoxLayout *layout;
+  QComboBox* comboScenes;
+
+  QGroupBox* boxClkRst;
+  QGridLayout* layClkRst;
+  QComboBox** comboClkGen;
+  int nbClock;
+  QComboBox** comboRstGen;
+  int nbRst;
+
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);