This commit is contained in:
Matthias Koefferlein
2022-05-01 21:56:47 +02:00
parent 48f5f95a8f
commit e49b9a5e8a
96 changed files with 384 additions and 290 deletions
@@ -494,9 +494,9 @@ public:
// .. nothing yet ..
}
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutView *view) const
{
return new BooleanOperationsPlugin (root, view->ui ());
return new BooleanOperationsPlugin (root, view);
}
};
@@ -103,9 +103,9 @@ public:
// .. nothing yet ..
}
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutView *view) const
{
return new DiffPlugin (root, view->ui ());
return new DiffPlugin (root, view);
}
};
@@ -76,9 +76,9 @@ public:
menu_entries.push_back (lay::menu_item ("lay::edit_layer_stack", "edit_layer_stack", "tools_menu.end", tl::to_string (QObject::tr ("Edit Layer Stack"))));
}
virtual lay::Plugin *create_plugin (db::Manager * /*manager*/, lay::Dispatcher *root, lay::LayoutViewBase *view) const
virtual lay::Plugin *create_plugin (db::Manager * /*manager*/, lay::Dispatcher *root, lay::LayoutView *view) const
{
return new NetTracerDialog (root, view->ui ());
return new NetTracerDialog (root, view);
}
};
@@ -67,7 +67,7 @@ public:
// .. nothing yet ..
}
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutView *view) const
{
return new D25View (root, view);
}
@@ -38,7 +38,7 @@ namespace lay
const double initial_elevation = 15.0;
D25View::D25View (lay::Dispatcher *root, LayoutViewBase *view)
D25View::D25View (lay::Dispatcher *root, LayoutView *view)
: lay::Browser (root, view, "d25_view"),
dm_rerun_macro (this, &D25View::rerun_macro),
dm_fit (this, &D25View::fit)
@@ -57,7 +57,7 @@ class D25View
Q_OBJECT
public:
D25View (lay::Dispatcher *root, lay::LayoutViewBase *view);
D25View (lay::Dispatcher *root, lay::LayoutView *view);
~D25View ();
virtual void menu_activated (const std::string &symbol);
@@ -711,7 +711,7 @@ D25ViewWidget::finish ()
}
void
D25ViewWidget::attach_view (LayoutViewBase *view)
D25ViewWidget::attach_view (LayoutView *view)
{
mp_view = view;
}
@@ -57,7 +57,7 @@ namespace tl
namespace lay
{
class LayoutViewBase;
class LayoutView;
class LayerPropertiesNode;
class D25ViewWidget;
@@ -106,7 +106,7 @@ public:
void mouseReleaseEvent (QMouseEvent *event);
void mouseMoveEvent (QMouseEvent *event);
void attach_view(lay::LayoutViewBase *view);
void attach_view(lay::LayoutView *view);
QVector3D hit_point_with_scene(const QVector3D &line_dir);
void refresh ();
@@ -187,7 +187,7 @@ private:
double m_scale_factor;
double m_vscale_factor;
QVector3D m_displacement;
lay::LayoutViewBase *mp_view;
lay::LayoutView *mp_view;
db::DBox m_bbox;
double m_zmin, m_zmax;
bool m_zset;
@@ -111,9 +111,9 @@ public:
// .. nothing yet ..
}
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutViewBase *view) const
lay::Plugin *create_plugin (db::Manager *, lay::Dispatcher *root, lay::LayoutView *view) const
{
return new XORPlugin (root, view->ui ());
return new XORPlugin (root, view);
}
};