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. QT Window Modality disables actions in menu
Forum Updated to NodeBB v4.3 + New Features

QT Window Modality disables actions in menu

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 325 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
    merlinko
    wrote on 21 Aug 2018, 15:02 last edited by
    #1

    I have a class that is a subclass of QWindow. I need to set WindowModality to WindowModal, so user cannot interact with other opened windows. But my window has a menubar with many menus that have some QActions inside and when I setWindowModality(Qt::WindowModal) it automatically disables every action in menu and I need them to be enabled.

    Can anybody provide some simple solution for this? Or it is not possible?

    Thank you very much.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 21 Aug 2018, 15:46 last edited by
      #2

      Sounds like a bug on first sight. Try searching for it in Qt bugtracker: https://bugreports.qt.io

      (Z(:^

      1 Reply Last reply
      1

      1/2

      21 Aug 2018, 15:02

      • Login

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