Following instructions I have found at http://labs.qt.nokia.com/2008/10/09/...g-enum-values/
I want to know what PixelMetric are asking me the app.
So first I write
QMetaObject meta = QStyle::staticMetaObject;
To copy to clipboard, switch view to plain text mode
But.... I have 0 enumeratorCount
qDebug()<<meta.enumeratorCount();
qDebug()<<meta.enumeratorCount();
To copy to clipboard, switch view to plain text mode
So it is imposible to use the next step, to
for (int i=0; i < meta.enumeratorCount(); ++i) {
if m.name() == "....."
for (int i=0; i < meta.enumeratorCount(); ++i) {
QMetaEnum m = meta.enumerator(i);
if m.name() == "....."
To copy to clipboard, switch view to plain text mode
Any idea to solve this? I want to see the 'literal' string of the pixelmetrics values asked for the app.
Thanks
Bookmarks