ui/views/gridview/inc/glxgridview.h
changeset 54 0f0f3f26f787
parent 50 a0f57508af73
child 65 ccee5c4b0de4
equal deleted inserted replaced
52:a3a4c0de738e 54:0f0f3f26f787
    31 class HbPushButton;
    31 class HbPushButton;
    32 class HbIconItem;
    32 class HbIconItem;
    33 class HbCheckBox;
    33 class HbCheckBox;
    34 class HbLabel;
    34 class HbLabel;
    35 class GlxSettingInterface;
    35 class GlxSettingInterface;
       
    36 class HbGroupBox;
       
    37 class QGraphicsLinearLayout;
    36 
    38 
    37 class GlxGridView : public GlxView
    39 class GlxGridView : public GlxView
    38 {
    40 {
    39     Q_OBJECT
    41     Q_OBJECT
    40 
    42 
    85     void scrolltofocus();
    87     void scrolltofocus();
    86     void loadGridView();
    88     void loadGridView();
    87     void showHbItems();
    89     void showHbItems();
    88     int getSubState();
    90     int getSubState();
    89     void showNoImageString();
    91     void showNoImageString();
       
    92     
       
    93     //It is used to hide and show the toolbar
       
    94     //In album grid it is not required to show the tool bar
       
    95     void updateToolBar();
    90 
    96 
    91 	HbMainWindow        *mWindow;          // no ownership
    97 	HbMainWindow        *mWindow;          // no ownership
    92 	QAbstractItemModel  *mModel ;
    98 	QAbstractItemModel  *mModel ;
    93 	HgGrid              *mWidget;          // HG Grid Widget
    99 	HgGrid              *mWidget;          // HG Grid Widget
    94 	QItemSelectionModel *mSelectionModel;  // Selected items model
   100 	QItemSelectionModel *mSelectionModel;  // Selected items model
    95     GlxModelWrapper     *mModelWrapper;    // Temp Model Wrapper, so That Role Change not a problem
   101     GlxModelWrapper     *mModelWrapper;    // Temp Model Wrapper, so That Role Change not a problem
    96     HbPushButton        *mUiOnButton;
   102     HbPushButton        *mUiOnButton;    
    97     HbPushButton        *mCameraButton;    // Camera Button, when item count is zero
       
    98     bool                 mScrolling;
   103     bool                 mScrolling;
    99     HbIconItem          *mIconItem;
   104     HbIconItem          *mIconItem;
   100     HbCheckBox          *mMarkCheckBox;    // Mark All checkbox 
   105     HbCheckBox          *mMarkCheckBox;    // Mark All checkbox 
   101     HbLabel             *mCountItem;       // Item count of the grid
   106     HbGroupBox          *mTotalImagesCount;       // Item count of the grid
   102     HbLabel             *mMainLabel;       
   107     HbGroupBox          *mMarkSelectHeading;    
   103     HbLabel             *mCountLabel;      // Marked item count
   108     HbLabel             *mMarkCountLabel;      // Marked item count
   104     HbLabel             *mZeroItemLabel;   // zero itemcount
   109     HbLabel             *mZeroItemLabel;   // zero itemcount
   105     HbLabel             *mAlbumName;
   110     HbGroupBox          *mAlbumNameHeading;
   106     GlxSettingInterface *mSettings;      
   111     QGraphicsLinearLayout *mMarkContainer;
       
   112     GlxSettingInterface *mSettings;    
       
   113     HbWidget *mMarkingWidget;
   107 };
   114 };
   108 
   115 
   109 #endif /* GLXGRIDVIEW_H_ */
   116 #endif /* GLXGRIDVIEW_H_ */