void Image_Base::Load_Connector()
{
scroll
->setBackgroundRole
(QPalette::Dark);
scroll->setMinimumWidth(500);
flow = new FlowLayout(wrapper);
comio = new Comandi();
comio->SetName(nomefilmopersona);
connect(comio , SIGNAL(SaveFakes()), this, SLOT(ReSaveOnDb() ) );
flow ->addWidget(comio);
wrapper->setLayout(flow);
scroll->setWidget(wrapper);
connect(curl , SIGNAL(OneFilePutEnd(bool) ), this, SLOT(SenderOnePutBack(bool) ) );
connect(curl ,
SIGNAL(ErrorCurl
(QString) ),
this,
SLOT(CurlMistake
(QString) ) );
connect(curl, SIGNAL(NextGrabList(int)), this, SLOT(ImageLoadPosition(int)));
////////////connect(curl, SIGNAL(ErrorCurl(QString)), this, SLOT(SegnalaErrore(QString)));
}
void Image_Base::Load_Connector()
{
scroll = new QScrollArea(this);
scroll->setBackgroundRole(QPalette::Dark);
scroll->setMinimumWidth(500);
wrapper = new QWidget(this);
flow = new FlowLayout(wrapper);
comio = new Comandi();
comio->SetName(nomefilmopersona);
connect(comio , SIGNAL(NewIImage(QString,QString)), this, SLOT(AppendImage(QString,QString) ) );
connect(comio , SIGNAL(SaveFakes()), this, SLOT(ReSaveOnDb() ) );
flow ->addWidget(comio);
wrapper->setLayout(flow);
scroll->setWidget(wrapper);
connect(curl , SIGNAL(OneFilePutEnd(bool) ), this, SLOT(SenderOnePutBack(bool) ) );
connect(curl , SIGNAL(ErrorCurl(QString) ), this, SLOT(CurlMistake(QString) ) );
connect(curl, SIGNAL(NextGrabList(int)), this, SLOT(ImageLoadPosition(int)));
////////////connect(curl, SIGNAL(ErrorCurl(QString)), this, SLOT(SegnalaErrore(QString)));
}
To copy to clipboard, switch view to plain text mode
Bookmarks