a few touch-ups

This commit is contained in:
Sebastian Kügler 2013-03-11 03:23:40 +01:00
parent bd452c7b92
commit 958fb30760
3 changed files with 7 additions and 8 deletions

View File

@ -20,7 +20,7 @@ import QtQuick 2.0
ShaderExample {
pageName: "Simple shader"
pageName: "Simple"
pageDescription: "Paints a red, translucent rectangle"
ShaderEffect {

View File

@ -110,7 +110,7 @@ ShaderExample {
property variant mouse
property variant resolution
property int fadeDuration: 2500
property int fadeDuration: 250
property real amplitude: 0.04 * amplitudeSlider.value
property real frequency: 20
property real time: 10

View File

@ -43,12 +43,11 @@ Item {
right: parent.right
top: parent.top
}
height: _h
height: theme.iconSizes.toolbar * 1.5
PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; }
//PlasmaComponents.TabButton { tab: colorExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: colorShower; text: tab.pageName; }
PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: simpleExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; }
}
@ -62,9 +61,6 @@ Item {
bottom: parent.bottom
}
Shadows {
id: shadowExample
}
WobbleExample {
id: wobbleExample
}
@ -74,6 +70,9 @@ Item {
ColorShower {
id: colorShower
}
Shadows {
id: shadowExample
}
SimpleExample {
id: simpleExample
}