<div><br>Hey guys,</div>
<div>&nbsp;</div>
<div>I'd still like to get some help on this issue.</div>
<div>Help me contribute a little bit to Mythtv :)<br><br><br><br>---------- Forwarded message ----------<br><span class="gmail_quote">From: <b class="gmail_sendername">liran tal</b> &lt;<a href="mailto:liransgarage@gmail.com">
liransgarage@gmail.com</a>&gt;<br>Date: Jun 29, 2006 12:02 PM<br>Subject: How to get the value of a HostLineEdit box in a plugin's settings window.<br>To: Development of mythtv &lt;<a href="mailto:mythtv-dev@mythtv.org">mythtv-dev@mythtv.org
</a>&gt;<br><br>&nbsp;</span></div>
<div><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>&nbsp;</div>