Улучшен дизайн кнопок SpinBox: добавлены современные стили, улучшена визуальная обратная связь, добавлены SVG иконки, оптимизированы размеры и отступы, улучшена читаемость значени
This commit is contained in:
1 parent
2b9165771b
commit
29dce906c5
6110 files changed
+775979
No files matched your search
+3
@@ -0,0 +1,3 @@
|
||||
void MAIN() {
|
||||
BASE_COLOR = vec4(0.29, 0.93, 0.27, 1.0);
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
void MAIN() {
|
||||
vec4 mainCol = texture(INPUT, INPUT_UV);
|
||||
FRAGCOLOR = vec4(1.0 - mainCol.r, 1.0 - mainCol.g, 1.0 - mainCol.b, mainCol.a);
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
// Copyright (C) 2020 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick
|
||||
import QtQuick3D
|
||||
|
||||
Effect {
|
||||
passes: renderPass
|
||||
|
||||
Pass {
|
||||
id: renderPass
|
||||
shaders: [fragShader]
|
||||
}
|
||||
|
||||
Shader {
|
||||
id: fragShader
|
||||
stage: Shader.Fragment
|
||||
shader: "effect_default_shader.frag"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
// Copyright (C) 2019 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
|
||||
|
||||
import QtQuick
|
||||
import QtQuick3D
|
||||
|
||||
View3D {
|
||||
width: 400
|
||||
height: 400
|
||||
environment: sceneEnvironment
|
||||
|
||||
SceneEnvironment {
|
||||
id: sceneEnvironment
|
||||
antialiasingMode: SceneEnvironment.MSAA
|
||||
antialiasingQuality: SceneEnvironment.High
|
||||
}
|
||||
|
||||
Node {
|
||||
id: scene
|
||||
|
||||
DirectionalLight {
|
||||
id: directionalLight
|
||||
}
|
||||
|
||||
PerspectiveCamera {
|
||||
id: sceneCamera
|
||||
z: 350
|
||||
}
|
||||
|
||||
Model {
|
||||
id: cubeModel
|
||||
eulerRotation.x: 30
|
||||
eulerRotation.y: 45
|
||||
|
||||
source: "#Cube"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user