Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Exec show hide problem i have
Forum Updated to NodeBB v4.3 + New Features

Exec show hide problem i have

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 116 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.
  • I Offline
    I Offline
    Iut-Robin
    wrote last edited by Iut-Robin
    #1

    Hi there, i have three dialogs named dialog 1 dialog 2 dialog 3 dialog 1 is executed by main.cpp as a pointer and di1.exec(); di2 is executed by di1 as a pointer and di2.exec(); and di3 ..... . in constructurs of di2 and di3 ,previous dialogs are set to hide mode . and in close_Btn_clicked the previous dialog is shown by parentwidget().show(); . i have error that when i clicked on closebtn in dialog 3 the di1.exec in main.cpp is done and the line after that contaains a qDebug shows a message in terminal and when i close di2, di1 is freezed and the program crashes. i mean why is this marvel happened? and how to fix it >? what is the behavior of QT for show hide and exec()? if you have taught about that to share my problem with chatGPT , im not sure if your answer satisfies me!!! Thank yall.

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

      Hi and welcome to devnet,

      Are you trying to implement some sort of wizard ?
      If so, take a look a QWizard.

      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