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. [OS X] Yosemite style - moving close, minimize, maximize buttons and search qLineEdit etc.

[OS X] Yosemite style - moving close, minimize, maximize buttons and search qLineEdit etc.

Scheduled Pinned Locked Moved General and Desktop
3 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hello,

    I have been searching for Yosemite style tips, but to my surprise haven't found anything usefull. I currently have a working window without a titlebar, I can drag it around. Perfect. Here is an example of the final result I am looking to achieve, ordered by importance.

    http://imgur.com/2f98abM

    1. is the most important/hardest. I can live with a search bar that doesn't have a looking glass icon :)

    Eventually I'd like to get the "frosted glass" style for my left pane, but it isn't a priority. I am also pretty sure that Qt provides all necessary tools to make it work. So, anyone have an idea on how to move the app buttons? Any good reads/ideas/pointers?

    Creating new buttons using the app->Style() and QStyle::SP_TitleBarCloseButton doesn't work. The icons aren't correct and there is a button underneath :/

    Oh and thank you for any help/guidance/ideas/brainstorming :)

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      Hmmm, nobody? Has anyone ever been able to move the titlebar buttons before? Google is very unfriendly with my searches :(

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        To embed the search field in your application you can have a look at QMacCocoaViewContainer which provides an example exactly with that widget.

        Can you give more detail about what you are trying to do with the buttons ?

        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

        • Login

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