[mythtv] Fwd: How to get the value of a HostLineEdit box in a plugin's settings window.
liran tal
liransgarage at gmail.com
Sat Jul 1 19:20:08 UTC 2006
Hey guys,
I'd still like to get some help on this issue.
Help me contribute a little bit to Mythtv :)
---------- Forwarded message ----------
From: liran tal <liransgarage at gmail.com>
Date: Jun 29, 2006 12:02 PM
Subject: How to get the value of a HostLineEdit box in a plugin's settings
window.
To: Development of mythtv <mythtv-dev at mythtv.org>
I'm writing a plugin for MythTV and I'd like to know how to receive the
value
the user writes on a HostLineEdit box after he presses enter, or when he
exists the window
by pressing the Finish button at the bottom.
The piece of code looks something like:
static HostLineEdit *MythEditBox()
{
HostLineEdit *gc gc->setLabel(QObject::tr("enter something here..."));
// here comes the part where i need to know how to get the value
which is set for the edit box.
// something like: variable
return gc;
}
The main purpose is that when the user inputs his settings and click the
finish button all the info will be
writen to a text file.
Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20060701/9667fabb/attachment.htm
More information about the mythtv-dev
mailing list