Added a method for retrieving a panel context button list
[situare] / src / ui / panelbase.h
index 086aaf1..528dc29 100644 (file)
@@ -44,6 +44,17 @@ public:
     PanelBase(QWidget *parent = 0);
 
 /*******************************************************************************
+ * MEMBER FUNCTIONS AND SLOTS
+ ******************************************************************************/
+public:
+    /**
+     * @brief Get list of context buttons
+     *
+     * @returns Reference to list of context buttons
+     */
+    const QList<ImageButton *>& contextButtons() const;
+
+/*******************************************************************************
  * SIGNALS
  ******************************************************************************/
 signals:
@@ -58,6 +69,6 @@ signals:
  * DATA MEMBERS
  ******************************************************************************/
 protected:
-    QList<ImageButton *> m_contextButtonList;
+    QList<ImageButton *> m_contextButtonList; ///< List of context buttons
 };
 #endif // PANELBASE_H