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. dialog disappears unexpectedly
Forum Updated to NodeBB v4.3 + New Features

dialog disappears unexpectedly

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 421 Views 2 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.
  • U Offline
    U Offline
    user4592357
    wrote on last edited by user4592357
    #1

    how can i keep a dialog open if there is another dialog opened?

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

      Hi,

      Please provide a minimal compilable example that shows the behaviour.

      Note that it is quite strange to put a QDialog in a QFrame. Why not customize the QDialog object itself ?

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

      U 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        Please provide a minimal compilable example that shows the behaviour.

        Note that it is quite strange to put a QDialog in a QFrame. Why not customize the QDialog object itself ?

        U Offline
        U Offline
        user4592357
        wrote on last edited by
        #3

        @SGaist
        how should i customize it? set these properties on dialog instead of frame?

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

          As I said, I do not see why you put your dialog in a QFrame. It looks like you are try to make your QFrame look like a dialog.

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

          U 1 Reply Last reply
          2
          • SGaistS SGaist

            As I said, I do not see why you put your dialog in a QFrame. It looks like you are try to make your QFrame look like a dialog.

            U Offline
            U Offline
            user4592357
            wrote on last edited by
            #5

            @SGaist
            i need frameless dialog

            JonBJ 1 Reply Last reply
            0
            • U user4592357

              @SGaist
              i need frameless dialog

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @user4592357
              Why do you need a frameless dialog via putting a dialog inside a frame with box?

              Anyway, this is not what you're supposed to do with a QDialog (or any dialog), as @SGaist said. And as he said, rather style the dialog to whatever it is you seem to want.

              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