#ifndef PANELBASE_H
#define PANELBASE_H
+#include <QGridLayout>
#include <QWidget>
class ImageButton;
******************************************************************************/
public:
/**
- * @brief Get list of context buttons
+ * @brief Getter for the context buttons
*
- * @returns Reference to list of context buttons
+ * @returns Pointer to context buttons widget
*/
- const QList<ImageButton *>& contextButtons() const;
+ QWidget* contextButtons() const;
/*******************************************************************************
* SIGNALS
* DATA MEMBERS
******************************************************************************/
protected:
- QList<ImageButton *> m_contextButtonList; ///< List of context buttons
+ QGridLayout *m_contextButtonLayout; ///< Layout for context buttons
+
+private:
+ QWidget *m_contextButtons; ///< Widget for context buttons
};
#endif // PANELBASE_H