mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[ui] ImageGallery: add SensorDBDialog + 'rebuild intrinsics' feature
* add SensorDBDialog explaining how to add a new entry in the sensor DB and ease the access to the sensor database * enable intrinsics rebuild at user level from this dialog * MessageDialog: react to clicks on hyperlinks
This commit is contained in:
parent
6c9ed42736
commit
49e809df2b
3 changed files with 94 additions and 0 deletions
|
@ -40,6 +40,13 @@ Panel {
|
|||
id: graphEditorMenu
|
||||
y: parent.height
|
||||
x: -width + parent.width
|
||||
MenuItem {
|
||||
text: "Edit Sensor Database..."
|
||||
onTriggered: {
|
||||
sensorDBDialog.open()
|
||||
}
|
||||
}
|
||||
|
||||
Menu {
|
||||
title: "Advanced"
|
||||
Action {
|
||||
|
@ -51,6 +58,14 @@ Panel {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
SensorDBDialog {
|
||||
id: sensorDBDialog
|
||||
sensorDatabase: Filepath.stringToUrl(cameraInit.attribute("sensorDatabase").value)
|
||||
readOnly: _reconstruction.computing
|
||||
onUpdateIntrinsicsRequest: _reconstruction.rebuildIntrinsics(cameraInit)
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
anchors.fill: parent
|
||||
spacing: 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue