Hi Folks,
Is it possible to customize TOOL TIP for a WIDGET(like CheckBox, Spin Box, etc.,)??? I have tried the following way but I got an error saying that 'UI_AnimateTooltip' : is not a member of 'Qt::UIEffect'.
Please any one help me to find out the solution...
#include <QtGui/QApplication>
#include "dlg.h"
int main(int argc, char *argv[])
{
QApplication::setEffectEnabled(Qt
::UIEffect::UI_AnimateTooltip);
dlg w;
w.show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();
}
#include <QtGui/QApplication>
#include "dlg.h"
int main(int argc, char *argv[])
{
QApplication::setDesktopSettingsAware(false);
QApplication::setEffectEnabled(Qt::UIEffect::UI_AnimateTooltip);
QApplication a(argc, argv);
dlg w;
w.show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
return a.exec();
}
To copy to clipboard, switch view to plain text mode
If I succeed in the above code it will affect whole the application but I need to customize a few TOOL TIP informations..!!!!! Please give me any clue..!!!!!!!!
Thanks a lot in advance.........
Bookmarks