74 LOG4CPP_INFO_S ((*mainCat)) <<
"LoadImageFromUrl::startLoadImage url=" << url.toString ().toLatin1 ().data ();
77 if (url.isLocalFile ()) {
79 QFileInfo fileInfo (url.toLocalFile ());
83 if (image.load (url.toLocalFile ())) {
93 QTextStream str (&message);
95 str << tr (
"Unable to load image from") <<
" " << url.toLocalFile ();
97 QMessageBox::critical (&m_mainWindow,
107 m_buffer =
new QByteArray;
108 QNetworkRequest request (url);
109 m_reply = m_http.get (request);
111 connect (m_reply, SIGNAL (readyRead()),
this, SLOT (slotReadData()));
112 connect (m_reply, SIGNAL (finished ()),
this, SLOT (slotFinished ()));
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...