you provide a validator, the Ok button is disabled as long as
the validator doesn't return Acceptable. If there is no validator,
the Ok button is enabled whenever the line edit isn't empty. If you
want to accept empty input, create a trivial QValidator that
always returns acceptable, e.g. QRegExpValidator with a regexp
of ".*".
</p>
<p>
</p><dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td></td><td valign="top"><em>caption</em>&nbsp;</td><td> Caption of t