how to implement parallel typing from QDialog to QListwidet



  • I have a a window in which is there is QDialog at the left of the Vertical QSplitter and QListWidget at the right window

    I want to impliment a the keypressevent on QLineEdit left QDialog , when I type a key in QDialog in the left and right same key should displayed in right QListWIdget

    The sample image is https://ibb.co/m1Cxbn and QDialog in it is generated by Ui file

    It will helpful some one can help me write the code


  • Qt Champions 2017

    hi
    so the select item, in the ListWidget should get the text typed into
    the LineEdit ?
    You can use
    http://doc.qt.io/qt-5/qlineedit.html#editingFinished
    to hook to a slot where you replace the text of ¨
    the currently selected item.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.