Skip to content

Commit

Permalink
vol-1
Browse files Browse the repository at this point in the history
  • Loading branch information
n-sk committed Mar 20, 2021
1 parent 8b8d615 commit 1494853
Show file tree
Hide file tree
Showing 20 changed files with 1,269 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cold.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions Grid.ui.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import QtQuick 2.12
import QtQuick.Controls 2.5

Grid {
id: grid
}
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

168 changes: 168 additions & 0 deletions Page1Form.ui.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Layouts 1.0

Page {
id: page
width: 480
height: 800
clip: true

AnimatedImage {
id: animatedImage
x: 66
y: 65
width: 100
height: 250
source: "heat-gif.gif"
}

Slider {
id: slider
x: 10
y: 65
width: 50
height: 250
to: 100
stepSize: 1
orientation: Qt.Vertical
value: 0
}

Text {
id: text1
x: 172
y: 155
width: 70
height: 70
text: slider.value + "°"
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
minimumPixelSize: 18
}

RowLayout {}

RowLayout {}

ColumnLayout {
id: sutun
x: 0
y: 465
width: 477
height: 163
anchors.horizontalCenter: parent.horizontalCenter

Text {
id: text2
text: qsTr("Hatalar")
font.pixelSize: 16
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.preferredWidth: sutun.width
Layout.preferredHeight: 30
}

ColumnLayout {
RowLayout {
Layout.leftMargin: 10
Layout.rightMargin: 10
Layout.margins: 0
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.preferredWidth: sutun.width
BorderImage {
id: borderImage
source: "noun_CPU Overheat_1141052.svg"
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.preferredWidth: 70
Layout.preferredHeight: 70
}

BorderImage {
id: borderImage1
source: "noun_wrong_219691.svg"
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.preferredWidth: 70
Layout.preferredHeight: 70
}

Image {
id: image
source: "noun_Error_911854.svg"
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
fillMode: Image.PreserveAspectFit
Layout.preferredWidth: 70
Layout.preferredHeight: 70
}

Image {
id: image1
source: "noun_Broken Link_37722.svg"
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
fillMode: Image.PreserveAspectFit
Layout.preferredWidth: 70
Layout.preferredHeight: 70
}
spacing: 35
}

RowLayout {
Text {
id: text3
text: qsTr("Aşırı Sıcaklık")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.fillWidth: true
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
Layout.preferredWidth: 69
Layout.preferredHeight: 36
}

Text {
id: text5
text: qsTr("HATA2")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.fillWidth: true
Layout.preferredWidth: 69
Layout.preferredHeight: 36
}

Text {
id: text6
text: qsTr("HATA3")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.fillWidth: true
Layout.preferredWidth: 69
Layout.preferredHeight: 36
}

Text {
id: text4
text: qsTr("HATA1")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
Layout.fillWidth: true
Layout.preferredWidth: 69
Layout.preferredHeight: 36
}
Layout.preferredWidth: sutun.width
Layout.preferredHeight: 36
spacing: 35
}
}
}
}

/*##^##
Designer {
D{i:0;formeditorZoom:1.1}D{i:6}
}
##^##*/
139 changes: 139 additions & 0 deletions Page2Form.ui.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
import QtQuick 2.12
import QtQuick.Controls 2.5
import QtQuick.Dialogs.qml 1.0
import QtQuick.Layouts 1.11
import QtQuick.Shapes 1.14
import QtGraphicalEffects 1.0

Page {
width: 480
height: 800
property alias itemDelegate: itemDelegate

ColumnLayout {
x: 0
y: 0
height: 750

Rectangle {
id: rectangle
color: "#cf8e8e"
radius: 50
Layout.fillHeight: true
Layout.fillWidth: true
Layout.preferredHeight: 400
Layout.preferredWidth: 480

Text {
id: text1
x: 0
y: 8
width: 480
height: 20
text: qsTr("KABLOSUZ BAĞLANTI")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}

Rectangle {
id: rectangle1
color: "#cca1a1"
radius: 50
border.color: "#000000"
border.width: 1
Layout.fillHeight: true
Layout.fillWidth: false
Layout.preferredHeight: 400
Layout.preferredWidth: 480
gradient: Gradient {
GradientStop { position: 0.0; color: "red" }
GradientStop { position: 0.33; color: "yellow" }
GradientStop { position: 1.0; color: "green" }
}

MouseArea {
id: mouseArea
x: 32
y: 74
width: 80
height: 80

Connections {
target: mouseArea
onClicked: popup.open()
}
}

Image {
id: image
x: 32
y: 74
width: 80
height: 80
source: "noun_Language_3325148.svg"
fillMode: Image.PreserveAspectFit
}

Text {
id: text3
x: 200
y: 74
width: 80
height: 80
text: qsTr("Text")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
rotation: -0.078
}

ItemDelegate {
id: itemDelegate
x: 303
y: 84
text: qsTr("Item Delegate")
checkable: true
checked: false
highlighted: false

Text {
id: text2
x: -302
y: -68
width: 480
height: 20
text: qsTr("AYARLAR")
font.pixelSize: 12
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
}
}
Popup
{
id: popup
anchors.centerIn: rectangle1
width: 450; height: 370
dim: false
focus: true

closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
ColumnLayout {
anchors.fill: parent
CheckBox { text: qsTr("E-mail") }
CheckBox { text: qsTr("Calendar") }
CheckBox { text: qsTr("Contacts") }
}
}
}
}


}

/*##^##
Designer {
D{i:0;formeditorZoom:1.66}
}
##^##*/
Loading

0 comments on commit 1494853

Please sign in to comment.