author | sandman <sandman> | 2002-11-01 18:13:18 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-11-01 18:13:18 (UTC) |
commit | 2259e3ab9f2e06a4ee4dbd633c17221a47fdb7ba (patch) (side-by-side diff) | |
tree | f3e6bb8ee6c0d8f2671a63c240d1145e710da82d /core/settings/light-and-power/calibration.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/calibration.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/settings/light-and-power/calibration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/settings/light-and-power/calibration.h b/core/settings/light-and-power/calibration.h index 2bff69a..ffa63b2 100644 --- a/core/settings/light-and-power/calibration.h +++ b/core/settings/light-and-power/calibration.h @@ -34,24 +34,28 @@ class Calibration : public QWidget { Q_OBJECT public: Calibration ( QWidget *parent = 0, const char *name = 0, WFlags fl = 0 ); virtual ~Calibration ( ); QSize scale ( ) const; int lineSteps ( ) const; int interval ( ) const; QPoint startPoint ( ) const; QPoint endPoint ( ) const; +signals: + void startPointChanged ( const QPoint & ); + void endPointChanged ( const QPoint & ); + public slots: void setScale ( const QSize &s ); void setLineSteps ( int step ); void setInterval ( int iv ); void setStartPoint ( const QPoint &p ); void setEndPoint ( const QPoint &p ); protected: virtual void paintEvent ( QPaintEvent * ); virtual void mousePressEvent ( QMouseEvent * ); virtual void mouseMoveEvent ( QMouseEvent * ); virtual void mouseReleaseEvent ( QMouseEvent * ); |