Today, I learn to how to set a layout for QWidget.
In this layout, I add two widgets SpinBox and Slider for Window .
The two widgets should be connected each other by QObject::connect method.
When user scroll the Slider widget, the value in SpinBox will be changed in real time.
發佈留言
很抱歉,必須登入網站才能發佈留言。