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. QTabWidget tabs on left with horizontal text + icon?
Forum Updated to NodeBB v4.3 + New Features

QTabWidget tabs on left with horizontal text + icon?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 2.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.
  • P Offline
    P Offline
    pmh4514
    wrote on last edited by
    #1

    Can somebody provide an example of how I can have a QTabWidget with tabs on the left but have the icon and text still render horizontally?

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pmh4514
      wrote on last edited by pmh4514
      #2

      After some digging I was able to find a port of the "FancyTabWidget" that Qt Creator uses, here:
      http://hackersome.com/p/pcogermany/FancyTabBar

      It required slight tweaking to replace QWindowStyle with QCommonStyle, but otherwise works nice.

      I'd still be interested to learn the right way to extend the QTabWidget to force the icons to rotate though.

      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