[SOLVED][HELP] how to get a value of slider from UI_XXXX.h
Hi all and thanks for everyone that helped me before, appreciate it!
Here is a new question:
I am recently designing a GUI using dialog.ui
i used a lot of slider, i need to read the slider value,
anyone tell me how can i get it from ui_dialog.h ?
is it possible?
here is a photo of GUI:
After this question, i would like to save these values that i get from slider in to a text file that using XML format.
How can i achieve this?
access your designer components in constructor/somewhere using ui-><objectname>. Object name is present in the designer property window.
I'm so sorry that, I am not really understand what are you trying to explain to me.
Any command line to execute this?
i would like to get the Slider value, for example: my slider range is 0~255,
when i drag to position 100, i would like to read 100 from it, is it possible?
I get what you mean already,
so if my slider name "hueSlide1",
i would like to get the position,then i need to type,
so what should i put at "??"
ui->hueSlide1->value(). This gives you the current position.
ok, thx, appreciate!
move this issue to [SOLVED] state