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 access a amember from QWidget that is not shown in MainWindow

How to access a amember from QWidget that is not shown in MainWindow

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 188 Views
  • 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.
  • J Offline
    J Offline
    JoeGreen
    wrote on last edited by JoeGreen
    #1

    Screenshot from 2022-12-09 18-55-59.png Screenshot from 2022-12-09 18-56-21.png

    As you see lineEdit is found , but i can not access it in the main Window ?
    help please

    1 Reply Last reply
    0
    • JoeCFDJ JoeCFD

      This post is deleted!

      M Offline
      M Offline
      mpergand
      wrote on last edited by
      #3

      if I'm not mistaken, every widgets are defined in the same level in ui_MainWindow, so the lineEdit should be accessible directly with:
      ui->lineEdit;

      1 Reply Last reply
      3
      • JoeCFDJ Offline
        JoeCFDJ Offline
        JoeCFD
        wrote on last edited by
        #2
        This post is deleted!
        M 1 Reply Last reply
        0
        • JoeCFDJ JoeCFD

          This post is deleted!

          M Offline
          M Offline
          mpergand
          wrote on last edited by
          #3

          if I'm not mistaken, every widgets are defined in the same level in ui_MainWindow, so the lineEdit should be accessible directly with:
          ui->lineEdit;

          1 Reply Last reply
          3

          • Login

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