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. Some problems with QTabWidget
Forum Updated to NodeBB v4.3 + New Features

Some problems with QTabWidget

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

    I am trying to set the color of tabs but this:
    mainTab->tabBar()->setPalette(*(new QPalette(Qt::red)));
    doesnt work. Whats wrong?I'm using Qt 5.2.1

    1 Reply Last reply
    0
    • N Offline
      N Offline
      NuVeS
      wrote on last edited by
      #2

      I'm using Qt 5.2.1

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andreyc
        wrote on last edited by
        #3

        What does it mean "doesn't work"?
        Are there any error messages?

        You have a memory leak here.

        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