diff options
author | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-07-22 21:09:58 +0200 |
---|---|---|
committer | Kavindra Devi Palaraja <kavindra.palaraja@nokia.com> | 2009-07-22 21:09:58 +0200 |
commit | 629319974ba22e64bf9c4e5490f60c20be5b4233 (patch) | |
tree | 7023614d0a73a24cc96468ce1aaf6231ba2228e7 /doc/addressbook-sdk.qdoc | |
parent | 08345a277e79e7a324947017654eeb9031f492c5 (diff) | |
download | qt-creator-629319974ba22e64bf9c4e5490f60c20be5b4233.tar.gz |
Doc - More of Part 7
Reviewed-By: TrustMe
Diffstat (limited to 'doc/addressbook-sdk.qdoc')
-rw-r--r-- | doc/addressbook-sdk.qdoc | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/addressbook-sdk.qdoc b/doc/addressbook-sdk.qdoc index c06bd73f0d..0441666799 100644 --- a/doc/addressbook-sdk.qdoc +++ b/doc/addressbook-sdk.qdoc @@ -881,10 +881,13 @@ \gui{Save...} respectively. Ideally, it would be more user-friendly to set the push buttons' labels to \gui{Load contacts from file} and \gui{Save contacts to file}. However, due to the size of our push buttons, - we set the labels to \gui{Load...} and \gui{Save...} instead. Fortunately, - Qt Creator's \QD plugin provides a simple way to set tooltips with the - \c toolTip property. To test your tooltip, use \key{Ctrl+Alt+R} and hover - your mouse cursor on the push buttons. + we set the labels to \gui{Load...} and \gui{Save...} instead. + + Fortunately, Qt Creator's \QD plugin provides a simple way to set tooltips + with the \c toolTip property. So, we set our buttons' tooltips to + \gui{Load contacts from file} and \gui{Save contacts to file} respectively. + To test your tooltip, use \key{Ctrl+Alt+R} and hover your mouse cursor on + the push buttons. # screenshot of property editor @@ -894,7 +897,7 @@ We declare two public slots, \c saveToFile() and \c loadFromFile(). - # code + \snippet examples/addressbook-sdk/part6/addressbook.h slot definition Now lets look at the \c saveToFile() and \c loadFromFile() functions in detail. @@ -988,7 +991,8 @@ \section1 Placing Widgets on The Form We add a push button into our layout by dragging and dropping it in, with - \c exportButton as its \c objectName. + \c exportButton as its \c objectName. The \c toolTip property is set to + \gui{Export as vCard}. # screenshot |