⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aknexquery.rss

📁 symbian ui的 例子 初学者可以 好好看看,这个是培训的资料,应该比较宝贵
💻 RSS
📖 第 1 页 / 共 3 页
字号:
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_list_single_pane
//    Resource of List Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_list_single_pane
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtListQueryControl;
            id = EListQueryControl;
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSinglePopupMenuListBox;
                listbox = LISTBOX
                    {
                    flags = EAknListBoxMenuList;
                    height = AKNEXQUERY_LISTBOX_HEIGHT;
                    width = AKNEXQUERY_LISTBOX_WIDTH;
                    array_id = r_aknexquery_list_single_pane_item;
                    };
                heading = STRING_r_aknexquery_list_title;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_list_single_graphic_heading_pane
//    Resource of List Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_list_single_graphic_heading_pane
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtListQueryControl;
            id = EListQueryControl;
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicHeadingPopupMenuListBox;
                listbox = LISTBOX
                    {
                    flags = EAknListBoxMenuList;
                    height = AKNEXQUERY_LISTBOX_HEIGHT;
                    width = AKNEXQUERY_LISTBOX_WIDTH;
                    array_id =
                        r_aknexquery_list_single_graphic_heading_pane_item;
                    };
                heading = STRING_r_aknexquery_list_title;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_multi_selection_query
//    Resource of Multi Selection Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_multi_selection_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtListQueryControl;
            id = EListQueryControl;
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicPopupMenuListBox;
                listbox = LISTBOX
                    {
                    flags = EAknListBoxMultiselectionList;
                    height = AKNEXQUERY_LISTBOX_HEIGHT;
                    width = AKNEXQUERY_LISTBOX_WIDTH;
                    array_id = r_aknexquery_multi_selection_query_list_item;
                    };
                heading = STRING_r_aknexquery_selection_title;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_list_single_pane_item
//    Items array for List Query
//
//-----------------------------------------------------------------------------
//
RESOURCE ARRAY r_aknexquery_list_single_pane_item
    {
    items =
        {
        LBUF
            {
            txt = STRING_r_aknexquery_list_item1;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_list_item2;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_list_item3;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_list_single_graphic_heading_pane_item
//    Items array for List Query
//
//-----------------------------------------------------------------------------
//
RESOURCE ARRAY r_aknexquery_list_single_graphic_heading_pane_item
    {
    items =
        {
        LBUF
            {
            txt = STRING_r_aknexquery_head_graph_item1;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_head_graph_item2;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_head_graph_item3;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_multi_selection_query_list_item
//    Items array for Multi Selection Query
//
//-----------------------------------------------------------------------------
//
RESOURCE ARRAY r_aknexquery_multi_selection_query_list_item
    {
    items =
        {
        LBUF
            {
            txt = STRING_r_aknexquery_selection_item1;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_selection_item2;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_selection_item3;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_selection_item4;
            },
        LBUF
            {
            txt = STRING_r_aknexquery_selection_item5;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_confirmation_query2
//
//-----------------------------------------------------------------------------
//

RESOURCE DIALOG r_aknexquery_confirmation_query2
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_OK_EMPTY;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control= AVKON_CONFIRMATION_QUERY 
                { 
                    layout = EConfirmationLayout;
                    bmpfile = AKNEXQUERY_BMPFILE_NAME;
                    bmpid = EMbmAknexqueryLshellicon;
                    bmpmask = 0xffff;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_list_query
//
//-----------------------------------------------------------------------------
//
RESOURCE AVKON_LIST_QUERY r_aknexquery_list_query
    {
    items = 
    {
    AVKON_LIST_QUERY_DLG_LINE 
        {
        control = AVKON_LIST_QUERY_CONTROL
        {
        listtype = EAknCtSinglePopupMenuListBox;
        listbox = AVKON_LIST_QUERY_LIST
            {
            array_id=r_aknexquery_tlbx_fruit_list;
            };
        heading = "";
        };
        }
    };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_multi_selection_list_query
//
//-----------------------------------------------------------------------------
//
RESOURCE AVKON_MULTISELECTION_LIST_QUERY r_aknexquery_multi_selection_list_query
    {
    items =
        {
        AVKON_MULTISELECTION_LIST_QUERY_DLG_LINE 
            {
            control = AVKON_LIST_QUERY_CONTROL
                {
                listtype = EAknCtSingleGraphicPopupMenuListBox;
                listbox = AVKON_MULTISELECTION_LIST_QUERY_LIST
                    {
                    array_id=r_aknexquery_multi_selection_query_list_item;
                    };
                heading = "List query test";
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_tlbx_fruit_list
//
//-----------------------------------------------------------------------------
//
RESOURCE ARRAY r_aknexquery_tlbx_fruit_list
    {
    items=
        {
        LBUF {txt="Yes"; } ,
        LBUF {txt="No"; },
        LBUF {txt="Yes"; },
        LBUF {txt="NoNo"; },
        LBUF {txt="Yes"; },
        LBUF {txt="NoNoNo"; },
        LBUF {txt="Yes"; },
        LBUF {txt="NoNoNoNo"; },
        LBUF {txt="Yes"; },
        LBUF {txt="NoNoNoNoNoNoNoNo"; },
        LBUF {txt="Yes"; },
        LBUF {txt="NoNoNoNonoNoNOnOnONoNo"; }
        };
    }

//-----------------------------------------------------------------------------
//
//     r_aknexquery_numquery_withhead_head
//     Heading text
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_numquery_withhead_head
    {
    buf = STRING_r_aknexquery_numquery_withhead_head;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_querydiscarded
//    
//-----------------------------------------------------------------------------
//
RESOURCE TBUF64 r_aknexquery_querydiscarded
    {
    buf = STRING_r_aknexquery_querydiscarded;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_item_selected
//    
//-----------------------------------------------------------------------------
//
RESOURCE TBUF64 r_aknexquery_item_selected
    {
    buf = STRING_r_aknexquery_item_selected;
    }

// ----------------------------------------------------------------------------
//
//    r_aknexquery_cba_options_next
//    ?description
//
// ----------------------------------------------------------------------------
//

RESOURCE CBA r_aknexquery_cba_options_next
    {
    buttons =
        {
        CBA_BUTTON 
            {
            id=EAknSoftkeyOptions; 
            txt = STRING_r_aknexquery_cba_options;
            },
        AVKON_CBA_BUTTON
            {
            id = EAknExQueryCbaCmdNext;
            txt = STRING_r_aknexquery_cba_next;
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    Resource of message.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF64 r_aknexquery_received_message
    {
    buf = STRING_r_aknexquery_received_message;
    }

RESOURCE TBUF64 r_aknexquery_approved_message
    {
    buf = STRING_r_aknexquery_approved_message;
    }

// ---------------------------------------------------------------------------- 
//
// r_aknexquery_localisable_app_info
//
// ---------------------------------------------------------------------------- 
//
RESOURCE LOCALISABLE_APP_INFO r_aknexquery_localisable_app_info
    {
    short_caption = STRING_r_aknexquery_caption_string;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = STRING_r_aknexquery_caption_string;

        number_of_icons = 1;
	   	icon_file = "\\resource\\apps\\AknExquery_aif.mif";
	    };
    }

// End of File

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -