Files
tustu/app_qml/Table2DEditor.qml
johndoe6345789 741702cedf feat: Add Offline Activation Dialog and Registration Dialog
- Implemented OfflineActivationDialog.qml for offline activation process with detailed instructions and file handling.
- Created RegistrationDialog.qml for user registration with manual input and email parsing options.
- Added new components: RoundGauge.qml, ScalarEditor.qml, Table2DEditor.qml, Table3DEditor.qml, TableEditorPanel.qml, and TableEditorView.qml for enhanced table editing features.
- Updated main.py to include clipboard operations and file handling for saving/loading activation requests and codes.
- Enhanced README.md to document new features and file structure.
2026-01-11 03:11:28 +00:00

52 lines
1.4 KiB
QML

import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
Item {
id: table2DEditor
ColumnLayout {
anchors.fill: parent
spacing: 10
Label {
text: "2D Table Editor"
font.pixelSize: 16
font.bold: true
}
ScrollView {
Layout.fillWidth: true
Layout.fillHeight: true
GridLayout {
columns: 3
rowSpacing: 5
columnSpacing: 10
// Header
Label { text: "Index"; font.bold: true }
Label { text: "X-Axis"; font.bold: true }
Label { text: "Value"; font.bold: true }
// Data rows
Repeater {
model: 8
delegate: RowLayout {
Label { text: index; width: 40 }
TextField {
text: (index * 500).toFixed(0)
Layout.preferredWidth: 80
}
TextField {
text: (50 + Math.random() * 50).toFixed(1)
Layout.preferredWidth: 80
}
}
}
}
}
}
}