PDA

View Full Version : qt designer problem with qdoublespinbox



anteropedras
30th June 2009, 21:07
hello,

I searched , and can't find a solution to this problem ... I didn't used designer to make GUI , because I always found strange little things that didn't liked and prefer to code by hand. I decided to give another try but I hit a little problem , I can't change the qdoublespinbox maximum , minimum , value in the designer ( or in the code ) if I use designer forms.

I tried in two computers already ... any ideas ?

thanks,

wysota
30th June 2009, 21:24
Decrease the number of decimals. The total numbers of digits the box can display is fixed so if you use every one of them on the decimal part, nothing is left for the integer part.

anteropedras
30th June 2009, 21:31
no it's not that ... with 2 , 0 , 1 or any other is the same.

I'm using vista VISTA 64

wysota
30th June 2009, 21:41
Can you attach such an offending UI file here?

anteropedras
30th June 2009, 23:19
Ok , here you go ... tomorrow I'm going to install in vista 32 any one uses vista 64 ?

I guess I have bad luck with designer !

wysota
1st July 2009, 00:12
The spinbox seemed to be set on <0;99>, I changed it to <0;99999> with "12345" as the current value. Check if you can modify the values.

anteropedras
1st July 2009, 01:12
nope ... when I open yours just get the same error , can't change nothing.

I will try on vista 32 ... maybe that's it I don't know .

anteropedras
1st July 2009, 01:32
ok I found a solution :
Windows regional settings , I had it setup to portuguese ... if I change to English US it works , it happens if you have "." instead of "," ... translation >> "symbol of group of digits"
thx