equal
deleted
inserted
replaced
25 |
25 |
26 #include <QImage> |
26 #include <QImage> |
27 #include <QWidget> |
27 #include <QWidget> |
28 |
28 |
29 #include "FlowInterface.h" |
29 #include "FlowInterface.h" |
|
30 #include "BWFGlobal.h" |
|
31 |
30 |
32 |
31 namespace WRT { |
33 namespace WRT { |
32 |
34 |
33 class Filmstrip; |
35 class Filmstrip; |
34 class FilmstripFlowPrivate; |
36 class FilmstripFlowPrivate; |
35 class FilmstripMovieFactory; |
37 class FilmstripMovieFactory; |
36 |
38 |
37 /*! |
39 /*! |
38 Class FilmstripFlow |
40 Class FilmstripFlow |
39 */ |
41 */ |
40 class FilmstripFlow: public FlowInterface |
42 class BWF_EXPORT FilmstripFlow: public FlowInterface |
41 { |
43 { |
42 Q_OBJECT |
44 Q_OBJECT |
43 friend class Filmstrip; |
45 friend class Filmstrip; |
44 friend class FilmstripMovieFactory; |
46 friend class FilmstripMovieFactory; |
45 |
47 |
145 }; |
147 }; |
146 |
148 |
147 /*! |
149 /*! |
148 Class GraphicsFilmstripFlow |
150 Class GraphicsFilmstripFlow |
149 */ |
151 */ |
150 class GraphicsFilmstripFlow: public GraphicsFlowInterface |
152 class BWF_EXPORT GraphicsFilmstripFlow: public GraphicsFlowInterface |
151 { |
153 { |
152 Q_OBJECT |
154 Q_OBJECT |
153 friend class Filmstrip; |
155 friend class Filmstrip; |
154 friend class FilmstripMovieFactory; |
156 friend class FilmstripMovieFactory; |
155 |
157 #ifdef ENABLE_TESTS |
|
158 friend class GraphicsFilmstripFlowTest; |
|
159 #endif |
156 public: |
160 public: |
157 /*! |
161 /*! |
158 Creates a new FilmstripFlow widget. |
162 Creates a new FilmstripFlow widget. |
159 */ |
163 */ |
160 GraphicsFilmstripFlow(QObject* parent = 0); |
164 GraphicsFilmstripFlow(QObject* parent = 0); |
213 |
217 |
214 //! set background color |
218 //! set background color |
215 void backgroundColor(const QRgb& c); |
219 void backgroundColor(const QRgb& c); |
216 |
220 |
217 //! handle the display mode change |
221 //! handle the display mode change |
218 void displayModeChanged(QString& newMode); |
222 void displayModeChanged(QSize sz); |
219 |
223 |
220 //! prepare start-animation |
224 //! prepare start-animation |
221 void prepareStartAnimation(); |
225 void prepareStartAnimation(); |
222 |
226 |
223 //! run start-animation |
227 //! run start-animation |