C++ (Qt)void PdfPreview::run(){ while(!obj->pageList.isEmpty()){ if(!m_stopped){ obj->displayPage(obj->pageList.at(0),m_dpi); obj->pageList.removeAt(0); }//if m_stoped else{break;} }//while }//run
C++ (Qt)if ( fsize > 0){m_painter-> drawText (QPointF(x1,y1), str );}