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. Hovering change color depending on Qt Creator theme instead of the choosen color
Forum Updated to NodeBB v4.3 + New Features

Hovering change color depending on Qt Creator theme instead of the choosen color

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt 6.8.1qt creator 15hover
3 Posts 2 Posters 275 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.
  • H Offline
    H Offline
    hahafilip
    wrote on 18 Dec 2024, 15:12 last edited by
    #1

    Hi! I'm learning Qt Creator through the book "Qt 6 C++ GUI Programming Cookbook" by Lee Zhi Eng.

    I started having problem in the "creating a login screen using style sheets" section and I encountered the same problem in the "Customizing properties and sub-controls" section.

    For clearness this is the project (Original Project Link). It's a really small one.

    The strange thing is that if I write the same exact project my self (My Project Link) instead of downloading it, when I hover the mouse over the buttons, the colors change to grey (if qt creator theme is dark) and to white (if qt creator theme is light), they never change to the correct color, but they do with the downloaded project.

    I tried to compare every file but I do not notice any cause of the difference.
    Hope you can help me. I'm literally having a burning out and I just started my journey with Qt...

    Thank you ! :)

    J 1 Reply Last reply 19 Dec 2024, 06:52
    0
    • H hahafilip
      18 Dec 2024, 15:12

      Hi! I'm learning Qt Creator through the book "Qt 6 C++ GUI Programming Cookbook" by Lee Zhi Eng.

      I started having problem in the "creating a login screen using style sheets" section and I encountered the same problem in the "Customizing properties and sub-controls" section.

      For clearness this is the project (Original Project Link). It's a really small one.

      The strange thing is that if I write the same exact project my self (My Project Link) instead of downloading it, when I hover the mouse over the buttons, the colors change to grey (if qt creator theme is dark) and to white (if qt creator theme is light), they never change to the correct color, but they do with the downloaded project.

      I tried to compare every file but I do not notice any cause of the difference.
      Hope you can help me. I'm literally having a burning out and I just started my journey with Qt...

      Thank you ! :)

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 19 Dec 2024, 06:52 last edited by
      #2

      @hahafilip How is this related to the theme in QtCreator? Or do you mean you hover over buttons in designer?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply 19 Dec 2024, 08:37
      0
      • J jsulm
        19 Dec 2024, 06:52

        @hahafilip How is this related to the theme in QtCreator? Or do you mean you hover over buttons in designer?

        H Offline
        H Offline
        hahafilip
        wrote on 19 Dec 2024, 08:37 last edited by hahafilip
        #3

        @jsulm I'm sorry, I wrote it wrong. I meant to say that it changes depending on Windows theme.

        (if qt creator Windows theme is light) & (if qt creator Windows theme is dark)

        1 Reply Last reply
        0

        3/3

        19 Dec 2024, 08:37

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved