Close event of Pop up widget.

  • Here is my problem.

    I have a mainwindow UI, and i put a widget inside it, the widget will serve as my application pereferences. And i show the widget with a close button on it(using set windowflags with Qt::tools,windowtitlehinnt,closebuttonhint.. So i am wondering how i am going to call the closeevent of that pop up widget.

    Sorry for my bad english.

  • Moderators

    simply call QWidget::close() on it

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.