| demos\outlook\email\email.sdf |
1 Form { 2 name: "mailFolderSelection" 3 borders { 4 none 5 } 6 verticalAlign: full 7 bgColor: "white" 8 scriptURL: "email.js" 9 layout: table 10 rows: "5" 11 widgets { 12 { 13 Label { 14 templateName: "headerLabel" 15 bounds { 16 x: "0" 17 y: "0" 18 } 19 value: "Favorite Folders" 20 } 21 } 22 { 23 Tree { 24 borders { 25 none 26 } 27 bounds { 28 x: "0" 29 y: "1" 30 height: "4ln" 31 } 32 dataURL:<< 33 DataItem{ 34 subItems { 35 { 36 value: "Inbox" 37 icon: "resource:pim.icon.inbox" 38 } 39 { 40 font { style: italic} 41 value: "Unread Mail" 42 icon: "resource:pim.icon.dynamic_folder" 43 } 44 { 45 value: "For Folowup" 46 icon: "resource:pim.icon.dynamic_folder" 47 } 48 { 49 value: "Sent Items" 50 linkedData: sent.sdf 51 icon: "resource:pim.icon.sent" 52 } 53 } 54 }>> [mimeType="text/x-sdf", inline=true] 55 rootNode { 56 value: "My Favorites" 57 } 58 showRootNode: false 59 selectionGroupName: "mailboxes" 60 overlapAutoToolTips: true 61 } 62 } 63 { 64 Label { 65 templateName: "headerLabel" 66 bounds { 67 x: "0" 68 y: "2" 69 } 70 value: "All Mail Folders" 71 } 72 } 73 { 74 Tree { 75 name: "emailFolders" 76 borders { 77 none 78 } 79 verticalAlign: full 80 bgColor: "#ffffff" 81 bounds { 82 x: "0" 83 y: "3" 84 } 85 standardHandlers: "onChange" 86 dataURL:<< 87 DataItem { 88 subItems { 89 { 90 value: "Deleted Items" 91 linkedData: deleted.sdf 92 icon: "resource:pim.icon.deleted" 93 importDataFlavors {email} 94 95 } 96 { 97 value: Drafts 98 linkedData: drafts.sdf 99 icon: "resource:pim.icon.drafts" 100 } 101 { 102 value: "Inbox (3)" 103 linkedData: inbox.sdf 104 icon: "resource:pim.icon.inbox" 105 font { style: bold} 106 } 107 { 108 value: Junk E-Mail 109 linkedData: junk.sdf 110 icon: "resource:pim.icon.junk" 111 importDataFlavors {email} 112 } 113 { 114 value: Outbox 115 linkedData: outbox.sdf 116 icon: "resource:pim.icon.outbox" 117 } 118 { 119 value: "Sent Items" 120 linkedData: sent.sdf 121 icon: "resource:pim.icon.sent" 122 } 123 { 124 value: "Search Folders" 125 linkedData: sent.sdf 126 icon: "resource:pim.icon.dynamic_folder" 127 subItems { 128 { 129 value: "For Folowup" 130 icon: "resource:pim.icon.dynamic_folder" 131 linkedData: junk.sdf 132 } 133 { 134 font { style: italic} 135 value: "Unread Mail" 136 linkedData: junk.sdf 137 icon: "resource:pim.icon.dynamic_folder" 138 } 139 { 140 value: "Large Mail" 141 linkedData: junk.sdf 142 icon: "resource:pim.icon.dynamic_folder" 143 } 144 } 145 } 146 } 147 }>> [ inline="true", mimeType="text/x-sdf" ] 148 dropTracking: on_item 149 rootNode { 150 value: "Personal Folders" 151 icon: "resource:pim.icon.personal" 152 } 153 selectedIndex: 3 154 selectionGroupName: "mailboxes" 155 overlapAutoToolTips: true 156 } [ onDrop="showDropMessage()" ] 157 } 158 } 159 } 160 161