Issue
Code backup
@@ -0,0 +1,21 @@
|
||||
import QtQuick 2.11
|
||||
import QtQuick.Controls 2.4
|
||||
|
||||
Rectangle {
|
||||
id: scrollableBox
|
||||
clip: true
|
||||
color: "gray"
|
||||
|
||||
property alias text: content.text
|
||||
|
||||
Text {
|
||||
id: content
|
||||
anchors.left: scrollableBox.left
|
||||
anchors.right: scrollableBox.right
|
||||
leftPadding: 5
|
||||
rightPadding: 12
|
||||
topPadding: 3
|
||||
bottomPadding: 3
|
||||
wrapMode: Text.WrapAnywhere
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
Device Information
|
||||
PC210VM
|
||||
|
||||
172.24.204.120
|
||||
00:15:5d:52:af:07
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 330 330" style="enable-background:new 0 0 330 330;" xml:space="preserve">
|
||||
<g id="XMLID_2_">
|
||||
<path id="XMLID_4_" d="M51.213,180h173.785c8.284,0,15-6.716,15-15s-6.716-15-15-15H51.213l19.394-19.393
|
||||
c5.858-5.857,5.858-15.355,0-21.213c-5.856-5.858-15.354-5.858-21.213,0L4.397,154.391c-0.348,0.347-0.676,0.71-0.988,1.09
|
||||
c-0.076,0.093-0.141,0.193-0.215,0.288c-0.229,0.291-0.454,0.583-0.66,0.891c-0.06,0.09-0.109,0.185-0.168,0.276
|
||||
c-0.206,0.322-0.408,0.647-0.59,0.986c-0.035,0.067-0.064,0.138-0.099,0.205c-0.189,0.367-0.371,0.739-0.53,1.123
|
||||
c-0.02,0.047-0.034,0.097-0.053,0.145c-0.163,0.404-0.314,0.813-0.442,1.234c-0.017,0.053-0.026,0.108-0.041,0.162
|
||||
c-0.121,0.413-0.232,0.83-0.317,1.257c-0.025,0.127-0.036,0.258-0.059,0.386c-0.062,0.354-0.124,0.708-0.159,1.069
|
||||
C0.025,163.998,0,164.498,0,165s0.025,1.002,0.076,1.498c0.035,0.366,0.099,0.723,0.16,1.08c0.022,0.124,0.033,0.251,0.058,0.374
|
||||
c0.086,0.431,0.196,0.852,0.318,1.269c0.015,0.049,0.024,0.101,0.039,0.15c0.129,0.423,0.28,0.836,0.445,1.244
|
||||
c0.018,0.044,0.031,0.091,0.05,0.135c0.16,0.387,0.343,0.761,0.534,1.13c0.033,0.065,0.061,0.133,0.095,0.198
|
||||
c0.184,0.341,0.387,0.669,0.596,0.994c0.056,0.088,0.104,0.181,0.162,0.267c0.207,0.309,0.434,0.603,0.662,0.895
|
||||
c0.073,0.094,0.138,0.193,0.213,0.285c0.313,0.379,0.641,0.743,0.988,1.09l44.997,44.997C52.322,223.536,56.161,225,60,225
|
||||
s7.678-1.464,10.606-4.394c5.858-5.858,5.858-15.355,0-21.213L51.213,180z"/>
|
||||
<path id="XMLID_5_" d="M207.299,42.299c-40.944,0-79.038,20.312-101.903,54.333c-4.62,6.875-2.792,16.195,4.083,20.816
|
||||
c6.876,4.62,16.195,2.794,20.817-4.083c17.281-25.715,46.067-41.067,77.003-41.067C258.414,72.299,300,113.884,300,165
|
||||
s-41.586,92.701-92.701,92.701c-30.845,0-59.584-15.283-76.878-40.881c-4.639-6.865-13.961-8.669-20.827-4.032
|
||||
c-6.864,4.638-8.67,13.962-4.032,20.826c22.881,33.868,60.913,54.087,101.737,54.087C274.956,287.701,330,232.658,330,165
|
||||
S274.956,42.299,207.299,42.299z"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 25 KiB |
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 492.883 492.883" style="enable-background:new 0 0 492.883 492.883;" xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<path d="M122.941,374.241c-20.1-18.1-34.6-39.8-44.1-63.1c-25.2-61.8-13.4-135.3,35.8-186l45.4,45.4c2.5,2.5,7,0.7,7.6-3
|
||||
l24.8-162.3c0.4-2.7-1.9-5-4.6-4.6l-162.4,24.8c-3.7,0.6-5.5,5.1-3,7.6l45.5,45.5c-75.1,76.8-87.9,192-38.6,282
|
||||
c14.8,27.1,35.3,51.9,61.4,72.7c44.4,35.3,99,52.2,153.2,51.1l10.2-66.7C207.441,421.641,159.441,407.241,122.941,374.241z"/>
|
||||
<path d="M424.941,414.341c75.1-76.8,87.9-192,38.6-282c-14.8-27.1-35.3-51.9-61.4-72.7c-44.4-35.3-99-52.2-153.2-51.1l-10.2,66.7
|
||||
c46.6-4,94.7,10.4,131.2,43.4c20.1,18.1,34.6,39.8,44.1,63.1c25.2,61.8,13.4,135.3-35.8,186l-45.4-45.4c-2.5-2.5-7-0.7-7.6,3
|
||||
l-24.8,162.3c-0.4,2.7,1.9,5,4.6,4.6l162.4-24.8c3.7-0.6,5.4-5.1,3-7.6L424.941,414.341z"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 11 KiB |
@@ -0,0 +1,46 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 17.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
viewBox="0 0 325.214 325.214" style="enable-background:new 0 0 325.214 325.214;" xml:space="preserve">
|
||||
<g>
|
||||
<path d="M288.777,93.565c-15.313-23.641-36.837-42.476-62.243-54.472c-1.616-0.763-3.109-1.134-4.564-1.134
|
||||
c-1.969,0-8.392,0.833-8.392,11.541v17.75c0,8.998,5.479,13.113,7.159,14.16c32.613,20.33,52.083,55.317,52.083,93.59
|
||||
c0,60.772-49.442,110.214-110.214,110.214S52.393,235.772,52.393,175c0-38.872,19.942-74.144,53.346-94.353
|
||||
c4.475-2.707,6.839-7.426,6.839-13.647V49c0-7.959-5.077-10.783-9.424-10.783c-1.714,0-3.542,0.422-5.144,1.188
|
||||
C72.781,51.471,51.42,70.305,36.237,93.872C20.638,118.084,12.393,146.137,12.393,175c0,82.828,67.386,150.214,150.214,150.214
|
||||
S312.821,257.828,312.821,175C312.821,146.008,304.507,117.848,288.777,93.565z"/>
|
||||
<path d="M152.579,117h21c5.514,0,10-4.486,10-10V10c0-5.514-4.486-10-10-10h-21c-5.514,0-10,4.486-10,10v97
|
||||
C142.579,112.514,147.064,117,152.579,117z"/>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" height="160" width="160" version="1.0">
|
||||
<g fill="#4b4b4b">
|
||||
<path d="m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"/>
|
||||
<path d="m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z" transform="matrix(1.1989 0 0 1.2342 21.214 28.75)"/>
|
||||
<path d="m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 672 B |
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="479.219px" height="479.219px" viewBox="0 0 479.219 479.219" style="enable-background:new 0 0 479.219 479.219;"
|
||||
xml:space="preserve">
|
||||
<g>
|
||||
<g>
|
||||
<g>
|
||||
<path d="M441.36,353.781c12.156-25.031,19.781-52.625,21.844-81.781h-64.812c-1.75,17.406-6.75,33.781-13.625,49.125
|
||||
L441.36,353.781z"/>
|
||||
<path d="M369.048,348.969c-9.969,13.97-22.219,26-36.031,36.095l32.438,56.25c23.531-16,43.781-36.375,59.75-59.938
|
||||
L369.048,348.969z"/>
|
||||
<path d="M305.454,401.312c-15.344,7-31.938,11.375-49.438,13.156v64.75c29.188-2.063,56.781-9.688,81.781-21.875L305.454,401.312
|
||||
z"/>
|
||||
<path d="M224.016,414.375c-80.625-8.156-144-75.625-144-158.375c0-53.375,26.5-100.375,66.781-129.5l-32.344-56
|
||||
C55.078,110.781,16.015,178.813,16.015,256c0,118.313,91.813,214.969,208,223.188v-64.813H224.016z"/>
|
||||
</g>
|
||||
<path d="M399.017,240h64c-2.094-29.156-9.625-56.688-21.814-81.688l-55.688,32.156C392.548,205.844,397.267,222.438,399.017,240z"
|
||||
/>
|
||||
<path d="M369.423,162.812l55.906-32.25c-16-23.563-36.156-44.063-59.719-60.063l-32.344,56.032
|
||||
C347.204,136.594,359.329,148.938,369.423,162.812z"/>
|
||||
<rect x="208.016" width="64" height="192"/>
|
||||
</g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
<g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,16 @@
|
||||
# This Python file uses the following encoding: utf-8
|
||||
import sys
|
||||
import os
|
||||
|
||||
from PySide2.QtGui import QGuiApplication
|
||||
from PySide2.QtQml import QQmlApplicationEngine
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = QGuiApplication(sys.argv)
|
||||
engine = QQmlApplicationEngine()
|
||||
engine.load(os.path.join(os.path.dirname(__file__), "main.qml"))
|
||||
|
||||
if not engine.rootObjects():
|
||||
sys.exit(-1)
|
||||
sys.exit(app.exec_())
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"files": ["main.qml","file.txt","ScrollableBox.qml","main.py","resource.qrc"]
|
||||
}
|
||||
@@ -0,0 +1,268 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE QtCreatorProject>
|
||||
<!-- Written by QtCreator 4.14.2, 2021-04-28T10:59:02. -->
|
||||
<qtcreator>
|
||||
<data>
|
||||
<variable>EnvironmentId</variable>
|
||||
<value type="QByteArray">{5a5e0fe9-ae4c-4e76-ab86-0cfba9924d1c}</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.ActiveTarget</variable>
|
||||
<value type="int">0</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.EditorSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="bool" key="EditorConfiguration.AutoIndent">true</value>
|
||||
<value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
|
||||
<value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
|
||||
<value type="QString" key="language">Cpp</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
|
||||
<value type="QString" key="language">QmlJS</value>
|
||||
<valuemap type="QVariantMap" key="value">
|
||||
<value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
<value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
|
||||
<value type="QByteArray" key="EditorConfiguration.Codec">UTF-8</value>
|
||||
<value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.IndentSize">4</value>
|
||||
<value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
|
||||
<value type="int" key="EditorConfiguration.MarginColumn">80</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseHiding">true</value>
|
||||
<value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
|
||||
<value type="int" key="EditorConfiguration.PaddingMode">1</value>
|
||||
<value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
|
||||
<value type="bool" key="EditorConfiguration.ShowMargin">false</value>
|
||||
<value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
|
||||
<value type="bool" key="EditorConfiguration.SmartSelectionChanging">true</value>
|
||||
<value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
|
||||
<value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
|
||||
<value type="int" key="EditorConfiguration.TabSize">8</value>
|
||||
<value type="bool" key="EditorConfiguration.UseGlobal">true</value>
|
||||
<value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
|
||||
<value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
|
||||
<value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
|
||||
<value type="QString" key="EditorConfiguration.ignoreFileTypes">*.md, *.MD, Makefile</value>
|
||||
<value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
|
||||
<value type="bool" key="EditorConfiguration.skipTrailingWhitespace">true</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.PluginSettings</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<valuemap type="QVariantMap" key="AutoTest.ActiveFrameworks">
|
||||
<value type="bool" key="AutoTest.Framework.Boost">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.Catch">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.GTest">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.QtQuickTest">true</value>
|
||||
<value type="bool" key="AutoTest.Framework.QtTest">true</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="AutoTest.CheckStates"/>
|
||||
<value type="int" key="AutoTest.RunAfterBuild">0</value>
|
||||
<value type="bool" key="AutoTest.UseGlobal">true</value>
|
||||
<valuelist type="QVariantList" key="ClangCodeModel.CustomCommandLineKey"/>
|
||||
<value type="bool" key="ClangCodeModel.UseGlobalConfig">true</value>
|
||||
<value type="QString" key="ClangCodeModel.WarningConfigId">Builtin.Questionable</value>
|
||||
<valuemap type="QVariantMap" key="ClangTools">
|
||||
<value type="bool" key="ClangTools.AnalyzeOpenFiles">true</value>
|
||||
<value type="bool" key="ClangTools.BuildBeforeAnalysis">true</value>
|
||||
<value type="QString" key="ClangTools.DiagnosticConfig">Builtin.DefaultTidyAndClazy</value>
|
||||
<value type="int" key="ClangTools.ParallelJobs">2</value>
|
||||
<valuelist type="QVariantList" key="ClangTools.SelectedDirs"/>
|
||||
<valuelist type="QVariantList" key="ClangTools.SelectedFiles"/>
|
||||
<valuelist type="QVariantList" key="ClangTools.SuppressedDiagnostics"/>
|
||||
<value type="bool" key="ClangTools.UseGlobalSettings">true</value>
|
||||
</valuemap>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Target.0</variable>
|
||||
<valuemap type="QVariantMap">
|
||||
<value type="QString" key="DeviceType">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{febf22a0-144a-47f5-8c69-8fad50551a2f}</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">-1</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
|
||||
<value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">0</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
|
||||
<value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Deploy</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.DeployConfiguration.CustomData"/>
|
||||
<value type="bool" key="ProjectExplorer.DeployConfiguration.CustomDataEnabled">false</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
|
||||
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
|
||||
<value type="QString">cpu-cycles</value>
|
||||
</valuelist>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
|
||||
<value type="int" key="Analyzer.Perf.Frequency">250</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments">
|
||||
<value type="QString">-e</value>
|
||||
<value type="QString">cpu-cycles</value>
|
||||
<value type="QString">--call-graph</value>
|
||||
<value type="QString">dwarf,4096</value>
|
||||
<value type="QString">-F</value>
|
||||
<value type="QString">250</value>
|
||||
</valuelist>
|
||||
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
|
||||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">main2</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">PythonEditor.RunConfiguration./home/cbo/Documenti/Code/Qt Creator/001 - HUD/main.py</value>
|
||||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/home/cbo/Documenti/Code/Qt Creator/001 - HUD/main.py</value>
|
||||
<value type="QString" key="PythonEditor.RunConfiguation.Interpreter">{deead9ed-356b-4e16-967f-a789399e66f4}</value>
|
||||
<value type="QString" key="PythonEditor.RunConfiguation.Script">/home/cbo/Documenti/Code/Qt Creator/001 - HUD/main.py</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/cbo/Documenti/Code/Qt Creator/001 - HUD</value>
|
||||
</valuemap>
|
||||
<valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1">
|
||||
<value type="QString" key="Analyzer.Perf.CallgraphMode">dwarf</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.Events">
|
||||
<value type="QString">cpu-cycles</value>
|
||||
</valuelist>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.ExtraArguments"/>
|
||||
<value type="int" key="Analyzer.Perf.Frequency">250</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Perf.RecordArguments">
|
||||
<value type="QString">-e</value>
|
||||
<value type="QString">cpu-cycles</value>
|
||||
<value type="QString">--call-graph</value>
|
||||
<value type="QString">dwarf,4096</value>
|
||||
<value type="QString">-F</value>
|
||||
<value type="QString">250</value>
|
||||
</valuelist>
|
||||
<value type="QString" key="Analyzer.Perf.SampleMode">-F</value>
|
||||
<value type="bool" key="Analyzer.Perf.Settings.UseGlobalSettings">true</value>
|
||||
<value type="int" key="Analyzer.Perf.StackSize">4096</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.AggregateTraces">false</value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.FlushEnabled">false</value>
|
||||
<value type="uint" key="Analyzer.QmlProfiler.FlushInterval">1000</value>
|
||||
<value type="QString" key="Analyzer.QmlProfiler.LastTraceFile"></value>
|
||||
<value type="bool" key="Analyzer.QmlProfiler.Settings.UseGlobalSettings">true</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
|
||||
<value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.KCachegrindExecutable">kcachegrind</value>
|
||||
<value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
|
||||
<value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
|
||||
<value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
|
||||
<value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
|
||||
<value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
|
||||
<valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
|
||||
<value type="int">0</value>
|
||||
<value type="int">1</value>
|
||||
<value type="int">2</value>
|
||||
<value type="int">3</value>
|
||||
<value type="int">4</value>
|
||||
<value type="int">5</value>
|
||||
<value type="int">6</value>
|
||||
<value type="int">7</value>
|
||||
<value type="int">8</value>
|
||||
<value type="int">9</value>
|
||||
<value type="int">10</value>
|
||||
<value type="int">11</value>
|
||||
<value type="int">12</value>
|
||||
<value type="int">13</value>
|
||||
<value type="int">14</value>
|
||||
</valuelist>
|
||||
<valuelist type="QVariantList" key="CustomOutputParsers"/>
|
||||
<value type="int" key="PE.EnvironmentAspect.Base">2</value>
|
||||
<valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">file</value>
|
||||
<value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">PythonEditor.RunConfiguration./home/cbo/Documenti/Code/Qt Creator/001 - HUD/file.txt</value>
|
||||
<value type="QString" key="ProjectExplorer.RunConfiguration.BuildKey">/home/cbo/Documenti/Code/Qt Creator/001 - HUD/file.txt</value>
|
||||
<value type="QString" key="PythonEditor.RunConfiguation.Interpreter">{06a9dbdd-6638-4221-8b33-c1136164226d}</value>
|
||||
<value type="QString" key="PythonEditor.RunConfiguation.Script">/home/cbo/Documenti/Code/Qt Creator/001 - HUD/file.txt</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseCppDebuggerAuto">true</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
|
||||
<value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
|
||||
<value type="QString" key="RunConfiguration.WorkingDirectory.default">/home/cbo/Documenti/Code/Qt Creator/001 - HUD</value>
|
||||
</valuemap>
|
||||
<value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value>
|
||||
</valuemap>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.TargetCount</variable>
|
||||
<value type="int">1</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>ProjectExplorer.Project.Updater.FileVersion</variable>
|
||||
<value type="int">22</value>
|
||||
</data>
|
||||
<data>
|
||||
<variable>Version</variable>
|
||||
<value type="int">22</value>
|
||||
</data>
|
||||
</qtcreator>
|
||||
@@ -0,0 +1,493 @@
|
||||
import QtQuick 2.13
|
||||
import QtQuick.Window 2.13
|
||||
import QtQuick.Templates 2.15
|
||||
import QtQuick.Controls 2.15
|
||||
import QtPositioning 5.14
|
||||
import QtQuick.Timeline 1.0
|
||||
|
||||
Window {
|
||||
id: window
|
||||
width: Screen.width
|
||||
height: Screen.height
|
||||
visible: true
|
||||
color: "#000000"
|
||||
title: qsTr("HUD")
|
||||
|
||||
RoundButton{
|
||||
id: rbuttonProva1
|
||||
width: 45
|
||||
height: 45
|
||||
icon.source: "file/img/ShutDown.svg"
|
||||
icon.height: height
|
||||
icon.width: width
|
||||
anchors.left: rbuttonsys.right
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.leftMargin: 35
|
||||
anchors.bottomMargin: 45
|
||||
palette {button: "#EC7063"}
|
||||
onClicked: popupsd.open()
|
||||
}
|
||||
|
||||
RoundButton{
|
||||
id: rbuttonProva2
|
||||
width: 45
|
||||
height: 45
|
||||
opacity: 1
|
||||
icon.source: "file/img/ReBoot.svg"
|
||||
icon.height: height
|
||||
icon.width: width
|
||||
anchors.left: rbuttonProva1.right
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.leftMargin: 35
|
||||
anchors.bottomMargin: 45
|
||||
palette {button: "#F5B041"}
|
||||
onClicked: popuprb.open()
|
||||
}
|
||||
|
||||
RoundButton{
|
||||
id: rbuttonProva3
|
||||
width: 45
|
||||
height: 45
|
||||
opacity: 1
|
||||
visible: true
|
||||
icon.source: "file/img/LogOut.svg"
|
||||
icon.height: height
|
||||
icon.width: width
|
||||
anchors.left: rbuttonProva2.right
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.leftMargin: 35
|
||||
anchors.bottomMargin: 45
|
||||
palette {button: "#5DADE2"}
|
||||
onClicked: popupdc.open()
|
||||
}
|
||||
|
||||
|
||||
function readTextFile(fileUrl){
|
||||
var xhr = new XMLHttpRequest;
|
||||
xhr.open("GET", fileUrl);
|
||||
xhr.onreadystatechange = function () {
|
||||
if(xhr.readyState === XMLHttpRequest.DONE){
|
||||
var response = xhr.responseText;
|
||||
|
||||
scrollableBox.text = response
|
||||
}
|
||||
}
|
||||
xhr.send();
|
||||
}
|
||||
|
||||
RoundButton{
|
||||
id: rbuttonsts
|
||||
width: 45
|
||||
height: 45
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: rbuttonsys.top
|
||||
anchors.leftMargin: 35
|
||||
anchors.bottomMargin: 25
|
||||
icon.source: "file/img/info_icon.svg"
|
||||
icon.height: height
|
||||
icon.width: width
|
||||
checkable: true
|
||||
onClicked: {
|
||||
checked ? popupinfo.open() : popupinfo.close();
|
||||
scrollableBox.text = "";
|
||||
readStarter.running = true;
|
||||
}
|
||||
}
|
||||
|
||||
RoundButton{
|
||||
id: rbuttonsys
|
||||
width: 45
|
||||
height: 45
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.leftMargin: 35
|
||||
anchors.bottomMargin: 45
|
||||
icon.source: "file/img/power_icon.svg"
|
||||
icon.height: height
|
||||
icon.width: width
|
||||
checkable: true
|
||||
onClicked: checked ? timelineAnimation.start() : timelineAnimation1.start()
|
||||
}
|
||||
|
||||
Timer{
|
||||
id: readStarter
|
||||
interval: 5
|
||||
running: false
|
||||
repeat: false
|
||||
onTriggered: readTextFile("file.txt");
|
||||
}
|
||||
|
||||
// Pop-Up ShutDown
|
||||
Popup {
|
||||
id: popupsd
|
||||
width: 250
|
||||
height: 100
|
||||
modal: true
|
||||
focus: true
|
||||
anchors.centerIn: parent
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
background: Rectangle {
|
||||
color: "black"
|
||||
radius: 15
|
||||
}
|
||||
|
||||
Column {
|
||||
id: column
|
||||
width: 220
|
||||
height: 100
|
||||
clip: true
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
Text {
|
||||
id: text1
|
||||
color: "#ffffff"
|
||||
text: qsTr("Vuoi spegnere il sistema?")
|
||||
anchors.bottom: toolSeparator.top
|
||||
font.pixelSize: 15
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
}
|
||||
|
||||
ToolSeparator {
|
||||
id: toolSeparator
|
||||
width: 220
|
||||
opacity: 0.6
|
||||
anchors.bottom: row2.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
orientation: Qt.Horizontal
|
||||
}
|
||||
|
||||
Row {
|
||||
id: row2
|
||||
width: 220
|
||||
height: 30
|
||||
clip: true
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 9
|
||||
|
||||
RoundButton {
|
||||
id: button2
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("Si")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 5
|
||||
palette {button: "#ABEBC6"}
|
||||
onClicked: popupsd.open()
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
id: button3
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("No")
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 5
|
||||
palette {button: "#F5B7B1"}
|
||||
onClicked: popupsd.close() & popupsys.close()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pop-Up Reboot
|
||||
Popup {
|
||||
id: popuprb
|
||||
width: 250
|
||||
height: 100
|
||||
modal: true
|
||||
focus: true
|
||||
anchors.centerIn: parent
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
background: Rectangle {
|
||||
color: "black"
|
||||
radius: 15
|
||||
}
|
||||
|
||||
Column {
|
||||
id: column2
|
||||
width: 220
|
||||
height: 100
|
||||
clip: true
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
Text {
|
||||
id: text2
|
||||
color: "#ffffff"
|
||||
text: qsTr("Vuoi riavviare il sistema?")
|
||||
anchors.bottom: toolSeparator2.top
|
||||
font.pixelSize: 15
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
}
|
||||
|
||||
ToolSeparator {
|
||||
id: toolSeparator2
|
||||
width: 220
|
||||
opacity: 0.6
|
||||
anchors.bottom: row3.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
orientation: Qt.Horizontal
|
||||
}
|
||||
|
||||
Row {
|
||||
id: row3
|
||||
width: 220
|
||||
height: 30
|
||||
clip: true
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 9
|
||||
|
||||
RoundButton {
|
||||
id: button4
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("Si")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 5
|
||||
palette {button: "#ABEBC6"}
|
||||
onClicked: popupds.open()
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
id: button5
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("No")
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 5
|
||||
palette {button: "#F5B7B1"}
|
||||
onClicked: popuprb.close() & popupsys.close()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pop-Up Logout
|
||||
Popup {
|
||||
id: popupdc
|
||||
width: 250
|
||||
height: 100
|
||||
modal: true
|
||||
focus: true
|
||||
anchors.centerIn: parent
|
||||
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
|
||||
background: Rectangle {
|
||||
color: "black"
|
||||
radius: 15
|
||||
}
|
||||
|
||||
Column {
|
||||
id: column2pp
|
||||
width: 220
|
||||
height: 100
|
||||
clip: true
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
||||
Text {
|
||||
id: text2pp
|
||||
color: "#ffffff"
|
||||
text: qsTr("Vuoi disconnetterti dal sistema?")
|
||||
anchors.bottom: toolSeparator2pp.top
|
||||
font.pixelSize: 15
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
}
|
||||
|
||||
ToolSeparator {
|
||||
id: toolSeparator2pp
|
||||
width: 220
|
||||
opacity: 0.6
|
||||
anchors.bottom: row3pp.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
anchors.bottomMargin: 5
|
||||
orientation: Qt.Horizontal
|
||||
}
|
||||
|
||||
Row {
|
||||
id: row3pp
|
||||
width: 220
|
||||
height: 30
|
||||
clip: true
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.bottomMargin: 9
|
||||
|
||||
RoundButton {
|
||||
id: button4pp
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("Si")
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 5
|
||||
palette {button: "#ABEBC6"}
|
||||
onClicked: popupdc.open()
|
||||
}
|
||||
|
||||
RoundButton {
|
||||
id: button5pp
|
||||
width: 100
|
||||
height: 30
|
||||
text: qsTr("No")
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 5
|
||||
palette {button: "#F5B7B1"}
|
||||
onClicked: popupdc.close() | popupsys.close()
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Pop-Up sysInfo
|
||||
Popup {
|
||||
id: popupinfo
|
||||
width: 250
|
||||
height: 125
|
||||
parent: rbuttonsts
|
||||
bottomMargin: 110
|
||||
leftMargin: 110
|
||||
clip: true
|
||||
modal: false
|
||||
focus: false
|
||||
closePolicy: Popup.NoAutoClose
|
||||
background: Rectangle {
|
||||
color: "grey"
|
||||
radius: 15
|
||||
}
|
||||
|
||||
ScrollableBox{
|
||||
id: scrollableBox
|
||||
width: 200
|
||||
height: 90
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
}
|
||||
|
||||
Timeline {
|
||||
id: timeline
|
||||
currentFrame: 0
|
||||
animations: [
|
||||
TimelineAnimation {
|
||||
id: timelineAnimation
|
||||
onFinished: window.state = ""
|
||||
pingPong: false
|
||||
loops: 1
|
||||
duration: 600
|
||||
to: 600
|
||||
from: 0
|
||||
},
|
||||
TimelineAnimation {
|
||||
id: timelineAnimation1
|
||||
onFinished: window.state = ""
|
||||
loops: 1
|
||||
duration: 600
|
||||
running: false
|
||||
to: 0
|
||||
from: 600
|
||||
}
|
||||
]
|
||||
startFrame: 0
|
||||
enabled: true
|
||||
endFrame: 600
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva1
|
||||
property: "anchors.leftMargin"
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: -45
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 600
|
||||
value: 35
|
||||
}
|
||||
}
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva2
|
||||
property: "anchors.leftMargin"
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: -45
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 600
|
||||
value: 35
|
||||
}
|
||||
}
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva3
|
||||
property: "anchors.leftMargin"
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: -45
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 600
|
||||
value: 35
|
||||
}
|
||||
}
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva1
|
||||
property: "opacity"
|
||||
Keyframe {
|
||||
frame: 60
|
||||
value: 1
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: 0
|
||||
}
|
||||
}
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva2
|
||||
property: "opacity"
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: 0
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 60
|
||||
value: 1
|
||||
}
|
||||
}
|
||||
|
||||
KeyframeGroup {
|
||||
target: rbuttonProva3
|
||||
property: "opacity"
|
||||
Keyframe {
|
||||
frame: 0
|
||||
value: 0
|
||||
}
|
||||
|
||||
Keyframe {
|
||||
frame: 60
|
||||
value: 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*##^##
|
||||
Designer {
|
||||
D{i:0;formeditorZoom:0.5}D{i:34}
|
||||
}
|
||||
##^##*/
|
||||
@@ -0,0 +1,7 @@
|
||||
<RCC>
|
||||
<qresource prefix="/">
|
||||
<file>main.qml</file>
|
||||
<file>ScrollableBox.qml</file>
|
||||
<file>file.txt</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||