Commit 88afcdb4 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

Add Banner

parent 5b3aebdd
import QtQuick 2.15
import QtQuick.Controls
import WelcomeScreen 1.0
import QtQuick.Layouts
import StudioControls 1.0 as StudioControls
import projectmodel 1.0
Item {
id: blogBanner
height: 300
width: 300
Text {
id: textItem
text: "Qt Design Studio 3.3 released!"
anchors.fill: parent
font.pixelSize: 18
color: Constants.currentBrand
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignTop
wrapMode: Text.WordWrap
font.underline: linkArea.containsMouse
anchors.leftMargin: 8
anchors.bottomMargin: 8
anchors.topMargin: 46
font.bold: true
}
Image {
id: bridging_the_gap
x: 15
y: 143
source: "dataImports/DataModels/images/bridging_the_gap.png"
sourceSize.height: 140
sourceSize.width: 220
fillMode: Image.PreserveAspectFit
}
Rectangle {
id: rectangle
x: 8
y: 97
anchors.fill: parent
z: -1
border.color: Constants.currentBrand
color: linkArea.containsMouse ? Constants.currentPushButtonHoverBackground : Constants.currentPushButtonNormalBackground
MouseArea {
id: linkArea
x: 8
y: 42
hoverEnabled: true
anchors.fill: parent
onClicked: Qt.openUrlExternally("https://www.qt.io/blog/qt-design-studio-3.3-released")
}
}
}
ExamplesModel 1.0 ExamplesModel.qml
TutorialsModel 1.0 TutorialsModel.qml
BlogBanner 1.0 BlogBanner.qml
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment