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

Private GIT Repository
changed sources to stimulis
[blast.git] / BlockLibraryWidget.h
index f07be4d25f71a3512aba9ef26e91190f889126c7..5ab7e4d2ba13409386d084f7682449fef1f17874 100644 (file)
@@ -23,10 +23,16 @@ public:
   explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0);
   ~BlockLibraryWidget();
 
   explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0);
   ~BlockLibraryWidget();
 
+public slots:
+  void updateBoxConn();
+  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:
@@ -34,7 +40,22 @@ private:
   Dispatcher* dispatcher;
   QTreeWidget* tree;
   QPushButton* buttonAdd;
   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);
   // other attributes
   
   void addChild(BlockCategory *catParent, QTreeWidgetItem* itemParent);