'Is there Documentation on "setup" design pattern in qt?
I have come accross multiple qt examples that tend to have two classes for a component: Component and ComponentUi where during initialization Component does something along the lines of:
Component::Component(...)
{
...
auto componentUi = new ComponentUi()
componentUi.setup(this)
...
}
Is this some sort of pattern one should be aware of and does anyone have any resources on using this pattern effectively?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
