mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-07 03:21:34 +02:00
Replaced patch by generated code
The Qt4/5 bindings are generated automatically. Hence any manual patches are bound to become lost on the next generation run. This commit removes symbols which are not available on MacOS by a code-generation solution. These symbols are only required for WindowsCE so their unavailability on other systems is not a big loss.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
# drops enum members
|
||||
drop_enum_const "Qt", /WindowType::WindowSoftkeysVisibleHint/
|
||||
drop_enum_const "Qt", /WindowType::WindowSoftkeysRespondHint/
|
||||
drop_enum_const "Qt", /WindowType::WindowOkButtonHint/ # only available on CE
|
||||
drop_enum_const "Qt", /WindowType::WindowCancelButtonHint/ # only available on CE
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# QtCore
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
# drops enum members
|
||||
drop_enum_const "Qt", /WindowType::WindowSoftkeysVisibleHint/
|
||||
drop_enum_const "Qt", /WindowType::WindowSoftkeysRespondHint/
|
||||
drop_enum_const "Qt", /WindowType::WindowOkButtonHint/ # only available on CE
|
||||
drop_enum_const "Qt", /WindowType::WindowCancelButtonHint/ # only available on CE
|
||||
|
||||
# --------------------------------------------------------------
|
||||
# QtCore
|
||||
|
||||
@@ -453,9 +453,7 @@ static gsi::Enum<Qt::WindowType> decl_Qt_WindowType_Enum ("Qt_WindowType",
|
||||
gsi::enum_const ("WindowStaysOnBottomHint", Qt::WindowStaysOnBottomHint, "@brief Enum constant Qt::WindowStaysOnBottomHint") +
|
||||
gsi::enum_const ("WindowCloseButtonHint", Qt::WindowCloseButtonHint, "@brief Enum constant Qt::WindowCloseButtonHint") +
|
||||
gsi::enum_const ("MacWindowToolBarButtonHint", Qt::MacWindowToolBarButtonHint, "@brief Enum constant Qt::MacWindowToolBarButtonHint") +
|
||||
gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget") +
|
||||
gsi::enum_const ("WindowOkButtonHint", Qt::WindowOkButtonHint, "@brief Enum constant Qt::WindowOkButtonHint") +
|
||||
gsi::enum_const ("WindowCancelButtonHint", Qt::WindowCancelButtonHint, "@brief Enum constant Qt::WindowCancelButtonHint"),
|
||||
gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget"),
|
||||
"@qt\n@brief This class represents the Qt::WindowType enum");
|
||||
|
||||
static gsi::QFlagsClass<Qt::WindowType > decl_Qt_WindowType_Enums ("Qt_QFlags_WindowType",
|
||||
|
||||
@@ -21,9 +21,9 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* @file gsiDeclQt_4.cc
|
||||
* @file gsiDeclQt_4.cc
|
||||
*
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* DO NOT EDIT THIS FILE.
|
||||
* This file has been created automatically
|
||||
*/
|
||||
|
||||
@@ -153,15 +153,7 @@ static gsi::Enum<Qt::WindowType> decl_Qt_WindowType_Enum ("Qt_WindowType",
|
||||
gsi::enum_const ("MacWindowToolBarButtonHint", Qt::MacWindowToolBarButtonHint, "@brief Enum constant Qt::MacWindowToolBarButtonHint") +
|
||||
gsi::enum_const ("BypassGraphicsProxyWidget", Qt::BypassGraphicsProxyWidget, "@brief Enum constant Qt::BypassGraphicsProxyWidget") +
|
||||
gsi::enum_const ("NoDropShadowWindowHint", Qt::NoDropShadowWindowHint, "@brief Enum constant Qt::NoDropShadowWindowHint") +
|
||||
#if defined(__APPLE__)
|
||||
// Qt::WindowOkButtonHint and Qt::WindowCancelButtonHint are supported for Windows CE.
|
||||
// By Kazunari Sekigawa (December 10, 2017)
|
||||
gsi::enum_const ("WindowFullscreenButtonHint", Qt::WindowFullscreenButtonHint, "@brief Enum constant Qt::WindowFullscreenButtonHint"),
|
||||
#else
|
||||
gsi::enum_const ("WindowFullscreenButtonHint", Qt::WindowFullscreenButtonHint, "@brief Enum constant Qt::WindowFullscreenButtonHint") +
|
||||
gsi::enum_const ("WindowOkButtonHint", Qt::WindowOkButtonHint, "@brief Enum constant Qt::WindowOkButtonHint") +
|
||||
gsi::enum_const ("WindowCancelButtonHint", Qt::WindowCancelButtonHint, "@brief Enum constant Qt::WindowCancelButtonHint"),
|
||||
#endif
|
||||
"@qt\n@brief This class represents the Qt::WindowType enum");
|
||||
|
||||
static gsi::QFlagsClass<Qt::WindowType > decl_Qt_WindowType_Enums ("Qt_QFlags_WindowType",
|
||||
|
||||
Reference in New Issue
Block a user