how to add the Phonon::SeekSlider to horizontalSlider in qt -


i have added horizontal slider on ui , need use slider in phonon audio player used onclick function in button , added

phonon::seekslider *slider = new phonon::seekslider;  slider->setmediaobject(moo);  slider->show(); 

if used slider opening window .how can map horizontal use in ui seek slider in qt

you create slider without parent. the documentation states "any qwidget has no parent become window". when create slider make sure set parent qwidget, 1 of widgets in ui.

from question make you're using slider in ui? don't use one, use seekslider instead.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -