Well, I have a window class and the winfold() is a slot in my window.h, the point is that this sliders are shown up if I do the same thing in the constructor of my Window class, and I thought that by
QSlider *ang
= new QSlider(0,
180,
1,
0, Qt
::Horizontal, sliderBox,
"angle");
QSlider *ang = new QSlider(0, 180, 1, 0, Qt::Horizontal, sliderBox, "angle");
To copy to clipboard, switch view to plain text mode
it would add it to the sliderBox as well, as it is doing so when I do the same thing in constructor... and I could not find any method in QHBox for adding an object to it. That's why I was led to believe that problem is from update(). ?
Thank you
Bookmarks