| demos\outlook\email\inbox.sdf |
1 SplitPane { 2 name: "inbox_viewer" 3 bgColor: "textHighlight" 4 splitOrientation: "top_to_bottom" 5 splitProportions { "0.4" } 6 regions { 7 { 8 viewer { 9 /** 10 * Define a table to hold the list of mail messages and specify that the table 11 * has preview data. The default preview data location is the value row. Specify 12 * that the table will support the, mail reply/reply all, delete, moveto, print, mail forward 13 * and create rule actions. These actions will become enabled when the table 14 * has focus and has a selection 15 */ 16 Table { 17 name: "email_inbox_table" 18 draggingAllowed: "true" 19 deletingAllowed: "true" 20 dataURL: "inbox_data.sdf" 21 columnReorderingAllowed: "true" 22 supportedActions { 23 "pim_mail_reply" 24 "pim_mail_replytoall" 25 "pim_delete" 26 "pim_moveto" 27 "pim_print" 28 "pim_mail_forward" 29 "pim_mail_create_rule" 30 } 31 selectionMode: "multiple" 32 exportDataFlavors { "text"; "email" } 33 columns { 34 {width: "1ch!"; headerIcon: "resource:Sage.icon.exclamation"; headerHorizontalAlign: center; horizontalAlign: center } 35 {width: "2ch!"; headerIcon: "resource:Sage.icon.pageTransparent"; headerHorizontalAlign: center; horizontalAlign: center } 36 {width: "1.5ch!"; headerIcon: "resource:Sage.icon.paperclip"; headerHorizontalAlign: center; horizontalAlign: center } 37 {title: "From"; width: "15ch" } 38 {title: "Subject"} 39 { 40 title: "Recieved" 41 width: "15ch" 42 valueType: "date_time_type" 43 valueContext: "MMM dd, yyyy HH:mm a" 44 } 45 {title: "Size"; width: "5ch!" } 46 { 47 width: "1ch!" 48 overrideSelectionBackground: "true" 49 moveable: "false" 50 verticalAlign: "center" 51 bgColor: "control+10,control" 52 headerIcon: "resource:pim.icon.followup" 53 icon: "resource:pim.icon.followup" 54 headerHorizontalAlign: center 55 } 56 } 57 gridLineType: "horizontal_lines" 58 extendBackgroundRendering: "false" 59 previewData { 60 contentPadding { left: "8ch"; right: "30" } 61 fgColor: "#0000FF" 62 enabled: "true" 63 } 64 } [ onChange="showMailMessage(3,4)" ] 65 } 66 } 67 viewer { name: "email.inbox.reader" } 68 } 69 } 70 71 72 73