Nova Flow OS
Nova Flow OS
Nova Flow OS
  • Nova Flow en el Dial
  • Qt/QML en imágenes
    • Silica
      • Imágenes High Fidelity
    • MauiKit
      • Imágenes High Fidelity
      • KIO
      • Nepomuk
    • Plasma Components
      • Imágenes High Fidelity
    • QML-Asteroid
    • FishUI
      • Imágenes High Fidelity
    • Lomiri UI Toolkit
      • Imágenes High Fidelity
    • Dtk Declarative
      • Imágenes High Fidelity
    • ControlKit
      • Imágenes High Fidelity
    • QSkinny
      • Imágenes High Fidelity
    • Otros
    • Kirigami
      • Aplicaciones Kirigami con otros estilos
      • Imágenes High Fidelity
      • Estilo Windows 11 para Qt Quick Controls
  • MauiKit
    • Controles
      • ApplicationWindow
      • SettingsDialog
      • InfoDialog
      • InputDialog
      • PopupPage
      • SideBarView
      • TabView
      • AppViews
      • SplitView
      • TabBar
      • ToolBar
      • SelectionBar
      • GridBrowser
      • ListBrowser
      • ListItemTemplate
      • SwipeBrowserDelegate
      • GalleryRolItem
      • CollageItem
      • ToolButtonMenu
      • MenuItemActionRow
      • ToolActions
      • Page
      • FileDialog
      • Badge
      • Holder
      • FloatingButton
      • Chip
      • ColorsRow
      • CloseButton
      • IconItem
      • Notify
      • ShadowedRectangle
      • SearchField
      • Flow
      • Referencia completa: MauiKit
      • Referencia completa: Accounts
      • Referencia completa: Calendar
      • Referencia completa: File Browsing
      • Referencia completa: Image Tools
      • Referencia completa: Terminal
      • Referencia completa: Text Editor
      • Referencia completa: MauiMan
      • Qt Quick Controls
      • Referencia completa: tipos QML
    • Documentación útil
      • Aclaración
      • Links a recursos externos
        • Ejemplos
      • Actuaciones condicionales
      • Colores
      • Anclaje de controles
      • Eventos de respuesta
      • Animaciones
      • Efectos
      • Conectar funcionalidad C++ con la interfaz QML
      • Componentes modelo-delegado o listas y cuadrículas
      • Enviar señales
      • Añada contenido online a su aplicación
      • Compile y empaquete su aplicación
      • Integración con GitHub
  • Guía de programación QML para Qt6
  • KDE Dev Guide
Powered by GitBook
On this page
  1. MauiKit
  2. Documentación útil

Efectos

Aplica efectos a los componentes de tu aplicación.

DropShadow.

import QtQuick 2.15
import QtQuick.Controls 2.15
import org.mauikit.controls 1.3 as Maui
import QtGraphicalEffects 1.15

Maui.ApplicationWindow
{
    id: root

    Maui.Page {
        id: page

        anchors.fill: parent
        showCSDControls: true

        Maui.IconItem
        {
            id: iconItem
            anchors.centerIn: parent
            imageSource: "https://upload.wikimedia.org/wikipedia/commons/8/8d/KDE_logo.svg"
            imageSizeHint: 200
            maskRadius: Maui.Style.radiusV
            fillMode: Image.PreserveAspectCrop

            layer.enabled: true
            layer.effect: DropShadow {
                anchors.fill: iconItem
                horizontalOffset: 3
                verticalOffset: 3
                radius: 8.0
                samples: 17
                color: "#80000000"
                source: iconItem
            }
        }
    }
}

GaussianBlur.

GaussianBlur {
    anchors.fill: iconItem
    source: iconItem
    radius: 8
    samples: 16
}

Tipos

Consulte:

Merges two source items by using a blend mode

Adjusts brightness and contrast

Alters the colors of the source item by applying an overlay color

Sets the color in the HSL color space

Draws a conical gradient

Reduces the saturation of the colors

Applies blur effect to the specified direction

Moves the pixels of the source item according to the given displacement map

Generates a soft shadow behind the source item

Applies a fast blur effect to one or more source items

Alters the luminance of the source item

Applies a higher quality blur effect

Generates a halo like glow around the source item

Alters the source item colors in the HSL color space

Generates a colorized and blurred shadow inside the source

Adjusts color levels in the RGBA color space

Draws a linear gradient

Applies a blur effect with a varying intesity

Masks the source item with another item

Applies directional blur in a circular direction around the items center point

Draws a radial gradient

Generates a blurred and colorized rectangle, which gives the impression that the source is glowing

Blurs repeatedly, providing a strong blur effect

Masks the source item with another item and applies a threshold value

Applies directional blur effect towards source items center point

PreviousAnimacionesNextConectar funcionalidad C++ con la interfaz QML

Last updated 1 year ago

Blend
BrightnessContrast
ColorOverlay
Colorize
ConicalGradient
Desaturate
DirectionalBlur
Displace
DropShadow
FastBlur
GammaAdjust
GaussianBlur
Glow
HueSaturation
InnerShadow
LevelAdjust
LinearGradient
MaskedBlur
OpacityMask
RadialBlur
RadialGradient
RectangularGlow
RecursiveBlur
ThresholdMask
ZoomBlur
Qt Graphical Effect QML Types | Qt Graphical Effects 5.15.16
Logo