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

📄 qimageconsumer.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QImageConsumer 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQImageConsumer \- An abstraction used by QImageDecoder.SH SYNOPSIS.br.PP\fC#include <qasyncimageio.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "virtual void \fBend\fR () ".br.ti -1c.BI "virtual void \fBchanged\fR ( const QRect & ) ".br.ti -1c.BI "virtual void \fBframeDone\fR () ".br.ti -1c.BI "virtual void \fBframeDone\fR ( const QPoint &, const QRect & ) ".br.ti -1c.BI "virtual void \fBsetLooping\fR ( int ) ".br.ti -1c.BI "virtual void \fBsetFramePeriod\fR ( int ) ".br.ti -1c.BI "virtual void \fBsetSize\fR ( int, int ) ".br.in -1c.SH DESCRIPTIONAn abstraction used by QImageDecoder..PPA QImageConsumer consumes information about changes to the QImage maintained by a QImageDecoder. It represents the a view of the image which the decoder produces..PPSee also QImageDecoder..SH MEMBER FUNCTION DOCUMENTATION.SH "void QImageConsumer::changed ( const QRect & ) \fC[virtual]\fR"Called when the given area of the image has changed..SH "void QImageConsumer::end () \fC[virtual]\fR"Called when all data of all frames has been decoded and revealed as changed()..SH "void QImageConsumer::frameDone () \fC[virtual]\fR"One of the two frameDone() functions will be called when a frame of an animated image has ended and been revealed as changed()..PPWhen this function is called, the current image should be displayed..PPThe decoder will not make any further changes to the image until the next call to QImageFormat::decode()..SH "void QImageConsumer::frameDone ( const QPoint & offset, const QRect & rect ) \fC[virtual]\fR"One of the two frameDone() functions will be called when a frame of an animated image has ended and been revealed as changed()..PPWhen this function is called, the area \fIrect\fR in the current image should be moved by \fIoffset\fR and displayed..PPThe decoder will not make any further changes to the image until the next call to QImageFormat::decode()..SH "void QImageConsumer::setFramePeriod ( int milliseconds ) \fC[virtual]\fR"Notes that the frame about to be decoded should not be displayed until the given number of \fImilliseconds\fR after the time that this function is called. Of course, the image may not have been decoded by then, in which case the frame should not be displayed until it is complete. A value of -1 (the assumed default) indicates that the image should be displayed even while it is only partially loaded..SH "void QImageConsumer::setLooping ( int n ) \fC[virtual]\fR"Called to indicate that the sequence of frames in the image should be repeated \fIn\fR times, including the sequence during decoding..TP0 = Forever.TP1 = Only display frames the first time through.TP2 = Repeat once after first pass through images.TPetc..PPTo make the QImageDecoder do this just delete it and pass the information to it again for decoding (setLooping() will be called again of course, but that can be ignored), or keep copies of the changed areas at the ends of frames..SH "void QImageConsumer::setSize ( int, int ) \fC[virtual]\fR"This function is called as soon as the size of the image hasbeen determined..SH "SEE ALSO".BR http://doc.trolltech.com/qimageconsumer.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

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