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. Prevent letting toolbar to be movable in Windows, short question

Prevent letting toolbar to be movable in Windows, short question

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.0k 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.
  • A Offline
    A Offline
    amir734jj
    wrote on 28 Apr 2013, 22:16 last edited by
    #1

    Here is my code , I want to prevent letting toolbar to be movable in Windows

    I added this setUnifiedTitleAndToolBarOnMac(true); [in mainwindow.cpp] but it seems doesn't work on windows

    Any idea would be appreciated

    Thanks

    !http://s21.postimg.org/k7nv7nsfb/Untitled.jpg()()!

    Link of my code:

    https://www.dropbox.com/sh/iz82tkn3jb7u26l/fhuC7Ma23x

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Apr 2013, 22:21 last edited by
      #2

      Hi,

      Like the function name says, it for Mac.

      How about "this":http://qt-project.org/doc/qt-4.8/qtoolbar.html#movable-prop ?

      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
      • A Offline
        A Offline
        amir734jj
        wrote on 1 May 2013, 03:08 last edited by
        #3

        SOLVED THANKS MAN !!!

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 2 May 2013, 08:09 last edited by
          #4

          Your welcome !

          Don't forget to update your thread's title to solved so other forum users will know that it's been solved

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

          2 May 2013, 08:09

          • Login

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