Added method to disable tabs.
[situare] / src / ui / tabbedpanel.h
index d3e1f16..c65dbbc 100644 (file)
@@ -95,6 +95,14 @@ public:
      */
     void removeTab(int index);
 
+    /**
+    * @brief Sets tabs enabled.
+    *
+    * @param tabIndexes tab indexes to set
+    * @param enabled true if should be enabled, false otherwise
+    */
+    void setTabsEnabled(const QList<int> &tabIndexes, bool enabled);
+
 public slots:
     /**
      * @brief Slot that closes the panel