20 #ifndef GLXMODELPARM_H |
20 #ifndef GLXMODELPARM_H |
21 #define GLXMODELPARM_H |
21 #define GLXMODELPARM_H |
22 |
22 |
23 #include<glxfiltergeneraldefs.h> |
23 #include<glxfiltergeneraldefs.h> |
24 #include<glxuistd.h> |
24 #include<glxuistd.h> |
25 |
25 #include<glxmodelroles.h> |
26 enum |
|
27 { |
|
28 GlxHgVisibilityRole = Qt::UserRole + 1, // VisibilityRole For MediaWall , Dont Change This Value - Depedency To HgWidget |
|
29 GlxFsImageRole, //to get the fullscreen image |
|
30 GlxContextRole, //to get and set the context |
|
31 GlxFocusIndexRole, //to get and set the selected item index |
|
32 GlxVisualWindowIndex, //to set the visual window index in media list |
|
33 GlxUriRole, //to get the URI of the image |
|
34 GlxDimensionsRole, |
|
35 GlxSelectedIndexRole, //to get and set the seleceted item list |
|
36 GlxDateRole, //to get the image created or modified date |
|
37 GlxFrameCount, //to get the number of frame in an image |
|
38 GlxSubStateRole, //to publish the sub state of a SM states |
|
39 GlxHdmiBitmap, //to get the pre decoded thumbnail for HDMI |
|
40 GlxListItemCount, //to get the number of item in the album list |
|
41 GlxSystemItemRole, //to get the item is system item or not |
|
42 GlxFavorites, //to get the image is in favorites folder or not |
|
43 GlxQImageSmall, //To Get Grid Thumbnail as QImage |
|
44 GlxQImageLarge, //To Get FullScreen Thumbnail as QImage |
|
45 GlxDefaultImage, //To Get Default Thumbnail |
|
46 GlxViewTitle, |
|
47 GlxPopulated |
|
48 }; |
|
49 |
|
50 |
26 |
51 class GlxModelParm |
27 class GlxModelParm |
52 { |
28 { |
53 public: |
29 public: |
54 GlxModelParm (qint32 collectionId = 0, qint32 depth = 0 , TGlxFilterItemType filterType = EGlxFilterItemAll , GlxContextMode contextMode = GlxContextPtGrid ,QString uri = NULL) |
30 GlxModelParm (qint32 collectionId = 0, qint32 depth = 0 , TGlxFilterItemType filterType = EGlxFilterItemAll , GlxContextMode contextMode = GlxContextPtGrid ,QString uri = NULL) |