Commit a3da7b9b authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

web menu

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@59440 954022d7-b5bf-4e40-9824-e11837661b57
parent 1bee719e
......@@ -8,7 +8,7 @@
#include <QPaintEvent>
#include <QGLWidget>
//#define _USE_WEB_MENU_
#define _USE_WEB_MENU_
#ifdef _USE_WEB_MENU_
#include <QGraphicsView>
......@@ -166,8 +166,8 @@ public:
settings->setOfflineStorageDefaultQuota(5*1024*1024);
settings->setOfflineWebApplicationCacheQuota(5*1024*1024);
QString sMenu = "file:///D:/Office/Application/apps/api/documents/index.html";
QString sFile = "?url=file:///D:/Office/Application/sdk/Word/document/";
QString sMenu = "file:///E:/Office/Application/apps/api/documents/index.html";
QString sFile = "?url=file:///E:/Office/Application/sdk/Word/document/";
QString sFullUrl = sMenu + sFile;
QUrl url = sFullUrl;
......@@ -302,15 +302,7 @@ public:
return;
}
m_pScene->LockGL();
m_pWidget->makeCurrent();
QGraphicsView::paintEvent(event);
//m_pWidget->doneCurrent();
m_pScene->UnlockGL();
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment