]> 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 43ed5fc0931e5220edfa171ea4db8f8d6ff1a920..bf17316ccbdcc1e5a4dc8ad461b46833480acc58 100644 (file)
@@ -25,11 +25,12 @@ public:
 
 public slots:
   void updateComboScene();
 
 public slots:
   void updateComboScene();
+  void updateClkRst(int idCat, int idBlock);
 
 private slots:
 
 private slots:
-    void addClicked();
-    void clicked();
-    void doubleClicked();
+  void addClicked();
+  void clicked();
+  void doubleClicked();
 
 
 private:
 
 
 private:
@@ -38,6 +39,14 @@ private:
   QTreeWidget* tree;
   QPushButton* buttonAdd;
   QComboBox* comboScenes;
   QTreeWidget* tree;
   QPushButton* buttonAdd;
   QComboBox* comboScenes;
+
+  QGroupBox* boxClkRst;
+  QGridLayout* layClkRst;
+  QComboBox** comboClkGen;
+  int nbClock;
+  QComboBox** comboRstGen;
+  int nbRst;
+
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);