Results 1 to 2 of 2

Thread: how to read LineEdits by using a loop

  1. #1
    Join Date
    Feb 2007
    Posts
    63
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default how to read LineEdits by using a loop

    hi,
    i have an application having 30 lineEdit boxes named as E1, E2, etc. Right now i am reading the contents of these boxex using
    E1->text();
    E2->text();

    and so on .............

    can i do this using a for loop?????????

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: how to read LineEdits by using a loop

    Please, do not start new threads on the same subject. This is a wrong section too.
    http://www.qtcentre.org/forum/f-qt-p...loop-8363.html
    J-P Nurmi

Similar Threads

  1. HOw to read Line edit through a for loop
    By raghvendramisra in forum Qt Programming
    Replies: 11
    Last Post: 30th August 2007, 03:36
  2. How to read CD with read?
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 29th June 2007, 08:20
  3. QIODevice read()
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 3rd May 2007, 00:29
  4. Workload in a QThread blocks main application's event loop ?
    By 0xBulbizarre in forum Qt Programming
    Replies: 14
    Last Post: 9th April 2006, 21:55
  5. While statement inside the main loop
    By OnionRingOfDoom in forum Qt Programming
    Replies: 4
    Last Post: 8th February 2006, 18:17

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.