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. Video Frame disappears from QMediaPlayer on mouse over with custom skin
Forum Updated to NodeBB v4.3 + New Features

Video Frame disappears from QMediaPlayer on mouse over with custom skin

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

    Hi, I am using Qt 5.5. And am working on using a custom skin over the video program I have. However when using the custom skin (.qrc, .qss files, resources etc) if my mouse passes over the QMediaPlayer itself the current frame disappears, and the video continues playing normally a couple frames later.
    I have tried several different random skins I have found around the internet, they all do the same thing.

    So is there anything I can do to solve this other than creating a class which inherits from QMediaPlayer and rewriting, some of the events?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      colossus47
      wrote on last edited by
      #2

      I figured out a solution to my problem. The removing the below qss from the style sheet fixed the issue.

      QWidget:item:hover
      {
          background-color: #78879b;
          color: black;
      }
      
      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