Results 1 to 2 of 2

Thread: QListview & QLineEdit

  1. #1
    Join Date
    Sep 2006
    Posts
    42
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Unhappy QListview & QLineEdit

    Hi,

    I have one form with a QListView would like that when the user selects an item of the list.

    The selected item appears in a QLineEdit in one another one form.

    it will be that they somebody could help-me. I am using Qt3.

    Cris

  2. #2
    Join Date
    Jan 2006
    Posts
    30
    Thanks
    6

    Default Re: QListview & QLineEdit

    You need to connect a custom slot, that accepts the data from some where and updates
    the same to Lineedit...with a clicked signal of qlistview

    I hope the signal will give you the selected qlistviewitem..so make a custom slot with
    qlistviewitem as a parameter in the form class which has QLineedit..

    then make a connection

    ~cheers
    Regards
    -$akthi
    --
    You never know, how soon it may be too late…...

Similar Threads

  1. QListView & backgroundBrush -> Houston we hv a problem
    By travis in forum Qt Programming
    Replies: 3
    Last Post: 31st July 2006, 07:13
  2. Key Events for QListView
    By bmesing in forum Qt Programming
    Replies: 2
    Last Post: 4th April 2006, 09:29
  3. a box around QLineEdit?
    By GreyGeek in forum Qt Tools
    Replies: 13
    Last Post: 8th February 2006, 15:40
  4. QListView
    By dragon in forum Newbie
    Replies: 1
    Last Post: 25th January 2006, 21:08
  5. Keeping focus at bottom of QListView
    By jakamph in forum Qt Programming
    Replies: 4
    Last Post: 10th January 2006, 14:45

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.