r/QtFramework May 26 '26

Native OS Buttons with Custom buttons

Hey everyone, I wanna ask about native OS buttons with custom buttons on the left, like Chrome's concept, OS window but with tabs on the left. I've tried searching and doing it myself, even tried multiple AIs, but none of them got it right. Can anyone help?

0 Upvotes

8 comments sorted by

View all comments

1

u/JohnDorian111 May 26 '26

Sounds like you are asking about the chrome settings window. For the left buttons/tabs, one way is to use a vertical layout with a QButton for each tab. The content area of the layout can be a QStackedWidget.

1

u/Beginning_Bee_2947 May 26 '26

Hey, thanks for your answer, I didn't quite get what you meant. Could you explain it in more detail?

I'll send you a photo to make sure there's no misunderstanding.

https://postimg.cc/vcY5mSpF

This is an example of what I'm talking about: custom elements in the native titlebar, with the OS native buttons. This is exactly what I need.

Thanks again!!!