* @brief ClickableTab::AddAssociatedElement - Track associated widgets to hide/show on state changes. * @param widget - The widget associated with this tab. */
| 80 | * @param widget - The widget associated with this tab. |
| 81 | */ |
| 82 | void ClickableTab::AddAssociatedElement(QWidget *widget) |
| 83 | { |
| 84 | this->associatedElements.push_back(widget); |
| 85 | |
| 86 | // |
| 87 | // By default, widgets should be hidden. |
| 88 | // |
| 89 | widget->setVisible(false); |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * @brief ClickableTab::SetCustomText - Set custom text for the tab, but store the previous text. |
no outgoing calls
no test coverage detected