[TD]improve handling of View in multiple Pages

This commit is contained in:
Wanderer Fan
2022-01-10 10:08:53 -05:00
committed by WandererFan
parent 37ac9f4d24
commit f6653d44af
5 changed files with 106 additions and 7 deletions

View File

@@ -23,6 +23,8 @@
#ifndef _DrawView_h_
#define _DrawView_h_
#include <Mod/TechDraw/TechDrawGlobal.h>
#include <boost_signals2.hpp>
#include <QCoreApplication>
@@ -85,6 +87,7 @@ public:
virtual PyObject *getPyObject(void) override;
virtual DrawPage* findParentPage() const;
virtual std::vector<DrawPage*> findAllParentPages() const;
virtual int countParentPages() const;
virtual QRectF getRect() const; //must be overridden by derived class
virtual double autoScale(void) const;