OriginalCopy
7th November 2007, 19:33
I was using a QFormBuilder to dynamically load a .ui file, embedded via .qrc and everything worked fine. Now I need to overload the
virtual void dragLeaveEvent ( QDragLeaveEvent * event )
method of a QWidgetList, so I've implemented
void MyListWidget::dragLeaveEvent ( QDragLeaveEvent * event )
needed. Of course, I've also set "Promote to..." MyListWidget from the designer. Anyway, when running, the MyListWidget is not constructed, which seems pretty logical, the form builder does not know where the binary code of the compiled MyListWidget is. How to make that available to the QFormBuilder too ? (or some other alternatives)
virtual void dragLeaveEvent ( QDragLeaveEvent * event )
method of a QWidgetList, so I've implemented
void MyListWidget::dragLeaveEvent ( QDragLeaveEvent * event )
needed. Of course, I've also set "Promote to..." MyListWidget from the designer. Anyway, when running, the MyListWidget is not constructed, which seems pretty logical, the form builder does not know where the binary code of the compiled MyListWidget is. How to make that available to the QFormBuilder too ? (or some other alternatives)