Ejemplo n.º 1
0
string glinfo::
        pretty_format(const QGLWidget& w)
{
    stringstream s;

    s << "doubleBuffer=" <<  w.doubleBuffer() << endl
      << "isSharing=" <<  w.isSharing() << endl
      << "isValid=" <<  w.isValid() << endl
      << pretty_format( w.format() );

    return s.str();
}