mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
feat: add StatusBar component
This commit is contained in:
+4
-1
@@ -50,6 +50,9 @@ ApplicationWindow {
|
||||
Layout.fillWidth : true
|
||||
Layout.fillHeight : true
|
||||
}
|
||||
}
|
||||
|
||||
StatusBar {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import "." as App
|
||||
|
||||
Item {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 28
|
||||
Label {
|
||||
text : qsTr("iDescriptor: %1 device(s) connected").arg(App.DeviceContext.devices.count)
|
||||
color: "red"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user