Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved After QMainWindow showFullScreen, QMenu doesn't respond MousePress Event

    General and Desktop
    2
    4
    752
    Loading More Posts
    • 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.
    • nashge
      nashge last edited by

      Hi,every guys! I met a problem. Like title says,after invoke QMainWindow showFullScreen, QMenu in menubar does't respond MousePress event!

      I just want to do a function like full screen in visual studio software.

      How can i solve it?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi,

        You should add which version of Qt you are using and what OS you are running on.

        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 Reply Quote 0
        • nashge
          nashge last edited by

          QT:v5.5.1 OS:win_x86_64, ps:after invoke fullscreen,only menubar and toolbar doesn't respond press event, other dockwidgets in mainwindow can close through click their close button.

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            What version of Windows is it ? x86_64 is the architecture.

            You should re-test that with a more recent version of Qt, either 5.6.1 or 5.7.0 that was just released.

            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 Reply Quote 0
            • First post
              Last post