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

Private GIT Repository
clkconvert OP compute done
[blast.git] / BlockLibraryWidget.h
index bf17316ccbdcc1e5a4dc8ad461b46833480acc58..5ab7e4d2ba13409386d084f7682449fef1f17874 100644 (file)
@@ -24,6 +24,7 @@ public:
   ~BlockLibraryWidget();
 
 public slots:
+  void updateBoxConn();
   void updateComboScene();
   void updateClkRst(int idCat, int idBlock);
 
@@ -31,6 +32,7 @@ private slots:
   void addClicked();
   void clicked();
   void doubleClicked();
+  void enableAvailableClocks(bool state);
 
 
 private:
@@ -40,6 +42,10 @@ private:
   QPushButton* buttonAdd;
   QComboBox* comboScenes;
 
+  QGroupBox* boxConnMode;
+  QRadioButton* radAutoClk;
+  QRadioButton* radChooseClk;
+
   QGroupBox* boxClkRst;
   QGridLayout* layClkRst;
   QComboBox** comboClkGen;
@@ -47,6 +53,9 @@ private:
   QComboBox** comboRstGen;
   int nbRst;
 
+  ReferenceBlock* currentRefBlock;
+
+  QStackedWidget* stack;
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);