- /**
- Class Description: This class defines a wxBitmapButton.
- **/
- class Button : public wxBitmapButton
- {
- public:
- //Typedef definition
- typedef creaButtonContainer::model::TFunctor TFunctor;
- public:
- //--------------------------------------------------------------------
- Button( wxWindow* parent, long id, ButtonPair* pair );
- virtual
- ~Button( );
- //--------------------------------------------------------------------
- long
- GetID( );
- string
- GetButtonName( );
- string
- GetIconPath( );
- string
- GetDescription( );
- //--------------------------------------------------------------------
- void
- Execute( );
- private:
- ButtonPair* m_ButtonPair;
- };
+ /*! @class ContainerSettings containerSettings.h "containerSettings.h"
+ * @brief This class contains the settings of the button container.
+ * This class describes how to add new buttons to the container.
+ */
+ class Button : public wxBitmapButton
+ {
+ public:
+ /*! @typedef creaButtonContainer::model::ContainerSettings ButtonGroupModel;
+ * @brief Defines the ButtonGroupModel type.
+ */
+ typedef creaButtonContainer::model::TFunctor TFunctor;
+ public:
+ // ----------------------------------------------------------------------------------
+ /*! @fn void ContainerSettings::ContainerSettings( )
+ * @brief This is the constructor.
+ */
+ Button( wxWindow* parent, long id, ButtonPair* pair );
+ // ----------------------------------------------------------------------------------
+ /*! @fn void ContainerSettings::ContainerSettings( )
+ * @brief This is the constructor.
+ */
+ virtual
+ ~Button( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
+ * @brief This function returns a container with the name of the groups.
+ * @return KeyMapList A list with the name of the button groups.
+ */
+ long
+ GetID( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
+ * @brief This function returns a container with the name of the groups.
+ * @return long A list with the name of the button groups.
+ */
+ std::string
+ GetButtonName( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
+ * @brief This function returns a container with the name of the groups.
+ * @return std::string A list with the name of the button groups.
+ */
+ std::string
+ GetIconPath( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
+ * @brief This function returns a container with the name of the groups.
+ * @return std::string A list with the name of the button groups.
+ */
+ std::string
+ GetDescription( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn KeyMapList ContainerSettings::GetGroupNameList( )
+ * @brief This function returns a container with the name of the groups.
+ * @return std::string A list with the name of the button groups.
+ */
+ void
+ Execute( );
+ // ----------------------------------------------------------------------------------
+ private:
+ ButtonPair* m_ButtonPair; //! <ButtonPair* ButtonPail pointer.
+ };