Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/d3ca55c9a16f023698bfe66b4633798f42e0f773
You should set ROOT_URL correctly, otherwise the web may not work correctly.
11 changed files with
2 additions and
45 deletions
src/board/UBBoardController.cpp
src/board/UBBoardController.h
src/board/UBBoardPaletteManager.cpp
src/board/UBBoardPaletteManager.h
src/core/UBApplication.cpp
src/document/UBDocumentProxy.cpp
src/document/UBDocumentProxy.h
src/domain/UBGraphicsScene.cpp
src/domain/UBGraphicsScene.h
src/gui/UBCachePropertiesWidget.cpp
src/gui/UBCachePropertiesWidget.h
@ -1888,10 +1888,7 @@ void UBBoardController::updateSystemScaleFactor()
}
if ( mSystemScaleFactor ! = newScaleFactor )
{
mSystemScaleFactor = newScaleFactor ;
emit systemScaleFactorChanged ( newScaleFactor ) ;
}
UBGraphicsScene : : SceneViewState viewState = mActiveScene - > viewState ( ) ;
@ -1956,13 +1953,8 @@ void UBBoardController::setPageSize(QSize newSize)
void UBBoardController : : notifyCache ( bool visible )
{
if ( visible )
{
emit cacheEnabled ( ) ;
}
else
{
emit cacheDisabled ( ) ;
}
mCacheWidgetIsEnabled = visible ;
}
@ -149,7 +149,7 @@ class UBBoardController : public UBDocumentContainer
void setBoxing ( QRect displayRect ) ;
void setToolbarTexts ( ) ;
static QUrl expandWidgetToTempDir ( const QByteArray & pZipedData , const QString & pExtension = QString ( " wgt " ) ) ;
// static QRect freeRectInGlobalPos() const {return ;}
void setPageSize ( QSize newSize ) ;
UBBoardPaletteManager * paletteManager ( )
{
@ -239,12 +239,10 @@ class UBBoardController : public UBDocumentContainer
void newPageAdded ( ) ;
void activeSceneChanged ( ) ;
void zoomChanged ( qreal pZoomFactor ) ;
void systemScaleFactorChanged ( qreal pSystemScaleFactor ) ;
void penColorChanged ( ) ;
void controlViewportChanged ( ) ;
void backgroundChanged ( ) ;
void cacheEnabled ( ) ;
void cacheDisabled ( ) ;
void documentReorganized ( int index ) ;
void displayMetadata ( QMap < QString , QString > metadata ) ;
void pageSelectionChanged ( int index ) ;
@ -821,8 +821,6 @@ void UBBoardPaletteManager::changeMode(eUBDockPaletteWidgetMode newMode, bool is
if ( ! isInit )
UBApplication : : boardController - > notifyPageChanged ( ) ;
emit signal_changeMode ( newMode ) ;
}
void UBBoardPaletteManager : : addItem ( const QPixmap & pPixmap , const QPointF & pos , qreal scaleFactor , const QUrl & sourceUrl )
@ -970,11 +968,6 @@ void UBBoardPaletteManager::changeStylusPaletteOrientation(QVariant var)
}
void UBBoardPaletteManager : : connectToDocumentController ( )
{
emit connectToDocController ( ) ;
}
void UBBoardPaletteManager : : refreshPalettes ( )
{
mRightPalette - > update ( ) ;
@ -64,7 +64,6 @@ class UBBoardPaletteManager : public QObject
UBActionPalette * addItemPalette ( ) { return mAddItemPalette ; }
void showVirtualKeyboard ( bool show = true ) ;
void initPalettesPosAtStartup ( ) ;
void connectToDocumentController ( ) ;
void refreshPalettes ( ) ;
UBKeyboardPalette * mKeyboardPalette ;
@ -79,10 +78,6 @@ class UBBoardPaletteManager : public QObject
void startDownloads ( ) ;
void stopDownloads ( ) ;
signals :
void connectToDocController ( ) ;
void signal_changeMode ( eUBDockPaletteWidgetMode newMode ) ;
public slots :
void activeSceneChanged ( ) ;
@ -317,8 +317,6 @@ int UBApplication::exec(const QString& pFileToImport)
webController = new UBWebController ( mainWindow ) ;
documentController = new UBDocumentController ( mainWindow ) ;
boardController - > paletteManager ( ) - > connectToDocumentController ( ) ;
UBDrawingController : : drawingController ( ) - > setStylusTool ( ( int ) UBStylusTool : : Pen ) ;
applicationController = new UBApplicationController ( boardController - > controlView ( ) ,
@ -188,8 +188,6 @@ void UBDocumentProxy::setDefaultDocumentSize(QSize pSize)
if ( defaultDocumentSize ( ) ! = pSize )
{
setMetaData ( UBSettings : : documentSize , QVariant ( pSize ) ) ;
emit defaultDocumentSizeChanged ( ) ;
mIsModified = true ;
}
}
@ -76,9 +76,6 @@ class UBDocumentProxy : public QObject
int incPageCount ( ) ;
int decPageCount ( ) ;
signals :
void defaultDocumentSizeChanged ( ) ;
private :
void init ( ) ;
@ -2075,11 +2075,9 @@ void UBGraphicsScene::setNominalSize(const QSize& pSize)
if ( nominalSize ( ) ! = pSize )
{
mNominalSize = pSize ;
emit pageSizeChanged ( ) ;
if ( mDocument )
mDocument - > setDefaultDocumentSize ( pSize ) ;
}
}
@ -339,10 +339,6 @@ public slots:
void zoomOutMagnifier ( ) ;
void resizedMagnifier ( qreal newPercent ) ;
signals :
void pageSizeChanged ( ) ;
protected :
UBGraphicsPolygonItem * lineToPolygonItem ( const QLineF & pLine , const qreal & pWidth ) ;
@ -241,11 +241,6 @@ void UBCachePropertiesWidget::onCloseClicked()
UBApplication : : boardController - > activeScene ( ) - > removeItem ( mpCurrentCache ) ;
mpCurrentCache = NULL ;
if ( mCaches . empty ( ) )
{
emit cacheListEmpty ( ) ;
}
emit hideTab ( this ) ;
}
}
@ -52,9 +52,6 @@ public:
public slots :
void updateCurrentCache ( ) ;
signals :
void cacheListEmpty ( ) ;
private slots :
void onCloseClicked ( ) ;
void updateCacheColor ( QColor color ) ;