import QtQuick Window { visible: true width: 600; height: 400 color: "black" Column { anchors.centerIn: parent spacing: 40 // CO2濃度 (4桁整数) SevenSegMulti { reading: 1250 digits: 4 threshold1: 1000 threshold2: 2000 } // 温度 (3桁、小数点1位固定) SevenSegMulti { reading: 28.5 digits: 3 decimalPlaces: 1 threshold1: 30 threshold2: 35 } // 湿度 (2桁整数) SevenSegMulti { reading: 55 digits: 2 threshold1: 70 threshold2: 80 } } }