void AiView::makeUpdate ( QImage &  image,
bool  undo 
)

updating view by using a binary image (bytes from QImage)

Parameters:
image : image byes
undo : allow to add image to undo framework

Definition at line 171 of file aiview.cpp.

00172 {
00173     m_image = image;
00174     this->resize( widthView(m_image.width()) , heightView(m_image.height()) );
00175     this->update();
00176 
00177     if ( undo && !m_image.isNull() )
00178     {
00179         AiCommand * cmd = new AiCommand(m_image, this);
00180         this->stack->push( cmd );
00181         cmd->id( stack->count() - 1 );
00182     }
00183 }

 All Classes Namespaces Files Functions Variables Typedefs

Generated on Sat Feb 27 08:33:25 2010 for AiFractals by  doxygen 1.6.1