Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import QtQuick 2.9
- import QtQuick.Window 2.2
- import QtQuick.Controls 2.2
- import QtQuick.Controls.Styles 1.4
- import QtGraphicalEffects 1.0
- import QtQuick.Dialogs 1.2
- import QtQuick.Layouts 1.3
- import QtMultimedia 5.9
- Window{
- id: window
- visible: true
- width: 1250
- height:686
- color: "#36393f"
- title: qsTr("Hello World")
- Rectangle {
- id: rectangle
- x: 170
- y: 224
- width: 862
- height: 65
- color: "#ffffff"
- LinearGradient {
- anchors.fill: parent
- start: Qt.point(300, 0)
- end: Qt.point(0, 0)
- gradient: Gradient {
- GradientStop { position: 0.0; color: "red" }
- GradientStop { position: 0.5; color: "yellow" }
- GradientStop { position: 1.0; color: "green" }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement