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
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
a life without programming is like an empty bottle
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:
Qt Code:
#include <Qt/private/qeffects_p.h> qFadeEffect(fadeWidget, 300); qScrollEffect(scrollWidget, 300);To copy to clipboard, switch view to plain text mode
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//
// 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
Last edited by MarekR22; 11th January 2011 at 11:08.
It means your include path is not set properly.I tried to include it , but it compile error with message " no such file".
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks