[Kde-bindings] QtRuby setValidator

Imobach González Sosa imobachgs at step.es
Thu Mar 25 12:50:10 UTC 2004


El Jueves, 25 de Marzo de 2004 11:31, Richard Dale escribió:
> On Thursday 25 March 2004 11:16, Richard Dale wrote:
> > But I only fixed mutable string args in method calls being correctly
> > updated after the call recently, so you might need the most recent QtRuby
> > version in the cvs. If it doesn't work, maybe could you post complete
> > example code to make any problems easier to reproduce?
>
> Sorry slight correction - I think this will only matter (if it doesn't
> work) if you were writing a custom validator by subclassing Qt::Validator.
> Your use of Qt::DoubleValidator ought to be fine.

You are right. I noticed that my question was stupid some minutes after 
sending it, but I hadn't Internet connection then ;-)

Using DoubleValidator instead QDoubleValidator seems to work fine, just like 
then LineEdit case. A little curiosity: why the classes have been renamed?

Thank you very much.

-- 
(o_.'   Imobach González Sosa   imobachgs at softhome.net
//\c{}  imobachgs at step.es       a2419 at dis.ulpgc.es
V__)_   imodev at softhome.net     osoh en jabber.at y jabber.org
        Usuario Linux #201634
Debian GNU/Linux `Sarge' con núcleo 2.4.24 sobre Intel Pentium 4

La historia es cuestión de supervivencia. Si no tuviéramos pasado, estaríamos
desprovistos de la impresión que define a nuestro ser.
		-- Ken Burns. 

--
-- Step Informa. 
Este mensaje ha sido verificado en busqueda de virus y troyanos por
MailScanner, APARENTEMENTE esta limpio. Mas informacion en 902101843.
** 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean. More info on 902101843.




More information about the Kde-bindings mailing list