[Paraview-developers] How do I return data from a property panel?
Joshua Murphy
Joshua.Murphy at lasp.colorado.edu
Fri May 24 15:12:26 EDT 2013
Hi Utkarsh,
Ok, So I have my property panel built. I have generated a list of strings
that I need to get back to my filterŠ How do I go about pushing the data
from the property panel to the filter proper? The examples don't seem to
go into how to actually return the data from the Property panel code.
Some help would be greatly appreciated!
Thanks,
Josh
Joshua J. Murphy
Computer Scientist
Laboratory for Atmospheric and Space Physics
University of Colorado, Boulder
On 5/16/13 11:53 AM, "Utkarsh Ayachit" <utkarsh.ayachit at kitware.com> wrote:
>I think you forgot to "moc" the header. Look at
>Examples/Plugins/PropertyWidgets/CMakeLists.txt.
>
>Utkarsh
>
>On Thu, May 16, 2013 at 1:11 PM, Joshua Murphy
><Joshua.Murphy at lasp.colorado.edu> wrote:
>> Hello,
>>
>> I am trying to create some new Property Widgets for my filter, but I am
>> running into a roadblock on how to actually compile them.
>>
>> I am attempting to compile just a simple widget that doesn't actually do
>> anything, but I am obviously missing a library that needs to be
>>included. I
>> get the following errors when attempting to compile:
>>
>> Undefined symbols for architecture x86_64:
>>
>> "pqPropertyWidget::qt_metacall(QMetaObject::Call, int, void**)",
>>referenced
>> from:
>>
>> scInfoProp::qt_metacall(QMetaObject::Call, int, void**) in
>> moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::qt_metacast(char const*)", referenced from:
>>
>> scInfoProp::qt_metacast(char const*) in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::staticMetaObject", referenced from:
>>
>> scInfoProp::staticMetaObject in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::updateDependentDomains()", referenced from:
>>
>> vtable for scInfoProp in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::apply()", referenced from:
>>
>> vtable for scInfoProp in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::reset()", referenced from:
>>
>> vtable for scInfoProp in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::setView(pqView*)", referenced from:
>>
>> vtable for scInfoProp in moc_scInfoProp.cxx.o
>>
>> "pqPropertyWidget::pqPropertyWidget(vtkSMProxy*, QWidget*)", referenced
>> from:
>>
>> scInfoProp::scInfoProp(vtkSMProxy*, vtkSMPropertyGroup*, QWidget*) in
>> scInfoProp.cpp.o
>>
>> "pqPropertyWidget::~pqPropertyWidget()", referenced from:
>>
>> scInfoProp::~scInfoProp() in scInfoProp.cpp.o
>>
>> "typeinfo for pqPropertyWidget", referenced from:
>>
>> typeinfo for scInfoProp in moc_scInfoProp.cxx.o
>>
>> ld: symbol(s) not found for architecture x86_64
>>
>> clang: error: linker command failed with exit code 1 (use -v to see
>> invocation)
>>
>> make[2]: *** [libSpaceCraftInfoSMPlugin.dylib] Error 1
>>
>> make[1]: *** [CMakeFiles/SpaceCraftInfoSMPlugin.dir/all] Error 2
>>
>> make: *** [all] Error 2
>>
>> 11:03:03: The process "/usr/bin/make" exited with code 2.
>>
>>
>>
>> Could someone let me know what I need to add to my CMakeLists.txt file
>>to
>> get this to compile?
>>
>> Thanks,
>> Josh
>>
>> _______________________________________________
>> Paraview-developers mailing list
>> Paraview-developers at paraview.org
>> http://public.kitware.com/mailman/listinfo/paraview-developers
>>
>_______________________________________________
>Paraview-developers mailing list
>Paraview-developers at paraview.org
>http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list