日本黄色一级经典视频|伊人久久精品视频|亚洲黄色色周成人视频九九九|av免费网址黄色小短片|黄色Av无码亚洲成年人|亚洲1区2区3区无码|真人黄片免费观看|无码一级小说欧美日免费三级|日韩中文字幕91在线看|精品久久久无码中文字幕边打电话

當(dāng)前位置:首頁(yè) > 芯聞號(hào) > 充電吧
[導(dǎo)讀] #include void TQmlHelper::makeDoc( QQuickTextDocument* doc) { jAVA_QMessage("開(kāi)始"); QT


#include
void  TQmlHelper::makeDoc(  QQuickTextDocument*   doc)
{


    jAVA_QMessage("開(kāi)始");
    QTextDocument *document =doc->textDocument();
    if(document==NULL)
    {
        jAVA_QMessage("NULL  DOCUMENT");
    }
    QTextBlock  currentBlock = document->begin();
    QTextBlock::iterator it;

    while( true)
    { 
        for (it = currentBlock.begin(); !(it.atEnd()); )
        {
            QTextFragment currentFragment = it.fragment();
            QTextImageFormat newImageFormat = currentFragment.charFormat().toImageFormat();



            if (newImageFormat.isValid()) {
                // 為image
                 jAVA_QMessage(newImageFormat.name());
            }
             ++it;





        }

        currentBlock = currentBlock.next();
        jAVA_QMessage("一循環(huán)");
        if(!currentBlock.isValid())
        {

            break;
        }

    }
}
Rectangle{

    id:sendroot
    xxx..

    property var offsetBeginX: 20
    property var offsetendx: 10
    Rectangle{
        id: flickable
        x:offsetBeginX
        anchors.bottom: parent.bottom
        width: sendroot.width - btn.width -offsetBeginX-offsetendx
        height:edit.focus==true?flick.height:btn.height
        color: "transparent"
        radius: 5
        border.width: 1
        border.color: "#cccccc"
        clip: true
        Flickable{
            id:flick
            width: parent.width
            height: contentHeight>100?100:contentHeight


            contentHeight: edit.height
            TextArea.flickable:   TextArea{ 
                Material.foreground : "#ffffff"
                id:edit
                padding: 0
                width: parent.width
                font.pointSize: 14
                height: contentHeight>btn.height?contentHeight:btn.height
                wrapMode: TextArea.Wrap
                textFormat: TextEdit.RichText
                text:"Hello~~"
                Component.onCompleted: {
                    edit.insert(edit.length,"");

                }


                onTextChanged: {
                    lizi.dodo(20)
                }

                onFocusChanged: {
                    if(focus == true)
                    {
                        cursorPosition = length

                    }
                }

                Lizi{
                    id:lizi
                    x:edit.cursorRectangle.x
                    y:edit.cursorRectangle.y
                    每秒發(fā)射個(gè)數(shù):10
                    初始大小:8
                    大小變化范圍:14
                    初始生命:1000
                    生命變化范圍:500
                    粒子速度:20
                    角度:0
                    角度變化范圍:360
                }
            }


            ScrollBar.vertical: ScrollBar{
                active: true
                pressed: true}
        }

    }

    Ola.Button{

        x:flickable.x+flickable.width + offsetendx
        anchors.bottom: parent.bottom
        id:btn
        text:"發(fā)送"
        isDefault: true
        //        font.bold: true
        //        font.pointSize: 14

        height: 40
        width:  100
        onClicked: {
                myapp.jAVA_QMessage(edit.textDocument);
                myapp.makeDoc(edit.textDocument);
                xxx..
        }
    }

}
本站聲明: 本文章由作者或相關(guān)機(jī)構(gòu)授權(quán)發(fā)布,目的在于傳遞更多信息,并不代表本站贊同其觀點(diǎn),本站亦不保證或承諾內(nèi)容真實(shí)性等。需要轉(zhuǎn)載請(qǐng)聯(lián)系該專(zhuān)欄作者,如若文章內(nèi)容侵犯您的權(quán)益,請(qǐng)及時(shí)聯(lián)系本站刪除( 郵箱:macysun@21ic.com )。
換一批
延伸閱讀

公司憑借其面向地面與非地面網(wǎng)絡(luò)的 AI 驅(qū)動(dòng)、云原生移動(dòng)解決方案的杰出創(chuàng)新斬獲殊榮華盛頓和得克薩斯州理查森, March 31, 2026 (GLOBE NEWSWIRE) -- 致力于構(gòu)建 AI 原生設(shè)計(jì)移動(dòng)網(wǎng)絡(luò)的軟...

關(guān)鍵字: 衛(wèi)星 移動(dòng) 創(chuàng)新獎(jiǎng) NI

前 Amazon Robotics 高管出任全球生產(chǎn)戰(zhàn)略部負(fù)責(zé)人,助力公司擴(kuò)張 休斯敦, April 01, 2026 (GLOBE NEWSWIRE) -- 具身 AI 領(lǐng)域新一代領(lǐng)軍企業(yè)?Persona AI 今...

關(guān)鍵字: VI RS AN AI

可持續(xù)發(fā)展與企業(yè)責(zé)任實(shí)踐再獲國(guó)際資本市場(chǎng)認(rèn)可 香港2026年3月31日 /美通社/ -- 全球領(lǐng)先的互聯(lián)網(wǎng)社區(qū)創(chuàng)建者 - 網(wǎng)龍網(wǎng)絡(luò)控股有限公司 ("網(wǎng)龍"...

關(guān)鍵字: MSC AI 可持續(xù)發(fā)展 網(wǎng)絡(luò)游戲

當(dāng)前,全球半導(dǎo)體競(jìng)爭(zhēng)日益激烈,作為芯片薄膜沉積工藝的核心耗材,高純度靶材的制造水平直接關(guān)系芯片良率,其技術(shù)攻堅(jiān)與產(chǎn)能提升面臨嚴(yán)峻挑戰(zhàn)。近日,江豐電子在年報(bào)中指出,黃湖靶材工廠的建設(shè)穩(wěn)步推進(jìn),成為其高標(biāo)準(zhǔn)產(chǎn)能布局的重要一環(huán)...

關(guān)鍵字: 半導(dǎo)體

2026 年 3 月 31 日,華為投資控股有限公司正式發(fā)布 2025 年年度報(bào)告。

關(guān)鍵字: 華為 2025年年報(bào) AI 云計(jì)算

當(dāng)?shù)貢r(shí)間 3 月 31 日,亞馬遜低軌衛(wèi)星項(xiàng)目Amazon Leo宣布再獲重要突破,正式與美國(guó)達(dá)美航空達(dá)成合作,將為其提供機(jī)上高速互聯(lián)網(wǎng)連接服務(wù),標(biāo)志著亞馬遜正式切入航空互聯(lián)賽道。

關(guān)鍵字: 亞馬遜 Leo 達(dá)美航空 Wi-Fi

都柏林, March 30, 2026 (GLOBE NEWSWIRE) -- 隨著企業(yè)在投資者、監(jiān)管機(jī)構(gòu)以及 ESG 承諾方面面臨的碳足跡減排壓力日益加大,企業(yè)差旅正成為一個(gè)通過(guò)微小運(yùn)營(yíng)調(diào)整即可產(chǎn)生顯著成效的領(lǐng)域。...

關(guān)鍵字: FOR 數(shù)字化 SI ESIM

當(dāng)?shù)貢r(shí)間 3 月 30 日,專(zhuān)注在軌 AI 數(shù)據(jù)中心建設(shè)的美國(guó)初創(chuàng)企業(yè) Starcloud 宣布完成 1.7 億美元融資,投后估值 11 億美元,正式躋身獨(dú)角獸行列。

關(guān)鍵字: 太空數(shù)據(jù)中心 Starcloud AI 數(shù)據(jù)中心

March 30, 2026 ---- 根據(jù)TrendForce集邦咨詢(xún)最新筆電產(chǎn)業(yè)調(diào)查,近期全球筆電出貨量進(jìn)一步出現(xiàn)轉(zhuǎn)弱的跡象,TrendForce集邦咨詢(xún)?cè)陬A(yù)期終端消費(fèi)動(dòng)能趨緩、供應(yīng)鏈成本持續(xù)墊高的雙重影響下,正式更...

關(guān)鍵字: 筆電 供應(yīng)鏈 半導(dǎo)體
關(guān)閉