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

📄 aknexquery.rss

📁 symbian中询问对话框生成的源代码 适合初学者使用。
💻 RSS
📖 第 1 页 / 共 5 页
字号:
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline8
    {
    buf = qtn_aknexquery_data_list_text8;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline10
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline10
    {
    buf = qtn_aknexquery_data_list_text10;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline16
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline16
    {
    buf = qtn_aknexquery_data_list_text16;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline28
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline28
    {
    buf = qtn_aknexquery_data_list_text28;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline30
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline30
    {
    buf = qtn_aknexquery_data_list_text30;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline33
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline33
    {
    buf = qtn_aknexquery_data_list_text33;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline35
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline35
    {
    buf = qtn_aknexquery_data_list_text35;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline44
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline44
    {
    buf = qtn_aknexquery_data_list_text44;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline48
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline48
    {
    buf = qtn_aknexquery_data_list_text48;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline52
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline52
    {
    buf = qtn_aknexquery_data_list_text52;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline54
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline54
    {
    buf = qtn_aknexquery_data_list_text54;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_outline61
//    Title of StatusPane.
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF16 r_aknexquery_outline61
    {
    buf = qtn_aknexquery_data_list_text61;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_confirmation_query
//    Resource of Confirmation Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_confirmation_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_YES_NO;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY
                {
                layout = EConfirmationQueryLayout;
                label = qtn_aknexquery_con_label_text;
                bmpfile = AKNEXQUERY_BMPFILE_NAME;
                bmpid = EMbmAknexqueryLshellicon;
                bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_confirmation_query_other_softkeys
//    Resource of Confirmation Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_confirmation_query_other_softkeys
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
                {
                layout = EConfirmationQueryLayout;
                label = qtn_aknexquery_con_label_text;
                bmpfile = AKNEXQUERY_BMPFILE_NAME;
                //bmpfile = qtn_aknexquery_mbm_file_path;
                bmpid = EMbmAknexqueryLshellicon;
                bmpmask = AKNEXQUERY_BITMAP_MASK_FLAG;
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_data_query
//    Resource of Data Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_data_query
    {
    flags = EGeneralQueryFlags;
//      flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | EEikDialogFlagCbaButtons;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_aknexquery_data_label_text;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    width = AKNEXQUERY_EDWIN_WIDTH;
                    // lines = AKNEXQUERY_EDWIN_LINES;
                    maxlength = AKNEXQUERY_EDWIN_MAXLENGTH;
                    // added to limit expanding in forms. 
                    // If you want full screen use 6 here
                    max_view_height_in_lines = AKNEXQUERY_EDWIN_LINES; 
                    // if you have the line above, you must have this. 
                    // It's calculable from LAF
                    base_line_delta = 21; 
                    };
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_oneline_data_query
//    Resource of 1 line Data Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_oneline_data_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EStaticSizeDataLayout; // EDataLayout;
                label = qtn_aknexquery_data_label_text;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling;// | EEikEdwinResizable;
                    width = AKNEXQUERY_EDWIN_WIDTH;
                    //lines = AKNEXQUERY_ONELINE_DATAQUERY_LINES;
                    maxlength = AKNEXQUERY_EDWIN_MAXLENGTH;
                    // added to limit expanding in forms. 
                    // If you want full screen use 6 here
                    max_view_height_in_lines = AKNEXQUERY_ONELINE_DATAQUERY_LINES; // 6; 
                    // if you have the line above, you must have this. 
                    // It's calculable from LAF
                    base_line_delta = 21; 
                    };
                };
            }
        };
    }


//-----------------------------------------------------------------------------
//
//    r_aknexquery_data_query_limit
//    Resource of Data Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_data_query_limit
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDataLayout;
                label = qtn_aknexquery_data_label_text;
                control = EDWIN
                    {
                    flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable;
                    width = AKNEXQUERY_EDWIN_WIDTH;
                    lines = AKNEXQUERY_EDWIN_LINES;
                    maxlength = AKNEXQUERY_EDWIN_SHORT_MAXLENGTH;
                    };
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_data_query_initial_password
//    Initial Text of password Query
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF8 r_aknexquery_data_query_initial_password
    {
    buf = qtn_aknexquery_initial_password;
    }


//-----------------------------------------------------------------------------
//
//    r_aknexquery_data_query_initial_text
//    Initial Text of Data Query
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF64 r_aknexquery_data_query_initial_text
    {
    buf = qtn_aknexquery_initial_text;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_data_query_initial_long_text
//    Initial Text of Data Query
//
//-----------------------------------------------------------------------------
//
RESOURCE TBUF64 r_aknexquery_data_query_initial_long_text
    {
    buf = qtn_aknexquery_long_text;
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_code_query
//    Resource of Code Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_code_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = ECodeLayout;
                label = qtn_aknexquery_code_label_text;
                control = SECRETED
                    {
                    num_letters = AKNEXQUERY_SECRETED_NUM_LETTERS;
                    };
                };
            }
        };
    }

//-----------------------------------------------------------------------------
//
//    r_aknexquery_date_query
//    Resource of Date Query.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_aknexquery_date_query
    {
    flags = EGeneralQueryFlags;
    buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
    items =
        {
        DLG_LINE
            {
            type = EAknCtQuery;
            id = EGeneralQuery;
            control = AVKON_DATA_QUERY
                {
                layout = EDateLayout;
                label = qtn_aknexquery_date_label_text;
                control = DATE_EDITOR
                    {
                    minDate = DATE
                        {
                        year = AKNEXQUERY_DATE_EDITOR_MIN_DATE;
                        };
                    maxDate = DATE
                        {
                        year = AKNEXQUERY_DATE_EDITOR_MAX_DATE;

⌨️ 快捷键说明

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