mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-01 10:27:53 +02:00
WIP
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "layDispatcher.h"
|
||||
|
||||
#include "layPlugin.h"
|
||||
#include "layLayoutView.h"
|
||||
#include "layLayoutViewBase.h"
|
||||
|
||||
namespace lay
|
||||
{
|
||||
@@ -33,7 +33,7 @@ class DiffPlugin
|
||||
: public lay::Plugin
|
||||
{
|
||||
public:
|
||||
DiffPlugin (Plugin *parent, lay::LayoutView *view)
|
||||
DiffPlugin (Plugin *parent, lay::LayoutViewBase *view)
|
||||
: lay::Plugin (parent), mp_view (view)
|
||||
{
|
||||
mp_dialog = new lay::DiffToolDialog (0);
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
lay::LayoutView *mp_view;
|
||||
lay::LayoutViewBase *mp_view;
|
||||
lay::DiffToolDialog *mp_dialog;
|
||||
};
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "tlTimer.h"
|
||||
#include "tlProgress.h"
|
||||
#include "layCellView.h"
|
||||
#include "layLayoutView.h"
|
||||
#include "layLayoutViewBase.h"
|
||||
#include "tlExceptions.h"
|
||||
|
||||
#include "ui_DiffToolDialog.h"
|
||||
@@ -608,7 +608,7 @@ DiffToolDialog::~DiffToolDialog ()
|
||||
}
|
||||
|
||||
int
|
||||
DiffToolDialog::exec_dialog (lay::LayoutView *view)
|
||||
DiffToolDialog::exec_dialog (lay::LayoutViewBase *view)
|
||||
{
|
||||
mp_view = view;
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Ui
|
||||
|
||||
namespace lay
|
||||
{
|
||||
class LayoutView;
|
||||
class LayoutViewBase;
|
||||
}
|
||||
|
||||
namespace lay
|
||||
@@ -57,7 +57,7 @@ public:
|
||||
DiffToolDialog (QWidget *parent);
|
||||
~DiffToolDialog ();
|
||||
|
||||
int exec_dialog (lay::LayoutView *view);
|
||||
int exec_dialog (lay::LayoutViewBase *view);
|
||||
|
||||
protected slots:
|
||||
void xor_changed () { update (); }
|
||||
@@ -69,7 +69,7 @@ protected:
|
||||
|
||||
private:
|
||||
Ui::DiffToolDialog *mp_ui;
|
||||
lay::LayoutView *mp_view;
|
||||
lay::LayoutViewBase *mp_view;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user