Results 1 to 3 of 3

Thread: want to make ok button trigger, since it on a dialog

  1. #1
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default want to make ok button trigger, since it on a dialog

    good evening everybody ..

    In my project,I have created a dialog for Authentication.
    When the user fill the auth text boxes, I want to transfer his data to the main window.
    When I try to make that by ok button trigger, they give me this message:
    The class definition of "UI::Dialog could not be found in home/Malek/Desktop/ConTest-auth/mainwindow.cpp"
    I try to make #include for some file names but without response.

    When I try to make trigger in the mainwindow,I dont have this problem.
    So,I have think about make swap between mainwindow and auth dialog i.e. put auth dialog in main window and put mainwindow in another dialog.
    But this will be the last choice ,also this way will Prevents the user from log off and log on again.

    can you help me?

    -------------------
    I also want to put a picture in my project and make it Clickable and zoomable.
    But until now I want only to learn about put a pic simply.
    please give me the party string..
    ------------------
    Thanks

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: want to make ok button trigger, since it on a dialog

    Could be various things. Post more code.

    Try the header code first.

  3. #3
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    6
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: want to make ok button trigger, since it on a dialog

    There is no code.
    Even when I open new project and try to make button event handler ,this problem faced me.
    Anyway, I have Tried more than one time on more than one project until one of them give responce.

    Thank you expert fatjuicymole for your interest.

    I now will switch to the picture issue.Can you help me!!

Similar Threads

  1. Closing a dialog using a button
    By srohit24 in forum Qt Programming
    Replies: 5
    Last Post: 21st July 2009, 05:57
  2. Replies: 13
    Last Post: 21st May 2009, 07:43
  3. How to make Search Dialog as it is used by MAC O.S
    By merry in forum Qt Programming
    Replies: 5
    Last Post: 24th June 2008, 09:46
  4. Remove close button on a Dialog in Linux
    By Krish_ng in forum Qt Programming
    Replies: 5
    Last Post: 20th July 2007, 07:10
  5. Replies: 2
    Last Post: 5th February 2007, 17:42

Tags for this Thread

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.