Access to UI elements from another class c++

Printable View