Hi Nicholas,
What you want to do is create your custom QOpenGLWidget first (it could
be the bare minimum to start with, even just a header file with the
class declaration). Then in Qt Creator/Designer you want to "promote"
the placeholder QOpenGLWidget to your custom version. If you search o
Hi,
I used designer to create a QOpenGLWidget on a MainWindow
I can retrieve the widget via findChild()
My understanding is that to leverage the widget, there are a couple of
virtual methods that needs to be overridden e.g. paintGL(), resizeGL(),
initializeGL()
However, the widget I retrieve vi
Hi,
I wish to pass some text back to the user via something like this
void CMEForm::doCopy() {
std::cout << "doCopy() called" << std::endl;
QClipboard* qclip = QApplication::clipboard();
qclip->setText("Hello, this is a long text generated from clipboard");
}
This works for compiled app
Hi,
Over the past week, I have been getting alot of help from this list and
have learnt alot from the knowledgeable people on the list.
Here is a summary of my attempt to create a test app (as a QMainWindow),
loading a *.ui file directly and creating the UI on the fly and handling
the languag