@_bhum Ok, so Qwt library should help. You may want to use one of the examples I mentioned (i.e. the one from MagPi magazine) as a guideline to what/how they draw on screen (I know, it's Python code but it will help...)
I have tried your variant it returns string which I do not need. I am parsing out an HTML code of the page. When I run you variant it returns all kind of string, and I only need the sentence where the "[error]" key word is present.
This variant of RegExp works like a charm:
Thank you for your time. The issue has been resolved
@JonB Thank you so much for your reply. I am sorry I did not get back to you sooner, life kept me busy. I'll get right back to my project and I'm really thankful for your help and the information you provided.
@JonB you mean me specifically or it's been discussed before, I don't remember but me forgetting something wouldn't be the first time that's happened. I did search quite a bit so got the feeling this was the case.
As @sierdzio said, the .ini file support from QSettings is only for its own puprposes. All it really guarantees is that you can read back a file that it has written. You may be able to read an external .ini file, but if you write it back it can change to non-.ini format. Remember Qt is platform-independent, and the files you are talking about are really Windows-only.
just to make sure: indexes are 0-based. So first row/column has an index of 0 not 1.
In case you only showing 1 row of data in your table and wondering why the background doesn't get applied.
The example names are just for explanation of how to integrate a third party library. The 3rd party library is integrated through relative path within your actual project. However, you may place the 3rd party stuff anywhere and your PC.
Basically you have to download and install the 3rd party library independent of Qt. You need to know the path to the includes and add this as relative or absolute path to INCLUDEPATH
You have to ensure that the libraries are compiled correctly for Qt installation (32 vs 64 bit, compiler andsome stuff). You need to locate the required libraries and setup absolute or relative path and libraries in LIBS
it is clear that * pA is a pointer to a new class A instance
what type of object is * pA ??
is an instance of the class but how do I declare it?
You already answered for yourself what type of object pA is --- it's a pointer to a class instance.
How to declare it? I gave you:
# Outside world goes:
classA *pA = new classA("Hello world");
but if I have set this variable in a program phase and then I will have to read it later in other classes and at other times of the process .. . how can I do? Do I have to carry the variable with me at every step?
Yes, like any other variable, if you need to access the object all over the place you have to pass it around. If it turns out(?) you often access the classA instance from your classB instance, you could create a classA * member variable in your classB and then if you're passing a classB instance around it will carry with it a classA * to save you having to pass that around separately.
I just I think of this like I do with function parameters, but I think of function parameters differently from local variables inside a function block (like const auto& list = ...;). Once I remember they're basically the same, it now makes sense.
With C++11, you can add the override keyword after the declaration of each function you re-implement. This will give the compiler a hint that will allow him to scream at you if you try to re-implement a non virtual function.
Last report from me:
It's working if i'll use simplest scan with for loop simply scanning every memory address from the beginning. To find variable address of my test program tooks about 24 seconds, considering that fact that that address was placed at the beginning(11 million position), and CPD with 4Ghc speed.
I calculated, using such "simple" scan might take 2 and half hours...
P.S. And CheatEngine doing such scan like in one second, but it was written on python, i dont know why he choose to write in that language, but must be some reason.
Thanks JonB, It seems that connClose() is the problem. Or more specifically the line 'mydb.removeDatabase(QSqlDatabase::defaultConnection);'. It seems that this only affects the server/client database (as I've tried it with PostresSql with the same results.)
I'm not sure why this doesn't affect Sqlite.