X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/e40a5399ec7887c2606f18575c809b0d05b09278..60c13e8b4c7ea3d595969c1e7c0a28b068a17ca6:/BlockLibraryWidget.h diff --git a/BlockLibraryWidget.h b/BlockLibraryWidget.h index bf17316..5ab7e4d 100644 --- a/BlockLibraryWidget.h +++ b/BlockLibraryWidget.h @@ -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);