Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 60 additions & 60 deletions ArtificialIntelligence.qml
Original file line number Diff line number Diff line change
Expand Up @@ -452,67 +452,8 @@ Rectangle {
}
}
}
}

// Console Log
ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
spacing: 6

Text {
text: "Console Log"
color: "white"
font.bold: true
font.pixelSize: Math.max(10, Math.min(22, root.height * 0.03))
}

// Outer frame (now matches Success Rate table)
Rectangle {
id: consoleFrame
Layout.fillWidth: true
Layout.fillHeight: true
Layout.minimumWidth: root.minControlSize
Layout.minimumHeight: root.minControlSize
implicitWidth: Math.max(root.minControlSize,
Math.min(root.width * 0.35, 420))
implicitHeight: Math.max(root.minControlSize,
Math.min(root.height * 0.25, 220))

color: "#5f6b7a" // SAME as Success Rate box
radius: 6
border.color: "#d0d6df" // SAME border color
border.width: 1

// Inner scrollable area
Rectangle {
anchors.fill: parent
anchors.margins: 8
color: "white" // White interior like the table cells
radius: 4
border.color: "transparent"

ScrollView {
anchors.fill: parent
clip: true
ScrollBar.vertical.policy: ScrollBar.AsNeeded

TextArea {
id: consoleLog
readOnly: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
text: "Console output here..."
color: "black"
background: Rectangle { color: "transparent" }
font.pixelSize: Math.max(10,
Math.min(14, height * 0.12))
}
}
}
}
}

// Buttons under Success Rate
// Buttons under Success Rate
RowLayout {
Layout.alignment: Qt.AlignHCenter
spacing: 24
Expand Down Expand Up @@ -601,6 +542,65 @@ Rectangle {
}
}
}
}

// Console Log
ColumnLayout {
Layout.fillWidth: true
Layout.fillHeight: true
spacing: 6

Text {
text: "Console Log"
color: "white"
font.bold: true
font.pixelSize: Math.max(10, Math.min(22, root.height * 0.03))
}

// Outer frame (now matches Success Rate table)
Rectangle {
id: consoleFrame
Layout.fillWidth: true
Layout.fillHeight: true
Layout.minimumWidth: root.minControlSize
Layout.minimumHeight: root.minControlSize
implicitWidth: Math.max(root.minControlSize,
Math.min(root.width * 0.35, 420))
implicitHeight: Math.max(root.minControlSize,
Math.min(root.height * 0.25, 220))

color: "#5f6b7a" // SAME as Success Rate box
radius: 6
border.color: "#d0d6df" // SAME border color
border.width: 1

// Inner scrollable area
Rectangle {
anchors.fill: parent
anchors.margins: 8
color: "white" // White interior like the table cells
radius: 4
border.color: "transparent"

ScrollView {
anchors.fill: parent
clip: true
ScrollBar.vertical.policy: ScrollBar.AsNeeded

TextArea {
id: consoleLog
readOnly: true
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
text: "Console output here..."
color: "black"
background: Rectangle { color: "transparent" }
font.pixelSize: Math.max(10,
Math.min(14, height * 0.12))
}
}
}
}
}
}
}

Expand Down