author | sandman <sandman> | 2002-11-01 18:13:18 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-01 18:13:18 (UTC) |
commit | 2259e3ab9f2e06a4ee4dbd633c17221a47fdb7ba (patch) (unidiff) | |
tree | f3e6bb8ee6c0d8f2671a63c240d1145e710da82d /core/settings/light-and-power/sensor.h | |
parent | 7b7b760ca3886d5b6562a88b5c2ef8e610b73eb8 (diff) | |
download | opie-2259e3ab9f2e06a4ee4dbd633c17221a47fdb7ba.zip opie-2259e3ab9f2e06a4ee4dbd633c17221a47fdb7ba.tar.gz opie-2259e3ab9f2e06a4ee4dbd633c17221a47fdb7ba.tar.bz2 |
- Completly reworked the backlight "preview":
every slider/control that relates to backlight levels, is now switching the
lcd to this level for 2 seconds - after that the backlight switches back to
the standard level (or light sensor control)
- Many bugfixes and usability improvements in light sensor calibration
Diffstat (limited to 'core/settings/light-and-power/sensor.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/settings/light-and-power/sensor.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/settings/light-and-power/sensor.h b/core/settings/light-and-power/sensor.h index 7a26d81..b484519 100644 --- a/core/settings/light-and-power/sensor.h +++ b/core/settings/light-and-power/sensor.h | |||
@@ -25,23 +25,31 @@ | |||
25 | Boston, MA 02111-1307, USA. | 25 | Boston, MA 02111-1307, USA. |
26 | 26 | ||
27 | */ | 27 | */ |
28 | #ifndef __SENSOR_H__ | 28 | #ifndef __SENSOR_H__ |
29 | #define __SENSOR_H__ | 29 | #define __SENSOR_H__ |
30 | 30 | ||
31 | #include "sensorbase.h" | 31 | #include "sensorbase.h" |
32 | 32 | ||
33 | class Calibration; | 33 | class Calibration; |
34 | class QStringList; | 34 | class QStringList; |
35 | 35 | ||
36 | class Sensor : public SensorBase { | 36 | class Sensor : public SensorBase { |
37 | Q_OBJECT | ||
38 | |||
37 | public: | 39 | public: |
38 | Sensor ( QStringList ¶ms, QWidget *parent = 0, const char *name = 0 ); | 40 | Sensor ( QStringList ¶ms, QWidget *parent = 0, const char *name = 0 ); |
39 | 41 | ||
40 | virtual void accept ( ); | 42 | virtual void accept ( ); |
41 | 43 | ||
44 | signals: | ||
45 | void viewBacklight ( int ); | ||
46 | |||
47 | private slots: | ||
48 | void pointDrag ( const QPoint & ); | ||
49 | |||
42 | private: | 50 | private: |
43 | QStringList &m_params; | 51 | QStringList &m_params; |
44 | Calibration *m_calib; | 52 | Calibration *m_calib; |
45 | }; | 53 | }; |
46 | 54 | ||
47 | #endif \ No newline at end of file | 55 | #endif \ No newline at end of file |