Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Apply chrome like style to TabView
Qt 6.11 is out! See what's new in the release blog

Apply chrome like style to TabView

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 1.7k 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.
  • S Offline
    S Offline
    songziming
    wrote on last edited by
    #1

    I want to apply Google chrome style tabs to TabView. I found an example in page #25 of "this":https://www.qtdeveloperdays.com/2013/sites/default/files/presentation_pdf/johnson-QtQuickDesktop.pdf slides (the lowest), but it didn't give the source code.

    How to make TabView look like chrome, I want to achieve that using Qt Quick Controls and StyleSheet.

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

      Hmmm create custom tabs isn't the problem. You can use Canvas and draw what ever you want. Create a custom element maybe derived from QQuickPaintedItem. A tab can be every element derived from Item. The problem in my opinion is which tab style do you mean. I think is platform depended ins't it?

      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