X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FcreaButtonContainer%2Fview%2FbuttonContainerPanel.h;h=5a194cc1bcf1e0e2028c7eacd3ec2e681130ff4e;hb=5380f9e66daf440f27f33bb060e5ae1a646612cd;hp=c65c693691b5f10212f15abf13188b67eb37c62d;hpb=c1b7d6e874f1bfcac251e852ae37229c12c61656;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.h index c65c693..5a194cc 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/creaButtonContainer/view/buttonContainerPanel.h @@ -2,7 +2,7 @@ * @file buttonContainerController.h * @brief This contains the ButtonContainerController class * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr) - * @date 2011-05-19 + * @date 2011-06-02 */ #ifndef BUTTONCONTAINERPANEL_H @@ -11,8 +11,10 @@ #include #include #include + #include #include +#include #include "buttonGroup.h" #include "groupManager.h" @@ -33,8 +35,7 @@ namespace creaButtonContainer { /*! @class ButtonContainerController buttonContainerController.h "buttonContainerController.h" * @brief This class contains the ButtonContainerPanel controller. - * @details This class describes the button events, it derives from wxEvtHandler and it is the - * controller in the MVC. + * @details This class describes the button events, it derives from wxEvtHandler. * @see wxEvtHandler */ class ButtonContainerController; @@ -46,11 +47,11 @@ namespace creaButtonContainer */ namespace view { - /*! @class ButtonContainerController buttonContainerController.h "buttonContainerController.h" - * @brief This class contains the ButtonContainerPanel controller. - * @details This class describes the button events, it derives from wxEvtHandler and it is the - * controller in the MVC. - * @see wxScrolledWindow + /*! @class ButtonContainerPanel buttonContainerPanel.h "buttonContainerPanel.h" + * @brief This class is the container of the creaButtonContainer. + * @details This class derives from wxScrolledWindow and manages the view of the buttonContainer. + * @bug The scrolled it doesn't work! (to be changed soon) + * @see wxScrolledWindow */ class ButtonContainerPanel : public wxScrolledWindow { @@ -121,20 +122,21 @@ namespace creaButtonContainer ~ButtonContainerPanel( ); // ---------------------------------------------------------------------------------- /*! @fn SetGroupContainer( ButtonGroupList groupContainer ); - * @brief This function sets the settings to the container. + * @brief This method sets the settings to the container. * @param groupContainer */ void SetGroupContainer( ButtonGroupList groupContainer ); // ---------------------------------------------------------------------------------- /*! @fn PanelInit( ); - * This function initializes the panel. + * This method initializes the panel. + * @exception std::bad_alloc */ void PanelInit( ); // ---------------------------------------------------------------------------------- /*! @fn FitSizer( ); - * This function fits and organizes the sizer. + * This method fits and organizes the sizer. */ void FitSizer( ); @@ -146,6 +148,7 @@ namespace creaButtonContainer ButtonGroupList m_ButtonGroupList; //!