mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#6320 Refactor of PdmScripting
* Make base class abstract * Implement support for IOHandling for PdmChild and PdmChildArray fields
This commit is contained in:
1 parent
2ec5f83dad
commit
f82b2f73ec
107 files changed
+1492
-1113
No files matched your search
@@ -21,7 +21,7 @@
|
||||
|
||||
#include "RiuMainWindow.h"
|
||||
|
||||
#include "cafPdmFieldIOScriptability.h"
|
||||
#include "cafPdmFieldScriptingCapability.h"
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RicfSetMainWindowSize, "setMainWindowSize" );
|
||||
|
||||
@@ -30,8 +30,8 @@ CAF_PDM_SOURCE_INIT( RicfSetMainWindowSize, "setMainWindowSize" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicfSetMainWindowSize::RicfSetMainWindowSize()
|
||||
{
|
||||
CAF_PDM_InitScriptableFieldWithIO( &m_height, "height", -1, "Height", "", "", "" );
|
||||
CAF_PDM_InitScriptableFieldWithIO( &m_width, "width", -1, "Width", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_height, "height", -1, "Height", "", "", "" );
|
||||
CAF_PDM_InitScriptableField( &m_width, "width", -1, "Width", "", "", "" );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user