Hi,
I want to set the scroll position of a QWebview object when created. Here is the function I tried:
QWebFrame *frame = webview->page()->mainFrame();
const QPoint position =...
Type: Posts; User: pta0007; Keyword(s):
Hi,
I want to set the scroll position of a QWebview object when created. Here is the function I tried:
QWebFrame *frame = webview->page()->mainFrame();
const QPoint position =...
Hi,
First of all, is it legal to create QImage object as an array? would be something like
QImage Images[];
If so, how could I initialize the Images[] by loading the images?
Yes, that's what I would like to ask about. You have any idea or good sources on how to do the animation? Cheers.
Hi,
I am trying to simulate the mouse click-move-release events without actually touch the mouse on a drawing application. What I did is
QMouseEvent event_click(QEvent::MouseButtonPress,...
OK. My question is back to the qmouseevent.
Now I can call the QEvent::MouseButtonPress, QEvent::MouseMove, QEvent::MouseButtonRelease sequentially in a timeroutSlot(). I have a webview which...
Hi, here is a debug error,
Object::connect: No such signal QTimer::timeoutSlot()
I tried to define it like
private slots:
void timeoutSlot();
Hi, I am not sure I could understand the code. Here are several confusions. The funciton of timeoutSlot() is timer's signal like timeout(), or its a slot itself? If timeoutSLot() is a member funciton...
Is it possible to set up the speed of move, eg: I want to move the mouse when pressed from (100, 50) to (100, 100) in 2secs, and then releasse it, by using the timer?
Seems that the code below could do the job
QMouseEvent event(QEvent::MouseButtonPress, pos, 0, 0, 0);
QApplication::sendEvent(mainWindow, &event);
While it is easy to define a mouse press...
Hi forum,
I've created a widget and defined the mouse event handler for handling mouse press/move event.
Is it possible to simulate the mouse event or invoke the event handler without a mouse?...
My code to set the webview
QFile file;
file.setFileName("./jquery.min.js");
file.open(QIODevice::ReadOnly);
jQuery = file.readAll();
file.close();
...
Hi forum,
I have exactly the same problem as http://developer.qt.nokia.com/forums/viewthread/1643, mouse event just doesn't work. Has anyone got a solution for this yet? Thank you.
Hi,
I am trying to draw a sphere with Qt/OpenGL ES 2.0, which is using the shading language. I need to build the vertices, texture coordinates and normals arrays for a sphere. So I wonder if...
yes, get the paint function work now. But the problem went worse. The QWebView widget just kept flashing and the speed of the app increased slowly. It looks like every time when the timeevent is...
Thx for the advice. PaintEvent() works now.
The application is stuck when I start it, which looks like the application is still running without any error, but the googlemap can't be loaded and the...
Hi,
In my code, I created a class inherited from QWebView, and in that class, I had a paint() function which would paint sth and show on the webview object. The code looks like
class...
Hi all,
I am now developing the navigation app with google map api. With a simple picece of code from http://wiki.forum.nokia.com/index.php/Qt_sample_application:_Google_maps, I am able to make...
Where do u put all those apps on the device? If you want to run the app from terminal, they should be put in the root directory. Basically, when you copy the file to the N900 on the PC, they are in...
Are you sure the file is executable? Try chmod +x AppName first, then ./AppName
This might be the cause for "conflicting declaration".
QGLWidget includes gl2.h, and that widget is going to expect the functionality of the GLES2 library during runtime (which is GLES2/gl2.h),...
pkg-config --list-all | grep glu give me this
glu glu - Mesa OpenGL Utility library
glut glut - Mesa OpenGL Utility Toolkit library
Do you mean it's illegel...
Hi, I am trying to compile an app which uses QtOpenGL for renderring. I compile the app in FREMANTLE_ARMEL,
and here are my header files
#include <qgl.h>
#include <QtGui/QWidget>
#include...
I have got a question when trying to compile the demo provided in the ODE package. Since the ODE is using OpenGL for rendering, how could I get it work with QtOpenGL (which is OpenGL ES 2.0, I think)...
Fantastic, thx.
I've found two interesting demos showing the usage of ODE (Open Dynamic Engine) on N900. I just think they're brilliant and cool, but get no idea how to build the ode libs on N900. Hope someone could...