77 LOG4CPP_INFO_S ((*
mainCat)) <<
"LoadImageFromUrl::startLoadImage url=" << url.toString ().toLatin1 ().data ();
80 if (url.isLocalFile ()) {
96 QTextStream str (&message);
98 str << tr (
"Unable to load image from") <<
" " << url.
toLocalFile ();
100 QMessageBox::critical (&m_mainWindow,
112 m_buffer =
new QByteArray;
113 QNetworkRequest request (url);
114 m_reply = m_http.get (request);
116 connect (m_reply, SIGNAL (readyRead()),
this, SLOT (slotReadData()));
117 connect (m_reply, SIGNAL (finished ()),
this, SLOT (slotFinished ()));
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...