ui/inc/glxmodelroles.h
changeset 69 45459746d5e8
parent 62 36d93b4dc635
equal deleted inserted replaced
65:ccee5c4b0de4 69:45459746d5e8
    19 
    19 
    20 #ifndef GLXMODELROLES_H
    20 #ifndef GLXMODELROLES_H
    21 #define GLXMODELROLES_H
    21 #define GLXMODELROLES_H
    22 enum
    22 enum
    23 {
    23 {
       
    24     //For ItemImageData Function role START
    24     GlxHgVisibilityRole = Qt::UserRole + 1, // VisibilityRole For MediaWall ,  Dont Change This Value - Depedency To HgWidget
    25     GlxHgVisibilityRole = Qt::UserRole + 1, // VisibilityRole For MediaWall ,  Dont Change This Value - Depedency To HgWidget
    25     GlxFsImageRole,                         //to get the fullscreen image
    26     GlxFsImageRole,                         //to get the fullscreen image
    26     GlxContextRole,                     //to get and set the context   
    27     GlxDefaultImage,
    27     GlxFocusIndexRole,                  //to get and set the selected item index
       
    28     GlxVisualWindowIndex,               //to set the visual window index in media list
       
    29     GlxUriRole,                         //to get the URI of the image
       
    30     GlxDimensionsRole,                  
       
    31     GlxSelectedIndexRole,               //to get and set the seleceted item list
       
    32     GlxDateRole,                        //to get the image created or modified date 
       
    33     GlxFrameCount,                      //to get the number of frame in an image
       
    34     GlxSubStateRole,                    //to publish the sub state of a SM states
       
    35     GlxHdmiBitmap,                      //to get the pre decoded thumbnail for HDMI
       
    36 	GlxListItemCount,                   //to get the number of item in the album list
       
    37 	GlxSystemItemRole,                   //to get the item is system item or not
       
    38     GlxFavorites,                       //to get the image is in favorites folder or not
       
    39     GlxQImageSmall,                     //To Get Grid Thumbnail as QImage
    28     GlxQImageSmall,                     //To Get Grid Thumbnail as QImage
    40     GlxQImageLarge,                     //To Get FullScreen Thumbnail as QImage
    29     GlxQImageLarge,                     //To Get FullScreen Thumbnail as QImage
    41     GlxDefaultImage,					//To Get Default Thumbnail 
    30     GlxHdmiBitmap,                      //to get the pre decoded thumbnail for HDMI
       
    31     GlxItemImageDataEnd = 0x100,
       
    32     //For ItemImageData Function role END
       
    33     
       
    34     //For CollectionProperty Function role START
       
    35     GlxFocusIndexRole,                  //to get and set the selected item index
       
    36     GlxSubStateRole,                    //to publish the sub state of a SM states
       
    37     GlxPopulated,
    42     GlxViewTitle,
    38     GlxViewTitle,
    43     GlxPopulated,
    39     GlxVisualWindowIndex,               //to set the visual window index in media list
    44 	GlxTimeRole,                        //to get the time image was modified
    40     GlxPaintPageFlag,
    45 	GlxSizeRole,                         //to get the size of the image
    41     GlxCollectionPropertyEnd = 0x200,
    46 	GlxDescRole,                         //to get the description of the images
    42     //For CollectionProperty Function role END
    47 	GlxRemoveContextRole,                 //to remove the context
    43     
    48 	GlxTempVisualWindowIndex,              //to store the visual index obtained from AM temporarily
    44     //For ItemProperty Function role START
    49 	GlxImageCorruptRole,                 //To get the corrupt image status
    45     GlxFrameCount,                       //to get the number of frame in an image
    50 	GlxPaintPageFlag,
    46     GlxImageCorruptRole,                 //To get the corrupt image status
    51 	GlxImageTitle                        //to fetch the title of the image
    47     GlxUriRole,                          //to get the URI of the image
       
    48     GlxSizeRole,                         //to get the size of the image
       
    49     GlxImageTitle,                        //to fetch the title of the image
       
    50     GlxDimensionsRole,                  
       
    51     GlxDateRole,                         //to get the image created or modified date 
       
    52     GlxTimeRole,                         //to get the time image was modified
       
    53     GlxDescRole,                         //to get the description of the images
       
    54     GlxItemPropertyEnd = 0x300,                       
       
    55     //For ItemProperty Function role
       
    56  
       
    57     GlxContextRole,                      //to get and set the context    
       
    58     GlxSelectedIndexRole,               //to get and set the seleceted item list
       
    59     GlxListItemCount,                   //to get the number of item in the album list
       
    60     GlxSystemItemRole,                   //to get the item is system item or not
       
    61     GlxFavorites,                       //to get the image is in favorites folder or not
       
    62     GlxRemoveContextRole,                 //to remove the context
       
    63     GlxTempVisualWindowIndex,              //to store the visual index obtained from AM temporarily
    52 };
    64 };
    53 
    65 
    54 
    66 
    55 #endif 
    67 #endif