aknexeditor.rss

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· RSS 代码 · 共 1,772 行 · 第 1/4 页

RSS
1,772
字号
//    view6 definition
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_aknexeditor_view6
    {
    menubar = r_aknexeditor_menubar_view6;
    cba = r_softkeys_options_next;
    }
//----------------------------------------------------
//    r_aknexeditor_menubar_view6
//    resource for edit window control on view6
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aknexeditor_menubar_view6
    {
    titles=
        {
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_app_menu;
            txt = qtn_aknexeditor_menu_dummy;
            }
        };
    }
//----------------------------------------------------
//    r_aknexeditor_view6_edwin
//    resource for edit window controls on view6
//----------------------------------------------------
//
RESOURCE EDWIN r_aknexeditor_view6_edwin
    {
    flags = EAknEditorFlagDefault;
    width = qnn_aknexeditor_view6_edwin_width;
    lines= qnn_aknexeditor_view6_edwin_height;
    maxlength = qnn_aknexeditor_view6_edwin_maxlength;
    }
//----------------------------------------------------
//    r_aknexeditor_view6_gtexted
//    resource for global text editor coltrols on view6
//----------------------------------------------------
//
RESOURCE GTXTED r_aknexeditor_view6_gtexted
    {
    flags = EAknEditorFlagDefault;
    width = qnn_aknexeditor_view6_gtexted_width;
    height = qnn_aknexeditor_view6_gtexted_height;
    numlines = qnn_aknexeditor_view6_gtexted_numlines;
    textlimit= qnn_aknexeditor_view6_gtexted_textlimit;
    fontcontrolflags = EGulFontControlAll;
    fontnameflags = EGulNoSymbolFonts;
    }
//----------------------------------------------------
//    r_aknexeditor_view6_labels
//    strings for label controls on view6
//----------------------------------------------------
//
RESOURCE ARRAY r_aknexeditor_view6_labels
    {
    items = 
        {
        LBUF { txt = qtn_aknexeditor_view6_label1; },
        LBUF { txt = qtn_aknexeditor_view6_label2; },
        LBUF { txt = qtn_aknexeditor_view6_label3; },
        LBUF { txt = qtn_aknexeditor_view6_label4; }
        };
    }




//----------------------------------------------------
//    r_aknexeditor_view7
//    view7 definition
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_aknexeditor_view7
    {
    menubar = r_aknexeditor_menubar_view7;
    cba = r_softkeys_options_next;
    }
//----------------------------------------------------
//    r_aknexeditor_menubar_view7
//    resource for edit window control on view7
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aknexeditor_menubar_view7
    {
    titles=
        {
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_app_menu;
            txt = qtn_aknexeditor_menu_dummy;
            }
        };
    }
//----------------------------------------------------
//    r_aknexeditor_view7_gtexted
//    resource for global text editor coltrols on view7
//----------------------------------------------------
//
RESOURCE GTXTED r_aknexeditor_view7_gtexted
    {
    flags = EAknEditorFlagDefault;
    width = qnn_aknexeditor_view7_gtexted_width;
    height = qnn_aknexeditor_view7_gtexted_height;
    numlines = qnn_aknexeditor_view7_gtexted_numlines;
    textlimit= qnn_aknexeditor_view7_gtexted_textlimit;
    fontcontrolflags = EGulFontControlAll;
    fontnameflags = EGulNoSymbolFonts;
    }
//----------------------------------------------------
//    r_aknexeditor_view7_labels
//    strings for label controls on view7
//----------------------------------------------------
//
RESOURCE ARRAY r_aknexeditor_view7_labels
    {
    items = 
        {
        LBUF { txt = qtn_aknexeditor_view7_label1; },
        LBUF { txt = qtn_aknexeditor_view7_label2; },
        LBUF { txt = qtn_aknexeditor_view7_label3; }
        };
    }

//----------------------------------------------------
//    r_aknexeditor_view9
//    view9 definition
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_aknexeditor_view9
    {
    menubar = r_aknexeditor_menubar_view9;  
    cba = r_softkeys_options_next;
    }
//----------------------------------------------------
//    r_aknexeditor_menubar_view9
//    menu bar definition for view9
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aknexeditor_menubar_view9
    {
    titles=
        {
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_app_menu;
            txt = qtn_aknexeditor_menu_dummy;
            },
        MENU_TITLE
            {
            menu_pane=r_aknexeditor_view9_menu;
            txt=qtn_aknexeditor_menu_dummy;
            }
        };
    }
//----------------------------------------------------
//    r_aknexeditor_view9_menu
//    menu pane definition for view9
//----------------------------------------------------
//
RESOURCE MENU_PANE r_aknexeditor_view9_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectEdwin1;
            txt = qtn_aknexeditor_menu_select_edwin;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectGTextEd1;
            txt = qtn_aknexeditor_menu_select_gtexted;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdShowForm;
            txt = qtn_aknexeditor_menu_showform;
            }
        };
    }
//----------------------------------------------------
//    r_aknexeditor_view9_edwin
//    resource for edit window control on view9
//----------------------------------------------------
//
RESOURCE EDWIN r_aknexeditor_view9_edwin
    {
    flags = EEikEdwinAllowUndo;
    width = qnn_aknexeditor_view9_edwin_width;
    lines= qnn_aknexeditor_view9_edwin_height;
    maxlength = qnn_aknexeditor_view9_edwin_maxlength;
    }
//----------------------------------------------------
//    r_aknexeditor_view9_gtexted
//    resource for global text editor control on view9
//----------------------------------------------------
//
RESOURCE GTXTED r_aknexeditor_view9_gtexted
    {
    flags = EEikEdwinAllowUndo;
    width = qnn_aknexeditor_view9_gtexted_width;
    height = qnn_aknexeditor_view9_gtexted_height;
    numlines = qnn_aknexeditor_view9_gtexted_numlines;
    textlimit= qnn_aknexeditor_view9_gtexted_textlimit;
    fontcontrolflags = EGulFontControlAll;
    fontnameflags = EGulNoSymbolFonts;
    }
//----------------------------------------------------
//    r_aknexeditor_view9_label1
//    resource for upper label control on view9
//----------------------------------------------------
//
RESOURCE TBUF32 r_aknexeditor_view9_label1
    {
    buf = qtn_aknexeditor_label_edwin;
    }
//----------------------------------------------------
//    r_aknexeditor_view9_label2
//    resource for lower label control on view9
//----------------------------------------------------
//
RESOURCE TBUF32 r_aknexeditor_view9_label2
    {
    buf = qtn_aknexeditor_label_gtexted;
    }
//----------------------------------------------------
//    r_aknexeditor_view9_dialog
//    view9 dialog resource
//----------------------------------------------------
//
RESOURCE DIALOG r_aknexeditor_view9_dialog
    {
    flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
            EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
            EEikDialogFlagNoTitleBar;
    buttons = R_AVKON_SOFTKEYS_OK_BACK;
    form = r_aknexeditor_form_view9;
    } 
// ---------------------------------------------------------
//    r_aknexeditor_view9_form
//    view9 form definition
// ---------------------------------------------------------
//
RESOURCE FORM r_aknexeditor_form_view9
    {
    flags = 0;
    items =
        {
        DLG_LINE
            {
            type = EEikCtEdwin;
            id = EAknExEditorIDForForm9Edwin;
            prompt = qtn_aknexeditor_label_edwin;
            control = EDWIN
                {
                flags = EAknEditorFlagDefault;
                width = qnn_aknexeditor_view9_edwin_width;
                lines = qnn_aknexeditor_view9_edwin_height;
                maxlength = qnn_aknexeditor_view9_edwin_maxlength;
                };
            },
        DLG_LINE
            {
            type = EEikCtGlobalTextEditor;
            id = EAknExEditorIDForForm9Global;
            prompt = qtn_aknexeditor_label_gtexted;
            control = GTXTED
                {
                flags = EAknEditorFlagDefault;
                width = qnn_aknexeditor_view9_gtexted_width;
                height = qnn_aknexeditor_view9_gtexted_height;
                numlines = qnn_aknexeditor_view9_gtexted_numlines;
                textlimit = qnn_aknexeditor_view9_gtexted_textlimit;
                fontcontrolflags = EGulFontControlAll;
                fontnameflags = EGulNoSymbolFonts;
                };
            }
        };
    }





//----------------------------------------------------
//    r_aknexeditor_view21
//    view21 definition
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_aknexeditor_view21
    {
    menubar = r_aknexeditor_menubar_view21;  
    cba = r_softkeys_options_next;
    }
//----------------------------------------------------
//    r_aknexeditor_menubar_view21
//    menu bar definition for view21
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aknexeditor_menubar_view21
    {
    titles=
        {
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_app_menu;
            txt = qtn_aknexeditor_menu_dummy;
            },
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_view21_menu;
            //txt = qtn_aknexeditor_menu_dummy;
            }

        };
    }
//----------------------------------------------------
//    r_aknexeditor_view21_menu
//    menu pane definition for view21
//----------------------------------------------------
//
RESOURCE MENU_PANE r_aknexeditor_view21_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = EAknExEditorCmdReadIPAddress;
            txt = qtn_aknexeditor_menu21_readipaddress;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdDisplayIPAddress;
            txt = qtn_aknexeditor_menu21_displayipaddress;
            }
        };
    }


RESOURCE IP_FIELD r_aknexeditor_view21_ipaddress
    {
    first_field = 12;
    second_field = 34;
    third_field = 56;
    fourth_field = 78;
    }



//----------------------------------------------------
//    r_aknexeditor_view21_label
//    resource for view21 label
//----------------------------------------------------
//
RESOURCE TBUF32 r_aknexeditor_view21_label
    {
    buf = qtn_aknexeditor_view21_label;
    }

//String definitions

RESOURCE TBUF32 r_aknexeditor_view21_createdfromresource
    {
    buf = qtn_aknexeditor_view21_createfromresource;
    }

RESOURCE TBUF32 r_aknexeditor_view21_setgetminmax
    {
    buf = qtn_aknexeditor_view21_setgetminmax;
    }



//----------------------------------------------------
//    r_aknexeditor_view22
//    view22 definition
//----------------------------------------------------
//
RESOURCE AVKON_VIEW r_aknexeditor_view22
    {
    menubar = r_aknexeditor_menubar_view22;
    cba = r_softkeys_options_next;
    }
//----------------------------------------------------
//    r_aknexeditor_menubar_view22
//    menu bar definition for view22
//----------------------------------------------------
//
RESOURCE MENU_BAR r_aknexeditor_menubar_view22
    {
    titles=
        {
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_app_menu;
            txt = qtn_aknexeditor_menu_dummy;
            },
        MENU_TITLE
            {
            menu_pane = r_aknexeditor_view22_menu;
            txt = qtn_aknexeditor_menu_dummy;
            }
        };
    }
//----------------------------------------------------
//    r_aknexeditor_view22_menu
//    menu pane definition for view22
//----------------------------------------------------
//
RESOURCE MENU_PANE r_aknexeditor_view22_menu
    {
    items=
        {
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectTimeEditor;
            txt = qtn_aknexeditor_menu_select_time_editor;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectDateEditor;
            txt = qtn_aknexeditor_menu_select_date_editor;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectDurationEditor;
            txt = qtn_aknexeditor_menu_select_duration_editor;
            flags = EEikMenuItemSeparatorAfter;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdSelectTimeAndDateEditor;
            txt = qtn_aknexeditor_menu_select_time_and_date_editor;
            flags = EEikMenuItemSeparatorAfter;
            },
        MENU_ITEM
            {
            command = EAknExEditorCmdShowForm;
            txt = qtn_aknexeditor_menu_showform;
            }

⌨️ 快捷键说明

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