QTfrontend/ui/page/AbstractPage.h
changeset 6477 ad5741c252b9
parent 6200 6a4ace88d85a
child 6577 9e49e6a8585b
--- 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