Hi,
I wish to create an option in the menu bar of my Qt application which can load an ASCII file with vertex. This file will be used to paint the object on a qglwidget.
Unfortuneadly I don't know how to do this:
I have my MenuBar on my MainWindow which is a QWidget. All actions are for the menu are implemented. I call the .ui form in the creator function:
Qt Code:
ui(new Ui::MenuPrincipal) { ui->setupUi(this); setCurrentFile(""); createActions(); }To copy to clipboard, switch view to plain text mode
Calling the .ui I can see the QGLWidget. But now, how to sent signals from "MenuPrincipal" to glwidget, the class of my QGLWidget?
Thanks!
Bookmarks