MCPcopy Create free account
hub / github.com/D4stiny/PeaceMaker / AddAssociatedElement

Method AddAssociatedElement

PeaceMakerGUI/ClickableTab.cpp:82–90  ·  view source on GitHub ↗

* @brief ClickableTab::AddAssociatedElement - Track associated widgets to hide/show on state changes. * @param widget - The widget associated with this tab. */

Source from the content-addressed store, hash-verified

80 * @param widget - The widget associated with this tab.
81 */
82void 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.

Callers 3

InitializeAlertsTableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected