From b963230163fc8069731374a19390fd0e5cb42532 Mon Sep 17 00:00:00 2001 From: sandman Date: Mon, 28 Oct 2002 20:27:14 +0000 Subject: Major update: - fixed some layout margins in the ui file - cleanup in light.cpp (removed the old TT code) - new sensor calibration dialog - new copyright headers !! The launcher does not yet use the sensor calibration data !! --- (limited to 'core/settings/light-and-power/lightsettingsbase.ui') diff --git a/core/settings/light-and-power/lightsettingsbase.ui b/core/settings/light-and-power/lightsettingsbase.ui index f41e5a6..4df6024 100644 --- a/core/settings/light-and-power/lightsettingsbase.ui +++ b/core/settings/light-and-power/lightsettingsbase.ui @@ -11,7 +11,7 @@ 0 0 - 399 + 387 532 @@ -70,7 +70,7 @@ margin - 3 + 5 spacing @@ -96,183 +96,181 @@ layoutSpacing - + margin - 3 + 5 spacing 3 - - QLayoutWidget + + QSpinBox name - Layout11 + interval_lightoff - - layoutMargin + + suffix + sec - - layoutSpacing + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 - - - margin - 3 - - - spacing - 3 - - - QSpinBox - - name - interval_lightoff - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QLabel - - name - TextLabel2_2 - - - text - Light off after - - - - QLabel - - name - TextLabel1_3 - - - sizePolicy - - 7 - 1 - - - - text - Dim light after - - - - QSpinBox - - name - interval_dim - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QSpinBox - - name - interval_suspend - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QLabel - - name - TextLabel1_2 - - - text - Suspend after - - - - + + QLabel + + name + TextLabel2_2 + + + sizePolicy + + 3 + 1 + + + + text + Light off after + + + + QLabel + + name + TextLabel1_3 + + + sizePolicy + + 3 + 1 + + + + text + Dim light after + + + + QSpinBox + + name + interval_dim + + + suffix + sec + + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 + + + + QSpinBox + + name + interval_suspend + + + suffix + sec + + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 + + + + QLabel + + name + TextLabel1_2 + + + sizePolicy + + 3 + 1 + + + + text + Suspend after + + + QCheckBox name LcdOffOnly + sizePolicy + + 7 + 0 + + + text Deactivate LCD only (does not suspend) - + QGroupBox @@ -293,7 +291,7 @@ margin - 3 + 5 spacing @@ -344,6 +342,9 @@ name Layout10 + + layoutSpacing + margin @@ -351,7 +352,7 @@ spacing - 6 + 3 QLabel @@ -434,6 +435,9 @@ name Layout9 + + layoutSpacing + margin @@ -441,7 +445,7 @@ spacing - 6 + 3 QCheckBox @@ -513,7 +517,7 @@ margin - 3 + 5 spacing @@ -539,183 +543,181 @@ layoutSpacing - + margin - 3 + 5 spacing 3 - - QLayoutWidget + + QSpinBox name - Layout14 + interval_lightoff_ac_3 - - layoutMargin + + suffix + sec - - layoutSpacing + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 - - - margin - 3 - - - spacing - 3 - - - QSpinBox - - name - interval_lightoff_ac_3 - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QLabel - - name - TextLabel1_3_2 - - - sizePolicy - - 7 - 1 - - - - text - Dim light after - - - - QSpinBox - - name - interval_suspend_ac_3 - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QLabel - - name - TextLabel1_2_2_3 - - - text - Suspend after - - - - QSpinBox - - name - interval_dim_ac_3 - - - suffix - sec - - - specialValueText - never - - - buttonSymbols - PlusMinus - - - maxValue - 3600 - - - minValue - 0 - - - lineStep - 10 - - - - QLabel - - name - TextLabel2_2_2 - - - text - Light off after - - - - + + QLabel + + name + TextLabel1_3_2 + + + sizePolicy + + 3 + 1 + + + + text + Dim light after + + + + QSpinBox + + name + interval_suspend_ac_3 + + + suffix + sec + + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 + + + + QLabel + + name + TextLabel1_2_2_3 + + + sizePolicy + + 3 + 1 + + + + text + Suspend after + + + + QSpinBox + + name + interval_dim_ac_3 + + + suffix + sec + + + specialValueText + never + + + buttonSymbols + PlusMinus + + + maxValue + 3600 + + + minValue + 0 + + + lineStep + 10 + + + + QLabel + + name + TextLabel2_2_2 + + + sizePolicy + + 3 + 1 + + + + text + Light off after + + + QCheckBox name LcdOffOnly_2_3 + sizePolicy + + 7 + 0 + + + text Deactivate LCD only (does not suspend) - + QGroupBox @@ -736,7 +738,7 @@ margin - 3 + 5 spacing @@ -791,6 +793,9 @@ name Layout20 + + layoutSpacing + margin @@ -798,7 +803,7 @@ spacing - 6 + 3 QLabel @@ -881,6 +886,9 @@ name Layout10 + + layoutSpacing + margin @@ -888,7 +896,7 @@ spacing - 6 + 3 QCheckBox @@ -960,7 +968,7 @@ margin - 3 + 5 spacing @@ -982,173 +990,162 @@ layoutSpacing - + margin - 3 + 5 spacing 3 - - QLayoutWidget + + QLabel name - Layout18 + TextLabel1 + + + sizePolicy + + 3 + 5 + + + + text + Low power warning interval + + + alignment + WordBreak|AlignVCenter|AlignLeft - layoutMargin + wordwrap + + + + QSpinBox + + name + lowSpinBox + + + suffix + % + + + buttonSymbols + PlusMinus + + + maxValue + 80 + + + minValue + 2 - layoutSpacing + whatsThis + At what battery level should the low power warning pop up - - - margin - 3 - - - spacing - 3 - - - QLabel - - name - TextLabel1 - - - sizePolicy - - 7 - 5 - - - - text - Low power warning interval - - - alignment - WordBreak|AlignVCenter|AlignLeft - - - wordwrap - - - - QSpinBox - - name - lowSpinBox - - - suffix - % - - - maxValue - 80 - - - minValue - 2 - - - whatsThis - At what battery level should the low power warning pop up - - - - QSpinBox - - name - warnintervalBox - - - suffix - sec - - - maxValue - 60 - - - minValue - 5 - - - whatsThis - how often should be checked for low power. This determines the rate popups occure in low power situations - - - - QSpinBox - - name - criticalSpinBox - - - prefix - - - - suffix - % - - - maxValue - 80 - - - minValue - 2 - - - whatsThis - At what battery level should the critical power warning pop up - - - - QLabel - - name - TextLabel2 - - - sizePolicy - - 1 - 5 - - - - text - very low battery warning at - - - - QLabel - - name - TextLabel3 - - - sizePolicy - - 1 - 5 - - - - text - critical power warning at - - - - + + QSpinBox + + name + warnintervalBox + + + suffix + sec + + + buttonSymbols + PlusMinus + + + maxValue + 60 + + + minValue + 5 + + + whatsThis + how often should be checked for low power. This determines the rate popups occure in low power situations + + + + QSpinBox + + name + criticalSpinBox + + + prefix + + + + suffix + % + + + buttonSymbols + PlusMinus + + + maxValue + 80 + + + minValue + 2 + + + whatsThis + At what battery level should the critical power warning pop up + + + + QLabel + + name + TextLabel2 + + + sizePolicy + + 1 + 5 + + + + text + very low battery warning at + + + + QLabel + + name + TextLabel3 + + + sizePolicy + + 1 + 5 + + + + text + critical power warning at + + + @@ -1275,6 +1272,20 @@ PixmapLabel1_2_3 setDisabled(bool) + + CalibrateLightSensor + clicked() + LightSettingsBase + calibrateSensor() + + + CalibrateLightSensorAC + clicked() + LightSettingsBase + calibrateSensorAC() + + calibrateSensor() + calibrateSensorAC() interval_dim -- cgit v0.9.0.2