FeatureWidget is in master now

preferencesAboutTextFull
Ivan Ilyin 13 years ago
parent eaff36a953
commit 8be4c32bd8
  1. 1
      Sankore_3.1.pro
  2. 7
      src/board/UBBoardPaletteManager.cpp
  3. 2
      src/domain/UBGraphicsScene.cpp
  4. 6
      src/gui/UBMagnifer.cpp
  5. 3
      src/gui/UBThumbnailWidget.cpp

@ -367,6 +367,7 @@ linux-g++-32 {
linux-g++-64 { linux-g++-64 {
LIBS += -lcrypto LIBS += -lcrypto
LIBS += -lX11
QMAKE_CFLAGS += -fopenmp QMAKE_CFLAGS += -fopenmp
QMAKE_CXXFLAGS += -fopenmp QMAKE_CXXFLAGS += -fopenmp
QMAKE_LFLAGS += -fopenmp QMAKE_LFLAGS += -fopenmp

@ -158,8 +158,11 @@ void UBBoardPaletteManager::setupDockPaletteWidgets()
mRightPalette->registerWidget(mpFeaturesWidget); mRightPalette->registerWidget(mpFeaturesWidget);
mRightPalette->addTab(mpFeaturesWidget); mRightPalette->addTab(mpFeaturesWidget);
mRightPalette->registerWidget(mpLibWidget); //Do not show deprecated lib widget to prevent collisions. Uncomment to return lib widget
mRightPalette->addTab(mpLibWidget); // mRightPalette->registerWidget(mpLibWidget);
// mRightPalette->addTab(mpLibWidget);
// The cache widget will be visible only if a cache is put on the page // The cache widget will be visible only if a cache is put on the page
mRightPalette->registerWidget(mpCachePropWidget); mRightPalette->registerWidget(mpCachePropWidget);

@ -256,6 +256,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent)
, mDocument(parent) , mDocument(parent)
, mDarkBackground(false) , mDarkBackground(false)
, mCrossedBackground(false) , mCrossedBackground(false)
, mIsDesktopMode(false)
, mIsModified(true) , mIsModified(true)
, mBackgroundObject(0) , mBackgroundObject(0)
, mPreviousWidth(0) , mPreviousWidth(0)
@ -269,7 +270,6 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent)
, magniferControlViewWidget(0) , magniferControlViewWidget(0)
, magniferDisplayViewWidget(0) , magniferDisplayViewWidget(0)
, mZLayerController(new UBZLayerController(this)) , mZLayerController(new UBZLayerController(this))
, mIsDesktopMode(false)
, mpLastPolygon(NULL) , mpLastPolygon(NULL)
{ {
UBCoreGraphicsScene::setObjectName("BoardScene"); UBCoreGraphicsScene::setObjectName("BoardScene");

@ -314,9 +314,6 @@ void UBMagnifier::grabPoint()
QPointF pfScLtF(UBApplication::boardController->controlView()->mapToScene(QPoint(itemPos.x(), itemPos.y()))); QPointF pfScLtF(UBApplication::boardController->controlView()->mapToScene(QPoint(itemPos.x(), itemPos.y())));
QRect magnifierRect = rect();
float x = pfScLtF.x() - zWidthHalf; float x = pfScLtF.x() - zWidthHalf;
float y = pfScLtF.y() - zHeightHalf; float y = pfScLtF.y() - zHeightHalf;
@ -351,9 +348,6 @@ void UBMagnifier::grabPoint(const QPoint &pGrab)
QPointF pfScLtF(UBApplication::boardController->controlView()->mapToScene(QPoint(itemPos.x(), itemPos.y()))); QPointF pfScLtF(UBApplication::boardController->controlView()->mapToScene(QPoint(itemPos.x(), itemPos.y())));
QRect magnifierRect = rect();
float x = pfScLtF.x() - zWidthHalf; float x = pfScLtF.x() - zWidthHalf;
float y = pfScLtF.y() - zHeightHalf; float y = pfScLtF.y() - zHeightHalf;

@ -32,8 +32,9 @@ UBThumbnailWidget::UBThumbnailWidget(QWidget* parent)
, mSpacing(UBSettings::thumbnailSpacing) , mSpacing(UBSettings::thumbnailSpacing)
, mLastSelectedThumbnail(0) , mLastSelectedThumbnail(0)
, mSelectionSpan(0) , mSelectionSpan(0)
, mLassoRectItem(0)
, mPrevLassoRect(QRect()) , mPrevLassoRect(QRect())
, mLassoRectItem(0)
{ {
// By default, the drag is possible // By default, the drag is possible
bCanDrag = true; bCanDrag = true;

Loading…
Cancel
Save