Documentation
[situare] / src / ui / panelbase.h
index 3da0f62..dee16ab 100644 (file)
@@ -49,9 +49,6 @@ public:
      */
     PanelBase(QWidget *parent = 0);
 
-protected:
-    void resizeEvent(QResizeEvent *event);
-
 /*******************************************************************************
  * MEMBER FUNCTIONS AND SLOTS
  ******************************************************************************/
@@ -63,7 +60,19 @@ public:
      */
     QWidget* genericPanelButtons() const;
 
+    /**
+     * @brief Getter for the list item related context buttons
+     *
+     * @returns Pointer to context buttons widget
+     */
+    QWidget* itemButtons() const;
+
 protected slots:
+    /**
+     * @brief Call when there is a change in list item selection
+     *
+     * Emits listItemSelectionChanged(bool). Parameter is true if any item is selected.
+     */
     void onListItemSelectionChanged();
 
 /*******************************************************************************
@@ -77,6 +86,13 @@ signals:
      */
     void openPanelRequested(QWidget *widget);
 
+    /**
+     * @brief Emitted when there is a change in list item selection
+     *
+     * @param itemIsSelected True if any item is selected.
+     */
+    void listItemSelectionChanged(bool itemIsSelected);
+
 /*******************************************************************************
  * DATA MEMBERS
  ******************************************************************************/