Results 1 to 6 of 6

Thread: Values not being appended in a QList

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Values not being appended in a QList

    Strange solution ..imho this way is better
    Qt Code:
    1. for(i=0;i<8;i++)
    2. {
    3. Q3CanvasLine *line = new Q3CanvasLine(m_pCanvas);
    4. line->setPoints(h_xxPoint,h_xyPoint,h_yxPoint,h_yyPoint);
    5. line->show();
    6. RLCHorizontalLineList.append(line);
    7. }
    To copy to clipboard, switch view to plain text mode 
    Last edited by zlatko; 20th April 2006 at 17:06. Reason: em my way no correct.sorry
    a life without programming is like an empty bottle

Similar Threads

  1. Sorting using qSort(), - if QList contains POINTERS
    By joseph in forum Qt Programming
    Replies: 13
    Last Post: 18th August 2013, 18:55
  2. QList, copy problems
    By Valheru in forum Qt Programming
    Replies: 4
    Last Post: 5th February 2010, 00:06
  3. Accessing QList Objects
    By magikalpnoi in forum Qt Programming
    Replies: 7
    Last Post: 21st September 2006, 20:43

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.