I am programming using Qt-4.2.3 on a "kubuntu7.04" linux distro.
I have MAJOR problems understanding some of the Qt4 documentation where there is no "code examples" of which there are very few in Qt4.
so
I have a drawing area "frmDrawing" with various items on it. I want to get the position of the mouse when I double click the left mouse button.
Do I use !
globalPos
() const : const QPoint &
globalPos () const : const QPoint &
To copy to clipboard, switch view to plain text mode
if yes, how? or do I use one of the other
Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers )
QMouseEvent ( Type type, const QPoint & position,
Qt::MouseButton button, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers )
To copy to clipboard, switch view to plain text mode
type? again if so what does it look like.?
thanks
Bookmarks