Thanks for the help. I have found the problem being how it qt / paraview handles relative paths. Instead of the file using the path for plugin .so being the root, it actually uses the runtime directory as the root directory. Which means if I launch paraview from my home directory, or from the bin exactly I get different expectations on where my UI file should reside.
<br><br>The solution to this seems to be that the paraview developers have used a :/pqWidgets link to handle this problem, but I would like to know if there is a away for me to set the relative path starting directory to where the .so or the source code resides.
<br><br>(The way i found this out, was i dumped absolute file paths using QFileInfo inside pqLoadedFormObjectPanel )<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><span class="e" id="q_116113cce3e6b081_1"><br><br><div><span class="gmail_quote">On 11/5/07, <b class="gmail_sendername"><a href="mailto:clinton@elemtech.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
clinton@elemtech.com</a></b> <<a href="mailto:clinton@elemtech.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">clinton@elemtech.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>You can call isValid() at the beginning of the constructor to verify your UI<br>file loaded correctly. If not, you're most likely missing the prefix path to<br>it so it matches what you put in your .qrc file.<br>
<br>Or the ui file you created doesn't have a pqDoubleRangeWidget or it isn't<br>named "ThresholdBetween_0".<br><br>Clint<br><br>On Monday 05 November 2007 11:10:24 am Robert Maynard wrote:<br>> I am trying to make a custom UI panel based on the current Threshold panel.
<br>> So far I created the UI file and copied and modified the pq files for the<br>> UI.<br>><br>> The problem is I get this error when loading the filter:<br>><br>> QObject::connect: Cannot connect (null)::valueChanged(double) to
<br>> SumBillboardPanel::upperChanged(double)<br>> QObject::connect: Cannot connect (null)::valueChanged(double) to<br>> SumBillboardPanel::lowerChanged(double)<br>><br>><br>> Which references this section of my file:
<br>><br>> pqSumBillboardPanel::pqSumBillboardPanel(pqProxy* pxy, QWidget* p) :<br>> pqLoadedFormObjectPanel("SumBillboard.ui", pxy, p)<br>> {<br>> this->Lower =<br>> this->findChild<pqDoubleRangeWidget*>("ThresholdBetween_0"); this->Upper =
<br>> this->findChild<pqDoubleRangeWidget*>("ThresholdBetween_1");<br>><br>> QObject::connect(this->Lower, SIGNAL(valueChanged(double)),<br>> this, SLOT(lowerChanged(double)));
<br>> QObject::connect(this->Upper, SIGNAL(valueChanged(double)),<br>> this, SLOT(upperChanged(double)));<br>><br>> this->linkServerManagerProperties();<br>> }<br>><br>> Now I think the problem is that the UI file isn't being loaded properly,
<br>> but I have no clue why as everything is in the same directory and named<br>> correctly. Does anybody have any tips on getting this to work?<br><br><br></blockquote></div><br>
</span></div></blockquote></div><br>