Results 1 to 3 of 3

Thread: empty dialog shown

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2008
    Location
    Croatia
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default empty dialog shown

    hi,
    i'm using qt creator, i made a new project with mainwindow (mainwindow.ui, mainwindow.h, mainwindow.cpp), then added a dialog called members.ui, source (members.cpp) and header (members.h) file, but when i want to show the dialog i get an empty dialog instead
    here are sources i consider relevant:
    mainwindow.cpp
    members.cpp
    members.h
    I'm new to Qt so it might be something trivial...

    Thank you.

    EDIT: attached files
    Last edited by marvin; 17th November 2008 at 09:49.

  2. #2
    Join Date
    May 2006
    Location
    Germany
    Posts
    108
    Thanks
    2
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: empty dialog shown

    You forgot telling your members dialog about the dialog's UI class. Check the auto-generated mainwindow.cpp/.h code (or even better: the documentation) for how its done.
    "If you lie to the compiler, it will get its revenge." - Henry Spencer

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

    marvin (17th November 2008)

  4. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,371
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: empty dialog shown

    Please attach files to your post using the attach feature of the forum instead of linking files from external sites.

Similar Threads

  1. Replies: 9
    Last Post: 13th August 2008, 18:07
  2. Resizing the dialog boxes
    By anju123 in forum Qt Programming
    Replies: 4
    Last Post: 14th September 2007, 10:41
  3. QGraphicsView: Dialog Position Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 6th August 2007, 17:48
  4. Show/hide part of dialog with resizing.
    By Spockmeat in forum Qt Tools
    Replies: 6
    Last Post: 7th June 2006, 08:22
  5. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52

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.