Results 1 to 2 of 2

Thread: Display Problem

  1. #1
    Join Date
    Apr 2009
    Posts
    61
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Display Problem

    Hi


    I added the frame within list view.......


    It is showing the of sutput fraction oeconds and closed the window automatically....

    I created one frame class called Tweet. There i used to display the image,some text..

    In output it showing show only frame,not showed the image,text..... frame also showing fraction of seconds and automatically closed the window.....code
    Qt Code:
    1. Tweet *tweet;
    2. setVisible(this)
    3. ui->listView->setIndexWidget(item(0)->index() , tweet );
    4. ui->listView->setUpdatesEnabled( true );
    To copy to clipboard, switch view to plain text mode 

    if i change the tweet width to listview width ,it also not changing....

    tweet->resize( ui->listView->width() , tweet->height() );

    please help me


    Thanks

    Yuva R

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

    Default Re: Display Problem

    Could you restate what the problem is? Why are you placing a frame within a list view?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2009, 09:05
  2. Replies: 19
    Last Post: 3rd April 2009, 23:17
  3. Replies: 2
    Last Post: 19th November 2008, 09:01
  4. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  5. Model display problem
    By gyre in forum Newbie
    Replies: 3
    Last Post: 31st December 2007, 13:46

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.