[qt6] Remove properties that do not exist anymore in Qt6.6

This commit is contained in:
Candice Bentéjac 2024-10-01 12:23:26 +02:00
parent 96a70c04ff
commit 02be73df65
7 changed files with 7 additions and 11 deletions

View file

@ -444,7 +444,7 @@ RowLayout {
ColorDialog {
id: colorDialog
title: "Please choose a color"
color: attribute.value
selectedColor: attribute.value
onAccepted: {
colorText.text = color
// Artificially trigger change of attribute value

View file

@ -29,7 +29,7 @@ FocusScope {
anchors.fill: parent
property string currentFile: (root.currentChunkIndex >= 0 && root.currentChunk) ? root.currentChunk["logFile"] : ""
property url source: Filepath.stringToUrl(currentFile)
property url sourceFile: Filepath.stringToUrl(currentFile)
sourceComponent: textFileViewerComponent
}
@ -40,7 +40,7 @@ FocusScope {
TextFileViewer {
id: textFileViewer
anchors.fill: parent
source: componentLoader.source
source: componentLoader.sourceFile
autoReload: root.currentChunk !== undefined && root.currentChunk.statusName === "RUNNING"
// source is set in fileSelector
}

View file

@ -27,7 +27,7 @@ FocusScope {
clip: true
anchors.fill: parent
property string currentFile: currentChunk ? currentChunk["statisticsFile"] : ""
property url source: Filepath.stringToUrl(currentFile)
property url sourceFile: Filepath.stringToUrl(currentFile)
sourceComponent: chunksLV.chunksSummary ? statViewerComponent : chunkStatViewerComponent
}
@ -37,7 +37,7 @@ FocusScope {
StatViewer {
id: statViewer
anchors.fill: parent
source: componentLoader.source
source: componentLoader.sourceFile
}
}

View file

@ -26,7 +26,7 @@ FocusScope {
anchors.fill: parent
property string currentFile: (root.currentChunkIndex >= 0) ? root.currentChunk["statusFile"] : ""
property url source: Filepath.stringToUrl(currentFile)
property url sourceFile: Filepath.stringToUrl(currentFile)
sourceComponent: statViewerComponent
}
@ -35,7 +35,7 @@ FocusScope {
id: statViewerComponent
Item {
id: statusViewer
property url source: componentLoader.source
property url source: componentLoader.sourceFile
property var lastModified: undefined
onSourceChanged: {

View file

@ -56,7 +56,6 @@ Entity {
count: 24
name: defaultPositionAttributeName
buffer: Buffer {
type: Buffer.VertexBuffer
data: new Float32Array([
1.0, 1.0, 1.0,
1.0, -1.0, 1.0,

View file

@ -18,7 +18,6 @@ Entity {
count: 0
name: defaultPositionAttributeName
buffer: Buffer {
type: Buffer.VertexBuffer
data: {
function buildGrid(first, last, offset, attribute) {
var vertexCount = (((last-first)/offset)+1)*4;

View file

@ -19,7 +19,6 @@ Entity {
count: 6
name: defaultPositionAttributeName
buffer: Buffer {
type: Buffer.VertexBuffer
data: new Float32Array([
0.0, 0.001, 0.0,
1.0, 0.001, 0.0,
@ -37,7 +36,6 @@ Entity {
count: 6
name: defaultColorAttributeName
buffer: Buffer {
type: Buffer.VertexBuffer
data: new Float32Array([
Colors.red.r, Colors.red.g, Colors.red.b,
Colors.red.r, Colors.red.g, Colors.red.b,