Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. how to get a value from other form ?
Forum Updated to NodeBB v4.3 + New Features

how to get a value from other form ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 245 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    I'm trying to make a shop management software
    when the user try to add a record to the goods that he had bought from the suppliers he will open a "searcher" form which will made him find the right product ,then double click on it, it will move the value of the product to "invoices" form
    so how can i do that?

    1 Reply Last reply
    0
    • mrdebugM Offline
      mrdebugM Offline
      mrdebug
      wrote on last edited by
      #2

      Please have a look at this file
      https://github.com/denisgottardello/QtComPort/blob/master/qdopencomport.h
      and have a look at the include
      #include "ui_qdopencomport.h"
      As you can see the ui valiable is public
      now al the gui objects are accessible from another form.

      Need programmers to hire?
      www.labcsp.com
      www.denisgottardello.it
      GMT+1
      Skype: mrdebug

      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