Qt: How to access an element dragged on the main window by its id?
I have created a Table View by dragging and dropping it on the main window
of a Qt application. The objectName of this Table View is set to tableView
which seems to be only defined in the mainwindow.ui xml file. How can I
access and set some properties of tableView from main.cpp or any other
class?
No comments:
Post a Comment