That is the reason why you declared your variables with "private" access specifier, so they can't be accessed/modified directly, only by their "public" getter/setter functions.
LE: also notice that: Setts::set_ui->SB1->setValue(1); //most likely you tried that before constructing the actual object, set_ui is only a pointer... you construct your UI object in your class constructor... something like... set_ui = new UI_Class_Name(most likely 'this' as a parent); only after that you can do "stuff" to the UI pointer.
When you use pointers you <need to> have two(2) objects, the pointer and the actual object that is "pointed to".
Bookmarks