X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/d30c9cf675ad7141d1c8e31d2e72315267d45cf2..HEAD:/BlockLibraryWidget.h diff --git a/BlockLibraryWidget.h b/BlockLibraryWidget.h index 43ed5fc..5ab7e4d 100644 --- a/BlockLibraryWidget.h +++ b/BlockLibraryWidget.h @@ -24,12 +24,15 @@ public: ~BlockLibraryWidget(); public slots: + void updateBoxConn(); void updateComboScene(); + void updateClkRst(int idCat, int idBlock); private slots: - void addClicked(); - void clicked(); - void doubleClicked(); + void addClicked(); + void clicked(); + void doubleClicked(); + void enableAvailableClocks(bool state); private: @@ -38,6 +41,21 @@ private: 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);