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. [solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)
Forum Updated to NodeBB v4.3 + New Features

[solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)

Scheduled Pinned Locked Moved General and Desktop
10 Posts 2 Posters 2.2k 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.
  • C Offline
    C Offline
    crystalidea
    wrote on 14 Jan 2014, 21:01 last edited by
    #1

    Removing of WindowMaximizeButtonHint in Qt5.2.0 (was ok in Qt4) makes window/dialog non resizable on Mac. 10.9.1. Is that normal or is it a bug? Is there any workaround?

    Thanks.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 14 Jan 2014, 21:05 last edited by
      #2

      Hi,

      What exact version of Qt are you using on which version of OS X ?

      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
      • C Offline
        C Offline
        crystalidea
        wrote on 14 Jan 2014, 21:21 last edited by
        #3

        5.2, 10.9.1

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 14 Jan 2014, 21:28 last edited by
          #4

          Can you provide a minimal sample that reproduces this ?

          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
          • C Offline
            C Offline
            crystalidea
            wrote on 14 Jan 2014, 21:44 last edited by
            #5

            It's called windowflags sample, default sample that comes with Qt
            examples/widgets/widgets/windowflags

            https://www.dropbox.com/s/8aep6rz90mkp9wf/flags_sample.png

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 14 Jan 2014, 23:23 last edited by
              #6

              Looking at the sources, it looks like It's normal.

              You can use the code shown "here":http://qt-project.org/forums/viewthread/27728 to adjust the flags of your widget exactly the way you want it

              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
              • C Offline
                C Offline
                crystalidea
                wrote on 15 Jan 2014, 00:09 last edited by
                #7

                Thank you, looks promising

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 15 Jan 2014, 22:01 last edited by
                  #8

                  If this solves your problem, don't forget to update the thread title prepending [solved] so other forum users may know a solution as been found :)

                  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
                  • C Offline
                    C Offline
                    crystalidea
                    wrote on 15 Jan 2014, 22:52 last edited by
                    #9

                    Done. Seems like Qt5 changed this behaviour to match Mac policy about it.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 15 Jan 2014, 23:01 last edited by
                      #10

                      AFAIK yes, that's the goal

                      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

                      4/10

                      14 Jan 2014, 21:28

                      • Login

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