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. QDialog and QOpenFileDialog

QDialog and QOpenFileDialog

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.4k 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.
  • M Offline
    M Offline
    maxvanceffer
    wrote on last edited by
    #1

    Who meet such situtation. I have dialog with several QLineEdits, and from which i open QOpenFileDialog with parent instance this dialog ( but as managed it doesn't make sense, i meen who is parent ). And as soon as dialog opened, some of QLineEdits clear there text.

    Also what i noticed, that all my QLineEdits lays in QFormLayout, and there labels which get cleared, they all html reach text.

    Who meet such sitatation ?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bodzio131
      wrote on last edited by
      #2

      QOpenFileDialog? I cannot find such class in qt 4/5. Is this kind of 3rd-party library?

      1 Reply Last reply
      0
      • raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by
        #3

        I think the means the normal QFileDialog :)
        If your file dialog is supposted to be modal you can set the form widget as a parent and open the dialog in a central place.
        If you allow multiple file dialogs to be open at the same time you can choose the corresponding line edit as a parent widget.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maxvanceffer
          wrote on last edited by
          #4

          Yeah sorry, i mean QFileDialog

          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