Results 1 to 3 of 3

Thread: my window disappears quickly

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2010
    Posts
    20
    Thanks
    7
    Qt products
    Qt4

    Unhappy my window disappears quickly

    Hi everyone..

    I have problem in my project..
    look at this first:
    in dialog3.cpp
    Qt Code:
    1. void Dialog3::openD4()
    2. {
    3. drawGraph g;
    4. g.show();
    5. }
    To copy to clipboard, switch view to plain text mode 

    I have drawGraph.h , drawGraph.cpp ,and drawGraph.ui files
    ( I draw circles and add bottons inside it)
    I call them window by define object and call show functon to display it after dialog3..

    but it disappears quickly
    so, I cann't see it!

    when I call it in main.cpp,it doesn't disappear!!

    anyone have idea about that?
    Last edited by Abeer; 30th May 2010 at 00:14.

Similar Threads

  1. Focus in QDockWidget disappears
    By Debilski in forum Qt Programming
    Replies: 3
    Last Post: 30th March 2011, 12:40
  2. QGraphicsView scroll bars disappears
    By jano_alex_es in forum Qt Programming
    Replies: 4
    Last Post: 25th November 2009, 14:17
  3. QTableView, QSqlTableModel - data disappears
    By msh in forum Qt Programming
    Replies: 1
    Last Post: 15th November 2008, 11:50
  4. Character from argument disappears
    By Pepe in forum Qt Programming
    Replies: 13
    Last Post: 19th June 2007, 23:48
  5. Displaying Text Quickly
    By taylor34 in forum Qt Programming
    Replies: 6
    Last Post: 2nd March 2006, 14:09

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.