equal
deleted
inserted
replaced
23 |
23 |
24 #include <QFileInfo> |
24 #include <QFileInfo> |
25 #include <QObject> |
25 #include <QObject> |
26 #include <QRectF> |
26 #include <QRectF> |
27 #include <QDate> |
27 #include <QDate> |
28 #include <HbMenu> |
28 #include <hbmenu> |
29 |
29 |
30 class QGraphicsWidget; |
30 class QGraphicsWidget; |
31 |
31 |
32 /** |
32 /** |
33 * @ingroup group_ftuwizardmodel |
33 * @ingroup group_ftuwizardmodel |
40 * @since S60 ?S60_version |
40 * @since S60 ?S60_version |
41 */ |
41 */ |
42 |
42 |
43 typedef struct { |
43 typedef struct { |
44 /** |
44 /** |
45 * The default icon to be shown in menustrip UI component. |
|
46 */ |
|
47 QFileInfo mMenustripDefaultIcon; |
|
48 /** |
|
49 * The pressed icon to be shown in menustrip UI component. |
|
50 */ |
|
51 QFileInfo mMenustripPressedIcon; |
|
52 /** |
|
53 * The focussed icon to be shown in menustrip UI component. |
|
54 */ |
|
55 QFileInfo mMenustripFocussedIcon; |
|
56 /** |
|
57 * The text to be shown in menustrip UI component. |
|
58 */ |
|
59 QString mMenustripLabel; |
|
60 /** |
|
61 * The default icon to be shown in table of contents UI component. |
45 * The default icon to be shown in table of contents UI component. |
62 */ |
46 */ |
63 QFileInfo mTocDefaultIcon; |
47 QFileInfo mTocDefaultIcon; |
64 /** |
48 /** |
65 * The pressed icon to be shown in table of contents UI component. |
49 * The pressed icon to be shown in table of contents UI component. |
210 * @param viewWidget The new plugin view widget to be shown. |
194 * @param viewWidget The new plugin view widget to be shown. |
211 */ |
195 */ |
212 void viewChanged(FtuWizard *caller, QGraphicsWidget* viewWidget); |
196 void viewChanged(FtuWizard *caller, QGraphicsWidget* viewWidget); |
213 |
197 |
214 /** |
198 /** |
215 * Emit this signal to put the ftu view to full-screen view, i.e. no |
|
216 * titlebar, infotext & menustrip. |
|
217 * @param caller The calling wizard plugin instance. |
|
218 */ |
|
219 void fullScreenModeRequested(FtuWizard *caller); |
|
220 |
|
221 /** |
|
222 * Emit this signal to come out of fullscreen mode, i.e. show the titlebar, |
|
223 * infotext and menustrip |
|
224 * @param caller The calling wizard plugin instance. |
|
225 */ |
|
226 void partialScreenModeRequested(FtuWizard *caller); |
|
227 |
|
228 /** |
|
229 * Adds an over-lay widget on top of the current view, used to add an |
199 * Adds an over-lay widget on top of the current view, used to add an |
230 * overlay animation on top of the current view |
200 * overlay animation on top of the current view |
231 * @param caller The calling wizard plugin instance. |
201 * @param caller The calling wizard plugin instance. |
232 * @param overlay The overlay widget to be added. |
202 * @param overlay The overlay widget to be added. |
233 */ |
203 */ |
260 * from shutdownWizard. |
230 * from shutdownWizard. |
261 * @param caller The calling wizard plugin instance. |
231 * @param caller The calling wizard plugin instance. |
262 * @param menu The HbMenu instance that needs to be shown on the view |
232 * @param menu The HbMenu instance that needs to be shown on the view |
263 */ |
233 */ |
264 void updateMainMenu(FtuWizard *caller, HbMenu * menu); |
234 void updateMainMenu(FtuWizard *caller, HbMenu * menu); |
|
235 |
|
236 /** |
|
237 * Emit this signal to indicate that the wizard plugin wants to be deactivated. |
|
238 * Wizard is deactivated and Table of Contents is shown by the application. |
|
239 * @param caller The calling wizard plugin instance. |
|
240 */ |
|
241 void wizardDeactivated(FtuWizard *caller); |
265 |
242 |
266 }; |
243 }; |
267 |
244 |
268 #endif // FTUWIZARD_H |
245 #endif // FTUWIZARD_H |
269 |
246 |