If you have chosen a designer form class template in QtCreator then you should have a dialog.h and a dialog.cpp generated with the .ui file.
The dialog.cpp will have an include for the generated header and have created an instance of the class and stored that in the "ui" pointer.
The code to access any widget present in the designer form is then
ui->nameOfTheWidget
ui->nameOfTheWidget
To copy to clipboard, switch view to plain text mode
e.g. for a slider named "slider1", getting the value would be
int value = ui->slider1->value();
int value = ui->slider1->value();
To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks