vlc_linux/vlc-3.0.16/modules/gui/qt/util/pictureflow.cpp
/*!
    Sets the \a model.

    \bold {Note:} The view does not take ownership of the model unless it is the
    model's parent object because it may be shared between many different views.
 */
Sets the \a model.
\bold {Note:} The view does not take ownership of the model unless it is the
model's parent object because it may be shared between many different views.
Sets the \ a model . \ bold { Note : } The view does not take ownership of the model unless it is the model ' s parent object because it may be shared between many different views .
void PictureFlow::setModel(QAbstractItemModel * model)
{
    d->setModel(model);
    d->state->reset();
    d->state->reposition();
    d->renderer->init();
    triggerRender();
}
void PictureFlow :: setModel ( QAbstractItemModel * model ) { d -> setModel ( model ) ; d -> state -> reset ( ) ; d -> state -> reposition ( ) ; d -> renderer -> init ( ) ; triggerRender ( ) ; }
Sets the \a model.
Sets the \ a model .
//d->state->model=(VLCModel*)model;