freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

嵌入式linux課程設(shè)計(jì)qt設(shè)計(jì)圖片瀏覽自動(dòng)更新-資料下載頁(yè)

2025-06-17 01:39本頁(yè)面
  

【正文】 s_triggered(){ if(currentFile == ()) currentFile = ()。 currentFile。 DisplayImage(dirCurrentabsoluteFilePath(*currentFile))。 UpdateUI()。}向后翻的實(shí)現(xiàn):void ImageViewer::on_actionNext_triggered(){ currentFile++。 if(currentFile == ()) currentFile = ()。 DisplayImage(dirCurrentabsoluteFilePath(*currentFile))。 UpdateUI()。}顯示時(shí)間更新:void ImageViewer::displayTimerUpdate(){ currentFile++。 // currentFile指向下一張圖片 if(currentFile == ())//邊界檢查 currentFile = ()。 //顯示currentFile所指的圖片 DisplayImage(dirCurrentabsoluteFilePath(*currentFile))。 UpdateUI()。 //更新圖片顯示區(qū)域 automaticTimerstart(displaySpace * 1000)。//重啟定時(shí)器}循環(huán)播放的實(shí)現(xiàn):void ImageViewer::on_actionAutomaticPlay_triggered(){ if(displayLoop == false) //如果不是循環(huán)播放模式 { displayLoop = true。 //設(shè)置為循環(huán)播放模式 automaticTimerstart(displaySpace * 1000)。//啟動(dòng)定時(shí)器 // actionAutomaticPlaysetIcon(QIcon(:/images/))。 } else { displayLoop = false。 automaticTimerstop()。//停止定時(shí)器 // actionAutomaticPlaysetIcon(QIcon(:/images/))。 }} 下載更新void ImageViewer::downloadUpdate(){ downloadTimerstop()。 if(fileListtopLevelItemCount() == advertisementCount) { } else { QString fileName。 //QMessageBox::information(this,tr(topLevelItemCount),QString(%1).arg(fileListtopLevelItemCount()))。 for(int i = 0。 i fileListtopLevelItemCount()。 i++) { fileName = fileListtopLevelItem(i)text(0)。 QFile *file = new QFile(./source/+fileName)。 if(!fileopen(QIODevice::WriteOnly)) { delete file。 return 。 } ftpget(fileListtopLevelItem(i)text(0), file)。 } advertisementCount = fileListtopLevelItemCount()。 //QMessageBox::information(this,tr(advertisementCount),QString(%1).arg(advertisementCount))。 fileListUpdate()。 } fileListclear()。 ftplist()。 downloadTimerstart(5000)。//重啟定時(shí)器} 服務(wù)器列表更新void ImageViewer::fileListUpdate(){ displayFiles = dirCurrententryList(supportFormat,QDir::Files)。 currentFile = ()。 if(currentFile != ()) DisplayImage(dirCurrentabsoluteFilePath(*currentFile))。} 6.功能實(shí)現(xiàn) 圖片功能的實(shí)現(xiàn) 在FTP服務(wù)器上添加添加圖片 瀏覽器自動(dòng)加載服務(wù)器上的圖片 7.總結(jié)通過(guò)這次嵌入式linux程序設(shè)計(jì)和編程,對(duì)linux的編程有了更深的了解。特別是對(duì)QT編程有了很大的進(jìn)步,通過(guò)此次課程設(shè)計(jì)能夠編寫(xiě)FTP以及TCP的客戶(hù)端和服務(wù)器。通過(guò)測(cè)試,編寫(xiě)的程序都能順利運(yùn)行。對(duì)服務(wù)器部分沒(méi)有用QT來(lái)設(shè)計(jì)界面,而是在linux下搭建FTP服務(wù)器,編寫(xiě)的客戶(hù)端的QT程序,能成功仿真運(yùn)行和在ARM板上運(yùn)行。 8.致謝 首先感謝學(xué)院給我們這次嵌入式linux課程設(shè)計(jì)的機(jī)會(huì),同時(shí)也感謝幫組我的老師和同學(xué)。我要感謝學(xué)校為我們配備了自主學(xué)習(xí)中心,讓我有一個(gè)好的學(xué)習(xí)環(huán)境,使我們能夠?qū)P牡膶W(xué)習(xí),仔細(xì)的研究我想要做的事;我要感謝我的父母,他們給了我精神和物質(zhì)的最大的支持,他們給予我希望,讓我有足夠的空間進(jìn)行自我發(fā)揮,去發(fā)展自己的愛(ài)好;我還要感謝我們的老師為我們辛苦的工作,并且耐心的為我們講解,使我們的能更好的理解知識(shí)、并應(yīng)用知識(shí),還為我們的學(xué)習(xí)而加班;最后我要感謝我的同學(xué)們,在學(xué)習(xí)過(guò)程中討論幫助我解決遇到的題,并給我講解,感謝這么多人的支持,才有了我的今天。 9.參考文獻(xiàn)[1] 。華清遠(yuǎn)見(jiàn)嵌入式培訓(xùn)中心。[2] 。
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1