Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qml Blur Effects Disappeared!

Qml Blur Effects Disappeared!

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 310 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.
  • N Offline
    N Offline
    Nan Feng
    wrote on last edited by
    #1

    Hi, I am trying to use Qml to make a Css form, as in the video, I added a blur effect, but why the blur is not what I want in the future. What I want is a circular blur, just like in the video. In addition, after running the mouse drag a few times, it got stuck for a while, and the blur effect disappeared! ! If the mouse changes the size of the form, the blur effect will also disappear. What's the situation?
    Video link: http://qvspur0bl.hn-bkt.clouddn.com/2021-07-31 16-09-44.mp4

    My code:

    Window
    {
    id: _app
    width: 1200
    height: 800
    visible: true
    title: "Most Creative Profile Card Design"

    Item
    {
        anchors.fill: parent
        Rectangle
        {
            id: _imgRect
            x: _bgRec.x + _bgRec.width / 2-width / 2
            y: _bgRec.y-height / 2
            width: 120
            height: 120
            color: "#00FF00"
            radius: 60
            z: 1
            GaussianBlur
            {
                anchors.fill: parent
                source: parent
                radius: 20
            }
        }
    
        Rectangle
        {
            id: _bgRec
            anchors.centerIn: parent
            width: 450
            height: 350
            color: "#FFE4E1"
            z: 0
        }
    }
    

    }

    1 Reply Last reply
    0
    • MarkkyboyM Offline
      MarkkyboyM Offline
      Markkyboy
      wrote on last edited by
      #2

      Nobody wants to click on spurious links that cause Chrome to defecate itself.

      Please post a screenshot of the effect you desire.

      Don't just sit there standing around, pick up a shovel and sweep up!

      I live by the sea, not in it.

      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