author | alwin <alwin> | 2005-03-24 12:16:23 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-24 12:16:23 (UTC) |
commit | 4fbd94e2fd6432bb15e24e40be59426b309cbb9d (patch) (unidiff) | |
tree | b78ecad37012bb66d956e22dbaa8cfcdb8cf67fc /noncore/graphics/opie-eye/gui/imageview.h | |
parent | c635023dd68edd0cb0cbb2827b926f33e27e0404 (diff) | |
download | opie-4fbd94e2fd6432bb15e24e40be59426b309cbb9d.zip opie-4fbd94e2fd6432bb15e24e40be59426b309cbb9d.tar.gz opie-4fbd94e2fd6432bb15e24e40be59426b309cbb9d.tar.bz2 |
- increased max-thumbnail-size
- shortcuts for inc/dec brightness
- make max thumbnail size as a static so there is one point in code
where it is stored and not 4 time over the whole code
Diffstat (limited to 'noncore/graphics/opie-eye/gui/imageview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imageview.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/gui/imageview.h b/noncore/graphics/opie-eye/gui/imageview.h index e8c8df7..b5801a6 100644 --- a/noncore/graphics/opie-eye/gui/imageview.h +++ b/noncore/graphics/opie-eye/gui/imageview.h | |||
@@ -31,3 +31,5 @@ class ImageView:public Opie::MM::OImageScrollView | |||
31 | Autorotate, | 31 | Autorotate, |
32 | Autoscale | 32 | Autoscale, |
33 | Incbrightness, | ||
34 | Decbrightness | ||
33 | }; | 35 | }; |
@@ -42,3 +44,3 @@ public: | |||
42 | void stopSlide(); | 44 | void stopSlide(); |
43 | void setMenuActions(QActionGroup*hGroup,QActionGroup*nextprevGroup, QActionGroup*disptypeGroup); | 45 | void setMenuActions(QActionGroup*hGroup,QActionGroup*nextprevGroup, QActionGroup*disptypeGroup,QActionGroup*brightGroup); |
44 | void setCloseIfHide(bool); | 46 | void setCloseIfHide(bool); |
@@ -54,2 +56,4 @@ signals: | |||
54 | void toggleAutorotate(); | 56 | void toggleAutorotate(); |
57 | void incBrightness(); | ||
58 | void decBrightness(); | ||
55 | 59 | ||
@@ -67,3 +71,3 @@ protected: | |||
67 | virtual void focusInEvent ( QFocusEvent * ); | 71 | virtual void focusInEvent ( QFocusEvent * ); |
68 | QActionGroup *m_gDisplayType,*m_gPrevNext,*m_hGroup; | 72 | QActionGroup *m_gDisplayType,*m_gPrevNext,*m_hGroup,*m_gBright; |
69 | bool closeIfHide:1; | 73 | bool closeIfHide:1; |
@@ -77,2 +81,4 @@ public slots: | |||
77 | virtual void systemMessage( const QCString&, const QByteArray& ); | 81 | virtual void systemMessage( const QCString&, const QByteArray& ); |
82 | virtual void slotIncBrightness(); | ||
83 | virtual void slotDecBrightness(); | ||
78 | 84 | ||