<div dir="ltr"><div><div><div>I am writing a plugin that, theoretically, should be able to change inputs as I apply them through a QLineEdit. The file that I am using to create the UI portions of the plugin is similar to that of the PointCloudLibrary. However, I was wondering if there is a way to pass along the "changed value" to the command I want to invoke?<br><br></div>Here is a snippet of what I am doing:<br><br>##############<br>connect_to_dds.h<br>##############<br><br>QLineEdit* xmin = new QLineEdit("XMin");<br>this->connect(xmin, SIGNAL(textChanged(QString&)),SLOT(setXMinValue(QString&)));<br>layout->addWidget(xmin);<br><br>public slots:<br> void SetXMin(const QString& text)<br> {<br> vtkSMSourceProxy* sourceProxy = vtkSMSourceProxy::SafeDownCast(this->proxy());<br><br> if (!sourceProxy)<br> {<br> return;<br> }<br><br> sourceProxy->InvokeCommand("SetXMin");<br> }<br><br><br>###############################<br></div><div>Image_Reconstruction_DDSReader.cxx<br>###############################<br><br>void Image_Reconstruction_DDSReader::SetXMin()<br>{<br> // double XMin = ;<br>}<br><br></div><div><br></div>Is there a way to pass along the changed value within the Proxy? Or is there a better way of doing this?<br><br></div>Kevin E. Dean<br></div>
<br>
<span><font color="#888888">This email and its contents are confidential. If you are not the
intended recipient, please do not disclose or use the information within
this email or its attachments. If you have received this email in
error, please report the error to the sender by return email and
delete this communication from your records.</font></span>