On Monday, June 20, 2011 17:44:41 Steven Sroka wrote:
> Do you know how to centre the ClickMessage text? If I set the
> alignment of the text, only the text that the user types in is aligned
> and not the ClickMessage text.
Strictly speaking I think what you want to do is more properly part of the
>On 20 June 2011 01:41, Parker Coates wrote:
> On Mon, Jun 20, 2011 at 00:14, Steven Sroka wrote:
>> Hi everyone,
>>
>> Does anyone know how to clear the contents of a QLineEdit when a user
>> sets focus to it (ie. clicks it, presses the tab key repeatedly,
>> etc.)?
>
> Subclass KLineEdit (which
Am Monday 20 June 2011 schrieb Steven Sroka:
> Does anyone know how to clear the contents of a QLineEdit when a user
> sets focus to it (ie. clicks it, presses the tab key repeatedly,
> etc.)?
You don't have to subclass it, just connect some slot to
void QApplication::focusChanged ( QWidget * old,
On Mon, Jun 20, 2011 at 00:14, Steven Sroka wrote:
> Hi everyone,
>
> Does anyone know how to clear the contents of a QLineEdit when a user
> sets focus to it (ie. clicks it, presses the tab key repeatedly,
> etc.)?
Subclass KLineEdit (which you`re using instead of QLineWidget, right?)
and reimple
Hi everyone,
Does anyone know how to clear the contents of a QLineEdit when a user
sets focus to it (ie. clicks it, presses the tab key repeatedly,
etc.)?
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<