Differences
This shows you the differences between two versions of the page.
Next revision
|
Previous revision
|
dev:tooltips [2009/03/08 04:05] michael created |
dev:tooltips [2022/05/06 16:07] (current) |
===== Test and Commit ===== | ===== Test and Commit ===== |
| |
After you've added a tooltip, build the source and navigate to your new widget to test it. If you get compile errors, the most common things are using a -> when you should have used a ., and " related problems. A developer (eg. me) will be happy to help you with any problems until you get the hang of this. | After you've added a tooltip, build the source and navigate to your new widget to test it. In order to get your new image built into the resource bundle, you'll have to delete ''data/data.o'' before compiling. Something like: |
| |
| <code> |
| rm data/data.o&&make -f qt4-makefile&&./rosegarden |
| </code> |
| |
| If you get compile errors, the most common things are using a -> when you should have used a ., and " related problems. Also ( problems. ''setToolTip'' should have a pair of () around it, and ''tr()'' should too, so the whole structure with no text looks like ''setToolTip(tr(....));'' A developer (eg. me) will be happy to help you with any problems until you get the hang of this. |
| |
If you use an image, be sure the image is working. | If you use an image, be sure the image is working. |