ui/views/gridview/inc/glxgridview.h
changeset 33 1ee2af37811f
parent 29 2c833fc9e98f
child 36 6481344a6d67
--- a/ui/views/gridview/inc/glxgridview.h	Fri May 14 15:52:22 2010 +0300
+++ b/ui/views/gridview/inc/glxgridview.h	Thu May 27 12:51:42 2010 +0300
@@ -30,6 +30,8 @@
 class GlxModelWrapper;
 class HbPushButton;
 class HbIconItem;
+class HbCheckBox;
+class HbLabel;
 
 class GlxGridView : public GlxView
 {
@@ -55,6 +57,17 @@
     void scrollingStarted();
     void orientationchanged(Qt::Orientation orient);
     void visibleIndexChanged(const QModelIndex& current, const QModelIndex& previous);
+    void stateChanged(int state);
+    //show the marked item count
+    void showMarkedItemCount();
+    //show item count in the grid
+    void showItemCount();
+    //clear all the model connection
+    void clearCurrentModel();
+    //add the connection to the model
+    void initializeNewModel();
+    void showAlbumTitle(QString aTitle);
+    void populated();
 
 protected :
     QVariant  itemChange (GraphicsItemChange change, const QVariant &value) ;
@@ -62,6 +75,7 @@
 private slots:
     void indicateLongPress(const QModelIndex& index, QPointF coords);
     void uiButtonClicked(bool checked);
+    void cameraButtonClicked(bool checked);
 	
 private:
     void addViewConnection();
@@ -69,15 +83,25 @@
     void hideorshowitems(Qt::Orientation orient);
     void scrolltofocus();
     void loadGridView();
-  
+    void showHbItems();
+    int getSubState();
+    void showNoImageString();
+
 	HbMainWindow        *mWindow;          // no ownership
 	QAbstractItemModel  *mModel ;
 	HgWidget            *mWidget;          // HG Grid Widget
 	QItemSelectionModel *mSelectionModel;  // Selected items model
     GlxModelWrapper     *mModelWrapper;    // Temp Model Wrapper, so That Role Change not a problem
     HbPushButton        *mUiOnButton;
+    HbPushButton        *mCameraButton;    // Camera Button, when item count is zero
     bool                 mScrolling;
     HbIconItem          *mIconItem;
+    HbCheckBox          *mMarkCheckBox;    // Mark All checkbox 
+    HbLabel             *mCountItem;       // Item count of the grid
+    HbLabel             *mMainLabel;       
+    HbLabel             *mCountLabel;      // Marked item count
+    HbLabel             *mZeroItemLabel;   // zero itemcount
+    HbLabel             *mAlbumName;
 };
 
 #endif /* GLXGRIDVIEW_H_ */