mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 00:38:41 +02:00
[qt6][qml] Clean-up code and harmonize comments
This commit is contained in:
parent
b12d1fed06
commit
5a0b1c0c95
85 changed files with 575 additions and 538 deletions
|
@ -30,19 +30,18 @@ FloatingPane {
|
|||
|
||||
DoubleValidator {
|
||||
id: doubleValidator
|
||||
locale: 'C' // use '.' decimal separator disregarding of the system locale
|
||||
locale: 'C' // Use '.' decimal separator disregarding of the system locale
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
id: toolLayout
|
||||
// anchors.verticalCenter: parent
|
||||
anchors.fill: parent
|
||||
|
||||
// channel mode
|
||||
// Channel mode
|
||||
ComboBox {
|
||||
id: channelsCtrl
|
||||
|
||||
// set min size to 4 characters + one margin for the combobox
|
||||
// Set min size to 4 characters + one margin for the combobox
|
||||
Layout.minimumWidth: 5.0 * Qt.application.font.pixelSize
|
||||
Layout.preferredWidth: Layout.minimumWidth
|
||||
flat: true
|
||||
|
@ -57,7 +56,7 @@ FloatingPane {
|
|||
model: channels
|
||||
}
|
||||
|
||||
// gain slider
|
||||
// Gain slider
|
||||
RowLayout {
|
||||
spacing: 5
|
||||
|
||||
|
@ -97,7 +96,7 @@ FloatingPane {
|
|||
}
|
||||
}
|
||||
|
||||
// gamma slider
|
||||
// Gamma slider
|
||||
RowLayout {
|
||||
spacing: 5
|
||||
|
||||
|
@ -242,7 +241,7 @@ FloatingPane {
|
|||
TextMetrics {
|
||||
id: textMetrics_colorValue
|
||||
font: red.font
|
||||
text: "1.2345" // use one more than expected to get the correct value (probably needed due to TextField margin)
|
||||
text: "1.2345" // Use one more than expected to get the correct value (probably needed due to TextField margin)
|
||||
}
|
||||
TextMetrics {
|
||||
id: textMetrics_gainValue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue