Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Need help with Passing value for Qt Symbian
Forum Updated to NodeBB v4.3 + New Features

Need help with Passing value for Qt Symbian

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 314 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kasmax99
    wrote on last edited by
    #1

    Hi
    I am very new to Qt. I have been trying to pass values from one form to another. i looked at so many discussions here and searched online but am unable to follow any of it. so i am hopping someone will help me.

    I have two forms:
    1- mainwindow.ui has tableView
    2- datawindow.ui has lineEdit and textEdit

    when i click on tableview in mainwindow.ui i want to pass values of column 1 and column 2 to lineEdit and textEdit in datawindow.ui .

    can someone tell me a simple way to do this? i will be very thankful if someone can write down what to code and where.

    Many thanks for helping me.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      This question has been asked and answered many times already. Please search the forum a bit. Qt’s own documentation is also filled with examples that shows that kind of stuf.

      Depending on how your application works, either use signal and slots to transfer data between forms. If a dialog, you can give it getters to retrieve the values you want after use and then use them further.

      Out of curiosity, why Symbian ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved