Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-08

QT Implimentation

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Shane Miller

I assume you are simply referencing the functions as external?

Shane

>> "Baeseman, Cliff" 08/16 9:22 AM >>>

I was working on a qtint.pp implementation just a little this weekend. So far it should be a straight forward deal to implement. I plan on bouncing around that one a little to ensure that the lcl will be compatible with the qt stuff...

It works alot like the gtk tool kit for initialization and such so the implementation is fairly easy to do.

Ok so how am I implementing qt when the C++ compiler does not support linkeing C++ libs.?
Wait to see the code!. I should be able to commit some of this in the near future..

Cliff

Earlier message 47 lines
-----Original Message----- From: Shane Miller Sent: Monday, August 16, 1999 9:09 AM To: Subject: Re: [lazarus] CreateComponent Can we? SURE! We did it this way because that's how it worked best for GTK. If someone wants to add the handleneeded procedure in TCONTROL and do the creation there, that would be fine. We just have to make sure that we are using the "parent" property then and having the user set it (Lazarus will set it eventually). Then when the parent is set, I assume that HANDLENEEDED is called if no handle exists.... Anyone want to implement this? You will have to move any CREATECOMPONENT calls out of the specific components into the handleneeded..... Shane >>> "Samuel Liddicott" 08/16 8:33 AM >>> It seems like (to pick an example) TLabel makes it's GTK object in the contructor. This is a bit early. Can't we delay gtk-creation until HandleNeeded is called? Its the Delphi way. In fact can't we do it in the CreateWindow function? Am I being too fussy spotting windows divergances here? - but this one is important to me. Sam _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

Nope I do not think we can do it because C++ hoses the function names..

Cliff

Earlier message 80 lines
-----Original Message----- From: Shane Miller Sent: Monday, August 16, 1999 9:52 AM To: Subject: Re: [lazarus] QT Implimentation I assume you are simply referencing the functions as external? Shane >>> "Baeseman, Cliff" 08/16 9:22 AM >>> I was working on a qtint.pp implementation just a little this weekend. So far it should be a straight forward deal to implement. I plan on bouncing around that one a little to ensure that the lcl will be compatible with the qt stuff... It works alot like the gtk tool kit for initialization and such so the implementation is fairly easy to do. Ok so how am I implementing qt when the C++ compiler does not support linkeing C++ libs.? Wait to see the code!. I should be able to commit some of this in the near future.. Cliff -----Original Message----- From: Shane Miller Sent: Monday, August 16, 1999 9:09 AM To: Subject: Re: [lazarus] CreateComponent Can we? SURE! We did it this way because that's how it worked best for GTK. If someone wants to add the handleneeded procedure in TCONTROL and do the creation there, that would be fine. We just have to make sure that we are using the "parent" property then and having the user set it (Lazarus will set it eventually). Then when the parent is set, I assume that HANDLENEEDED is called if no handle exists.... Anyone want to implement this? You will have to move any CREATECOMPONENT calls out of the specific components into the handleneeded..... Shane >>> "Samuel Liddicott" 08/16 8:33 AM >>> It seems like (to pick an example) TLabel makes it's GTK object in the contructor. This is a bit early. Can't we delay gtk-creation until HandleNeeded is called? Its the Delphi way. In fact can't we do it in the CreateWindow function? Am I being too fussy spotting windows divergances here? - but this one is important to me. Sam _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

I was working on a qtint.pp implementation just a little this weekend. So far it should be a straight forward deal to implement. I plan on bouncing around that one a little to ensure that the lcl will be compatible with the qt stuff...

It works alot like the gtk tool kit for initialization and such so the implementation is fairly easy to do.

Ok so how am I implementing qt when the C++ compiler does not support linkeing C++ libs.?
Wait to see the code!. I should be able to commit some of this in the near future..

Cliff

Earlier message 42 lines
-----Original Message----- From: Shane Miller Sent: Monday, August 16, 1999 9:09 AM To: Subject: Re: [lazarus] CreateComponent Can we? SURE! We did it this way because that's how it worked best for GTK. If someone wants to add the handleneeded procedure in TCONTROL and do the creation there, that would be fine. We just have to make sure that we are using the "parent" property then and having the user set it (Lazarus will set it eventually). Then when the parent is set, I assume that HANDLENEEDED is called if no handle exists.... Anyone want to implement this? You will have to move any CREATECOMPONENT calls out of the specific components into the handleneeded..... Shane >>> "Samuel Liddicott" 08/16 8:33 AM >>> It seems like (to pick an example) TLabel makes it's GTK object in the contructor. This is a bit early. Can't we delay gtk-creation until HandleNeeded is called? Its the Delphi way. In fact can't we do it in the CreateWindow function? Am I being too fussy spotting windows divergances here? - but this one is important to me. Sam _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email