Results 1 to 2 of 2

Thread: Embedding

  1. #1
    Join Date
    Mar 2006
    Posts
    8
    Thanks
    5
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Embedding

    HEY I HAVE GENERATED AN UI FILE USING qt designer now i want to use it in my cpp file , i mean to say i want to take the input from the form and then process it in my cpp file how shud i do it.
    plz tell me how to compile.
    how to link it
    thanks in advance

  2. #2
    Join Date
    Feb 2006
    Location
    Boulder, Colorado, USA
    Posts
    63
    Thanked 8 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Embedding

    Take a look at the docs on your options with using the ui file.

    http://doc.trolltech.com/4.1/designe...component.html

    You will need to connect a signal for whatever widget lets you know the form is done being edited, like the click from a submit button or similar. Implement a slot that then access the data like QString myString = lineEdit->text();

Similar Threads

  1. embedding X11
    By afflictedd2 in forum Qt Programming
    Replies: 5
    Last Post: 13th February 2009, 08:38
  2. Embedding QProgressBar in QStatusBar: Height issues
    By elahav in forum Qt Programming
    Replies: 3
    Last Post: 11th February 2009, 14:39
  3. embed_manifest_exe not embedding manifest in exe
    By Sirmont in forum Qt Programming
    Replies: 0
    Last Post: 3rd February 2009, 19:54
  4. Embedding Flash in Qt4 app.
    By RafalR in forum Qt Programming
    Replies: 3
    Last Post: 3rd September 2006, 17:19
  5. Embedding Java in Qt
    By learnerplts in forum Qt Programming
    Replies: 2
    Last Post: 27th February 2006, 15:45

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.