X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/abbc64cf04a35ab3549d5c516f44c7c5921baa63..8fb3c55ee009a11db5e1c08a4cfb286979412745:/BlockLibraryWidget.h diff --git a/BlockLibraryWidget.h b/BlockLibraryWidget.h index f07be4d..5ab7e4d 100644 --- a/BlockLibraryWidget.h +++ b/BlockLibraryWidget.h @@ -23,10 +23,16 @@ public: explicit BlockLibraryWidget(Dispatcher* _dispatcher, Parameters* _params, QWidget *parent = 0); ~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: @@ -34,7 +40,22 @@ private: 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);