Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ViewPort.h
diff --git
a/src/XGUI/XGUI_ViewPort.h
b/src/XGUI/XGUI_ViewPort.h
index 5d73031a1605825dceac5624a8f84ba057fd6f1a..fa4104508146186d34225fd27926d5dbb23209c7 100644
(file)
--- a/
src/XGUI/XGUI_ViewPort.h
+++ b/
src/XGUI/XGUI_ViewPort.h
@@
-1,6
+1,7
@@
#ifndef XGUI_ViewPort_H
#define XGUI_ViewPort_H
#ifndef XGUI_ViewPort_H
#define XGUI_ViewPort_H
+#include "XGUI.h"
#include "XGUI_ViewBackground.h"
#include <QWidget>
#include "XGUI_ViewBackground.h"
#include <QWidget>
@@
-10,7
+11,7
@@
class XGUI_ViewWindow;
class XGUI_ViewWindow;
-class XGUI_ViewPort: public QWidget
+class XGUI_
EXPORT XGUI_
ViewPort: public QWidget
{
Q_OBJECT
public:
{
Q_OBJECT
public:
@@
-40,7
+41,7
@@
public:
void fitRect(const QRect& rect);
void startZoomAtPoint(int x, int y);
void zoom(int x0, int y0, int x, int y);
void fitRect(const QRect& rect);
void startZoomAtPoint(int x, int y);
void zoom(int x0, int y0, int x, int y);
-
void fitAll(bool theKeepScale = false, bool theWithZ = true, bool theUpd = true);
+ void fitAll(bool theKeepScale = false, bool theWithZ = true, bool theUpd = true);
void setAdvancedZoomingEnabled(const bool theState)
{
void setAdvancedZoomingEnabled(const bool theState)
{
@@
-66,6
+67,7
@@
signals:
void vpMapped();
void vpTransformed();
void vpUpdated();
void vpMapped();
void vpTransformed();
void vpUpdated();
+ void resized();
protected:
virtual void paintEvent(QPaintEvent*);
protected:
virtual void paintEvent(QPaintEvent*);