-// Copyright (C) 2013-2016 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2013-2024 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
#include "GraphicsView_Defs.h"
#include <QGraphicsView>
+#include <QPainterPath>
class QGridLayout;
class QRubberBand;
DraggingByMiddleButton = 0x0010,
ImmediateContextMenu = 0x0020,
ImmediateSelection = 0x0040,
- Sketching = 0x0080
+ Sketching = 0x0080,
+
+ GlobalWheelScaling = 0x0100
};
Q_DECLARE_FLAGS( InteractionFlags, InteractionFlag )
public:
GraphicsView_ViewPort( QWidget* theParent );
- virtual ~GraphicsView_ViewPort();
+ ~GraphicsView_ViewPort();
public:
GraphicsView_Scene* getScene() { return myScene; }
QImage dumpView( bool theWholeScene = false,
QSizeF theSize = QSizeF() );
- bool dumpViewToPSFormat(const QString& fileName);
+ bool dumpViewToFormat(const QString& fileName, const QString& format);
public:
// scene