diff -r afb7ef0c1c6e -r ad5741c252b9 QTfrontend/ui/page/AbstractPage.h --- a/QTfrontend/ui/page/AbstractPage.h Sat Dec 03 12:00:32 2011 +0100 +++ b/QTfrontend/ui/page/AbstractPage.h Sat Dec 03 14:36:36 2011 +0100 @@ -56,6 +56,27 @@ { Q_OBJECT + public: + + /** + * @brief Changes the desc text (should not be called manualy) + * + * @param desc the description of the widget focused + */ + void setButtonDescription(QString desc); + + /** + * @brief Changes the desc defaut text + * + * @param text the defaut desc + */ + void setDefautDescription(QString text); + + /** + * @brief Get the desc defaut text + */ + QString * getDefautDescription(); + signals: /** * @brief This signal is emitted when going back to the previous is @@ -153,6 +174,9 @@ QFont * font14; ///< used font + QLabel * descLabel; ///< text description + QString * defautDesc; + private: QPushButton * btnBack; ///< back button