<br>
I'm writing a plugin for MythTV and I'd like to know how to receive the value<br>
the user writes on a HostLineEdit box after he presses enter, or when he exists the window<br>
by pressing the Finish button at the bottom.<br>
<br>
The piece of code looks something like:<br>
<br>
static HostLineEdit *MythEditBox()<br>
{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; HostLineEdit *gc = new HostLineEdit(&quot;Edit box&quot;);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gc-&gt;setLabel(QObject::tr(&quot;enter something here...&quot;));<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // here comes the part where i
need to know how to get the value which is set for the edit box.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // something like: variable = gc-&gt;GetLabel <br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return gc;<br>
}<br>
<br>
<br>
The main purpose is that when the user inputs his settings and click the finish button all the info will be<br>
writen to a text file.<br>
<br>
<br>
Thanks for the help.<br>