gsprofilesrv_plat/ftuwizardmodel_api/inc/ftuwizard.h
changeset 39 c044bc2ea8f7
parent 37 940f6b67827d
child 61 33e86ecbfdb4
equal deleted inserted replaced
38:5a264aaf7677 39:c044bc2ea8f7
    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.
   209      * @param viewWidget The new plugin view widget to be shown.
   193      * @param viewWidget The new plugin view widget to be shown.
   210     */
   194     */
   211     void viewChanged(FtuWizard *caller, QGraphicsWidget* viewWidget);
   195     void viewChanged(FtuWizard *caller, QGraphicsWidget* viewWidget);
   212     
   196     
   213     /**
   197     /**
   214      * Emit this signal to put the ftu view to full-screen view, i.e. no 
       
   215      * titlebar, infotext & menustrip.
       
   216      * @param caller The calling wizard plugin instance.
       
   217      */
       
   218     void fullScreenModeRequested(FtuWizard *caller);
       
   219     
       
   220     /**
       
   221      * Emit this signal to come out of fullscreen mode, i.e. show the titlebar,
       
   222      * infotext and menustrip
       
   223      * @param caller The calling wizard plugin instance.
       
   224      */
       
   225     void partialScreenModeRequested(FtuWizard *caller);
       
   226     
       
   227     /**
       
   228      * Adds an over-lay widget on top of the current view, used to add an 
   198      * Adds an over-lay widget on top of the current view, used to add an 
   229      * overlay animation on top of the current view
   199      * overlay animation on top of the current view
   230      * @param caller The calling wizard plugin instance.
   200      * @param caller The calling wizard plugin instance.
   231      * @param overlay The overlay widget to be added.
   201      * @param overlay The overlay widget to be added.
   232      */    
   202      */    
   259      * from shutdownWizard.
   229      * from shutdownWizard.
   260      * @param caller The calling wizard plugin instance.
   230      * @param caller The calling wizard plugin instance.
   261      * @param menu   The HbMenu instance that needs to be shown on the view
   231      * @param menu   The HbMenu instance that needs to be shown on the view
   262      */
   232      */
   263     void updateMainMenu(FtuWizard *caller, HbMenu * menu);
   233     void updateMainMenu(FtuWizard *caller, HbMenu * menu);
       
   234 
       
   235     /**
       
   236      * Emit this signal to indicate that the wizard plugin wants to be deactivated. 
       
   237      * Wizard is deactivated and Table of Contents is shown by the application.
       
   238      * @param caller The calling wizard plugin instance.
       
   239      */
       
   240     void wizardDeactivated(FtuWizard *caller);
   264     
   241     
   265 };
   242 };
   266 
   243 
   267 #endif // FTUWIZARD_H
   244 #endif // FTUWIZARD_H
   268 
   245