How to connect a QSlider to QDoubleSpinBox

后端 未结 5 1253
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 06:29

I want to connect a QSlider to a QDoubleSpinBox but while the code compiles fine and runs for simple QSpinBox, it doesn\'t work for QDoubleSpinBox

QSlider *h         


        
5条回答
  •  青春惊慌失措
    2021-01-13 07:11

    There is some example code on how to create your own slots and emit signals in this very similar question:

    use a created vector as range for QDoubleSpinBox and QSlider

提交回复
热议问题