Added creation date and version of the db on db manager window
This commit is contained in:
@@ -33,6 +33,8 @@ Window {
|
||||
if (selected_db !== undefined) {
|
||||
lockMenu(false)
|
||||
titleLabel.text = myModel.get(listView.currentIndex).name
|
||||
versionLabel.text = 'VERSION ' + myModel.get(listView.currentIndex).version
|
||||
dateLabel.text = myModel.get(listView.currentIndex).date
|
||||
totDocsLabel.text = myModel.get(listView.currentIndex).documents_n
|
||||
totSignalsLabel.text = myModel.get(listView.currentIndex).signals_n
|
||||
totImagesLabel.text = myModel.get(listView.currentIndex).images_n
|
||||
@@ -44,6 +46,8 @@ Window {
|
||||
|
||||
function clearAll() {
|
||||
titleLabel.text = 'N/A'
|
||||
versionLabel.text = ''
|
||||
dateLabel.text = ''
|
||||
totDocsLabel.text = ''
|
||||
totSignalsLabel.text = ''
|
||||
totImagesLabel.text = ''
|
||||
@@ -175,11 +179,16 @@ Window {
|
||||
|
||||
Label {
|
||||
id: titleLabel
|
||||
Layout.bottomMargin: 20
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||
font.pointSize: 15
|
||||
font.bold: true
|
||||
}
|
||||
Label {
|
||||
id: versionLabel
|
||||
Layout.bottomMargin: 20
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter
|
||||
font.pointSize: 9
|
||||
}
|
||||
GridLayout {
|
||||
columnSpacing: 25
|
||||
columns: 2
|
||||
@@ -230,7 +239,20 @@ Window {
|
||||
id: totAudioLabel
|
||||
text: qsTr("0")
|
||||
font.pointSize: 12
|
||||
}
|
||||
}
|
||||
|
||||
Label {
|
||||
Layout.topMargin: 20
|
||||
text: qsTr("DB Created:")
|
||||
font.pointSize: 12
|
||||
}
|
||||
|
||||
Label {
|
||||
id: dateLabel
|
||||
Layout.topMargin: 20
|
||||
text: qsTr("")
|
||||
font.pointSize: 12
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
||||
Reference in New Issue
Block a user