>-- Original Message -- >Date: Mon, 8 May 2006 20:02:52 -0300 >From: "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> >To: [email protected] >Subject: Re: [lazarus] Qt patch for TMemo and Tedit. >Reply-To: [email protected] > [...] >For csMemo it only calls append and Memo doesn´t have it´s own SetText >property so the one from WinControl will be utilized. > I double checked. It seems to me that one can simply remove the case csMemo from the statement. (again, I had copied that from another interface ;-) ) TMemo doesn't have a SetText method. It has a SetTextBuf, which is implemented in QtMemoStrings.SetTextBuf, and a RealSetText, which generates a Lines.Text := ... in custommemo.inc, and finally executes the QtMemoStrings.Assign. So the WinControl SetText is never executed. Now I can't run Qt, but tomorrow I'll check with gdb, to be sure.
Thanks, Giuliano > >> You're right, but, on the other hand keeping the same file structure for >> different interfaces makes it much easier for subsequent developers to >> navigate across sources. This file scheme is the same as in gtk/gtk2 and >> win32. Let's think over it a bit. > >Some things implemented on qt interface are independent of LCL. This >things are necessary complements to Qt Bindings. QtPrivate generates a >object-oriented interface to the bindings. This unit could be utilized >by any Free Pascal - Qt software and qtobjects would be another part >of the object-oriented bindings. > >thanks, >-- >Felipe Monteiro de Carvalho > >_________________________________________________________________ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
