Could u guys help in using qEffects.cpp and qEffect_p.h files in my sample application.....
Or
Could u give me a brief on the functionality and usage of these files in my sample appllication.....
Thanks in Advance
Naveen
Printable View
Could u guys help in using qEffects.cpp and qEffect_p.h files in my sample application.....
Or
Could u give me a brief on the functionality and usage of these files in my sample appllication.....
Thanks in Advance
Naveen
What this files to represent :confused:
These are the files I found in Qt Source code....
qeffects.cpp and qeffects_p.h are found in the "gui" folder of the "src"
I want to use these files in my application ....
As far as the information i have on these files is that these file are used to create some fading effect in our application...but I'm not able to understand how to used them in my application...
Thanks
Naveen.....
It is possible to use them, right. Eg. something like this:
Code:
#include <Qt/private/qeffects_p.h> qFadeEffect(fadeWidget, 300); qScrollEffect(scrollWidget, 300);
But as the header file says, it is not intended or suggested to use them:
Of course, you could "adapt" some hints from their solutions and implement something similar by yourself ;)Quote:
//
// W A R N I N G
// -------------
//
// This file is not part of the Qt API. It exists for the convenience
// of qeffects.cpp, qcombobox.cpp, qpopupmenu.cpp and qtooltip.cpp.
// This header file may change from version to version without notice,
// or even be removed.
//
// We mean it.
//
suffix "_p.h" means private header! This header is for internal (Qt) use only (to maintain binary compatibility in a future). NEVER ever use that (unless you are modifying Qt code)!
Check Qt documentation about effects. QGraphicsEffect
Check this: QWidget::setGraphicsEffect
It means your include path is not set properly.Quote:
I tried to include it , but it compile error with message " no such file".