I have tried this one, like adding points 1,1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2.0. I have used setSamples(points) in which I have added all those values.
But in the end its only plotting dots...
Like you have done. QDataStream serialiszs in a binary format. Your code outputs this binary data into the file (offsets and data in hex):
$ od -A x -tx1 dat1.bin
000000 00 00 00 1a 00 74 00...
QwtPlotCurve represents an array of points ( QPointF ) and from/to are indexes related to this array - no values.
Uwe
Yes, I just want to know in which method should I dig for this and what things will help me in what way?
I'm not asking for complete logic, but just guidance to do that.
The confusion is because...
Hi,
How can I do the serialization of a QString?
I have executed the example code that is in the QDataStream class, but it does not do the serialization of the QString, only of the integer, the...
Qt Centre is a community site devoted to programming in C++ using the Qt framework developed at Digia.
If you have any problems with Qt or its usage, you can get help from the members of Qt community on our forum.
Don't forget to check out our links section for more Qt resources.
Qt is a cross-platform application and UI framework. Using Qt, you can write web-enabled applications once and deploy them across desktop, mobile and embedded operating systems without rewriting the source code.
QBluetoothDeviceDiscoveryAgent on MAC crashes on stop()
10th December 2019 20:11 by -johnf-