mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-02 02:47:48 +02:00
Fixed Qt-less LayoutView (removed QWidget as base class which is no longer true)
This commit is contained in:
@@ -33,13 +33,6 @@
|
||||
#include "dbLayoutVsSchematic.h"
|
||||
#include "tlStream.h"
|
||||
|
||||
#if defined(HAVE_QTBINDINGS)
|
||||
# include "gsiQtGuiExternals.h"
|
||||
# include "gsiQtWidgetsExternals.h" // for Qt5
|
||||
#else
|
||||
# define QT_EXTERNAL_BASE(x)
|
||||
#endif
|
||||
|
||||
namespace gsi
|
||||
{
|
||||
|
||||
@@ -466,11 +459,7 @@ static lay::AbstractMenu *menu (lay::LayoutViewBase *view)
|
||||
return view->menu ();
|
||||
}
|
||||
|
||||
#if defined(HAVE_QT)
|
||||
LAYBASIC_PUBLIC Class<lay::LayoutViewBase> decl_LayoutViewBase (QT_EXTERNAL_BASE (QWidget) "lay", "LayoutViewBase",
|
||||
#else
|
||||
LAYBASIC_PUBLIC Class<lay::LayoutViewBase> decl_LayoutViewBase (QT_EXTERNAL_BASE (QWidget) "lay", "LayoutViewBase",
|
||||
#endif
|
||||
LAYBASIC_PUBLIC Class<lay::LayoutViewBase> decl_LayoutViewBase ("lay", "LayoutViewBase",
|
||||
gsi::constant ("LV_NoLayers", (unsigned int) lay::LayoutViewBase::LV_NoLayers,
|
||||
"@brief With this option, no layers view will be provided (see \\layer_control_frame)\n"
|
||||
"Use this value with the constructor's 'options' argument.\n"
|
||||
|
||||
Reference in New Issue
Block a user