Results 1 to 4 of 4

Thread: A form returning an object.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    52
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    13

    Default Re: A form returning an object.

    Many thanks for the reply.

    Is the object of the dialogue killed when the user closes the form? or if it is not do i have to delete this object as soon as i read the things that i want to read form it (ex lineedits).

    What is the .getlineedit and setlineedit?. I cant find them in the documentation

    Many thanks

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 334 Times in 317 Posts

    Default Re: A form returning an object.

    The object has scope of a normal object. I hope u know c++

    the getLinedEditText, setLineEditText are user defined functions. I assume you had inherited the dialog, and those are member functions of ur class.

  3. The following user says thank you to aamer4yu for this useful post:

    cbarmpar (8th September 2008)

Similar Threads

  1. Passing an object from one form to the other.
    By cbarmpar in forum Qt Programming
    Replies: 10
    Last Post: 3rd September 2008, 14:12
  2. visible main form?
    By triperzonak in forum Newbie
    Replies: 1
    Last Post: 12th June 2008, 09:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.