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. Close event of Pop up widget.
Forum Updated to NodeBB v4.3 + New Features

Close event of Pop up widget.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.1k 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.
  • CarLoowwwwC Offline
    CarLoowwwwC Offline
    CarLoowwww
    wrote on last edited by
    #1

    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.

    raven-worxR 1 Reply Last reply
    0
    • CarLoowwwwC CarLoowwww

      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.

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @CarLoowwww
      simply call QWidget::close() on it

      --- 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

      • Login

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