void AiView::makeUpdate ( QString &  fileName  ) 

updating view from reading a physical image (image path)

Parameters:
fileName : file name path

Definition at line 185 of file aiview.cpp.

00186 {
00187     m_image = QImage( fileName );
00188     this->resize( widthView(m_image.width()) , heightView(m_image.height()) );
00189     this->update();
00190 
00191     if ( !m_image.isNull() )
00192     {
00193         AiCommand * cmd = new AiCommand(m_image, this);
00194         this->stack->push( cmd );
00195         cmd->id( stack->count() - 1 );
00196     }
00197 }

 All Classes Namespaces Files Functions Variables Typedefs

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