Using the value of a double spin box
General and Desktop
6
Posts
3
Posters
6.4k
Views
1
Watching
-
-
[quote author="jk_mk" date="1307257128"]ui->doubleSpinBox->value();[/quote]
QDoubleSpinBox has a value method, so you should be able to use it. So what is your problem? Have you tried the quoted code? Do you have issue with the protected/private inheritance?
-
Well, I have found my mistake. I am beginner in using Qt and I am not used in using signal and slots.So I am a little confused.But in my application, I give this signal and slot by pressing a button.As a result I am using this code and get the results every time I press this button.
@
ui->doubleSpinBox->value();@Thanks for your replies