You should. In theory you probably could try passing a pointer or a reference to your UI structure, but I don't recommend that. Basicly you should either subclass every ui you create or implement a dynamic dialog, which will change according to your needs (for example including dynamic form (UI) loading). If you don't want to subclass every dialog manualy, you can create a script which will do it for you, you'll just need to fill in the details.
Bookmarks