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

Private GIT Repository
started to code clkconvert output gen
[blast.git] / BlockLibraryWidget.h
index 43ed5fc0931e5220edfa171ea4db8f8d6ff1a920..5ab7e4d2ba13409386d084f7682449fef1f17874 100644 (file)
@@ -24,12 +24,15 @@ public:
   ~BlockLibraryWidget();
 
 public slots:
   ~BlockLibraryWidget();
 
 public slots:
+  void updateBoxConn();
   void updateComboScene();
   void updateComboScene();
+  void updateClkRst(int idCat, int idBlock);
 
 private slots:
 
 private slots:
-    void addClicked();
-    void clicked();
-    void doubleClicked();
+  void addClicked();
+  void clicked();
+  void doubleClicked();
+  void enableAvailableClocks(bool state);
 
 
 private:
 
 
 private:
@@ -38,6 +41,21 @@ private:
   QTreeWidget* tree;
   QPushButton* buttonAdd;
   QComboBox* comboScenes;
   QTreeWidget* tree;
   QPushButton* buttonAdd;
   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);
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);