qt-interest@trolltech.com
[Top] [All Lists]

Property's USER attribute, what for?

Subject: Property's USER attribute, what for?
From: "Barkah Yusuf Widodo"
Date: Fri, 4 Apr 2008 12:01:44 +0800
Hi all,

Q_PROPERTY( type propname READ readFun WRITE writeFun .... USER)

What's Q_PROPERTY's 'USER' attribute for? Can
someone point me to a usage example of it? The
docs only stated:

"specifies that a particular property in a class (typically
a widget) contains user-facing information, and is
the main property that a user will modify via the GUI
when using instances of the class in an application."

...and how do we make property changes (both through
QObject::setProperty() and the WRITE function) fires
automatically a signal?.

Thanks.
-- 
Barkah

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>