void QCursor::setPos ( int x, int y ) [static]
Moves the cursor (hot spot) to the global screen position (x, y).
You can call QWidget::mapToGlobal() to translate widget coordinates to global screen coordinates.
See also pos(), QWidget::mapFromGlobal(), and QWidget::mapToGlobal().
Die Suche ergab 4 Treffer
- 8. September 2006 12:09
- Forum: Qt Programmierung
- Thema: Maus verstecken und Mausposition festlegen
- Antworten: 2
- Zugriffe: 3001
- 29. August 2006 14:50
- Forum: Qt Programmierung
- Thema: QBitArray mit QDataStream
- Antworten: 19
- Zugriffe: 11604
Also, wenn du ein QBitArray durch ein QDataStream sendest, kriegst du auch den QBitArray den du geschickt hast.
Code: Alles auswählen
QBitArray send(10);
send_stream<<send;
----------------------------------
QBitArray receive;
receive_stream>>receive;
qDebug()<<receive.size(); //sollte 10 geben
- 29. August 2006 10:55
- Forum: Qt Programmierung
- Thema: QBitArray mit QDataStream
- Antworten: 19
- Zugriffe: 11604
- 29. August 2006 10:47
- Forum: Qt Programmierung
- Thema: QBitArray mit QDataStream
- Antworten: 19
- Zugriffe: 11604
http://doc.trolltech.com/4.1/datastreamformat.html
QBitArray
* The array size (quint32)
* The array bits, i.e. (size + 7)/8 bytes