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. trying to set my properties in the mainwindow so that some Tabs and buttons change to a different color on startup
Qt 6.11 is out! See what's new in the release blog

trying to set my properties in the mainwindow so that some Tabs and buttons change to a different color on startup

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 1 Posters 629 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.
  • L Offline
    L Offline
    Lineaxe
    wrote on last edited by
    #1

    I have been trying to set my properties in the mainwindow so that some Tabs and buttons change to a different color on startup. It has worked well in all the other dialog boxes that I have created .Some items have changed in the mainwindow but the tabs and buttons just won't change color. There must be something blocking me from setting them in the properties box for the mainwindow ..

    1 Reply Last reply
    0
    • L Offline
      L Offline
      Lineaxe
      wrote on last edited by
      #2

      Oddly enough , the buttons and Tabs are changed when I view the form before I build it, then they just lose the format information when I run the program.

      L 1 Reply Last reply
      0
      • L Lineaxe

        Oddly enough , the buttons and Tabs are changed when I view the form before I build it, then they just lose the format information when I run the program.

        L Offline
        L Offline
        Lineaxe
        wrote on last edited by
        #3

        Heh , where is the blush smiley when you need it . Well another bit of experimenting from earlier in the project cycle shows itself. Setting a stylesheet in the program will override the properties everytime...

        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