Well, we are closing in on 4.3 and it looks like it is shaping up to be a good release. Of course, this is what I usually think with every release. Anyway, since I usually talk about “Mac things,” I thought I would take this opportunity to show off something that seems to caused a bit of a local stir at work, Mac OS X unified toolbars.
If you are running Mac OS X 10.4 or higher (Tiger if you think in cats), you have seen that many applications have there toolbars blending right into the title bar. You probably were wondering, “How did they do that?” Probably followed up by a “how can I do that in Qt?”
Well, with 4.2, it was possible to do (though you would have to write a fair amount of code). That's usually enough to make a programmer reconsider the endeavor. With Qt 4.3, though, we've made it fairly easy. Simply create your QMainWindow and toolbars as normal. Then take a look at the QMainWindow::setUnifiedTitleAndToolBarOnMac() property. This will put all the toolbars in the top toolbar area and does the magic to blend the toolbars into the title bar. It's that simple!
So, how does it look? Well, we added it to Assistant. The before and after picture are below, take a look:
If you want to take a look at this in the snapshots and provide feedback, please do. Don't report that the window doesn't stay in the same spot the next time you open the application, though. We are already aware of that issue and are working on it.
Download the latest release here: www.qt.io/download.
Qt 5.15 was developed with a strong focus on quality and is a long-term-supported (LTS) release that will be supported for 3 years.
Check out all our open positions here and follow us on Instagram to see what it's like to be #QtPeople.
Näytä tämä julkaisu Instagramissa.
Want to build something for tomorrow, join #QtPeople today! We have loads of cool jobs you don’t want to miss! http://qt.io/careers #builtwithQt #software #developers #coding #framework #tool #tooling #C++ #QML #engineers #sales #tech #technology #UI #UX #CX #Qt #Qtdev #global #openpositions #careers #job
Henkilön Qt (@theqtcompany) jakama julkaisu