How to use a QWidget created or defined by some programmer?
I often see some customized QWidget written by programmer, for example :
MyComboBox::MyComboBox( QWidget * parent ) : QComboBox(parent)
MyCombobox is inherited from Qcombobox and not a standard QWidget provided By QT, I can't see it on the Design mode, how to use it graphically?
Thanks a lot!
"That page":http://qt-project.org/doc/qt-5.1/qtdesigner/designer-customizing-forms.html and the subsequent as probably what you are looking for.
Hi, koahnig, thanks for reply.
There are MyComboBox.cpp and MyComboBox.h, but no MyComboBox.ui.
I read some help documents where there are some words about "Promoting widgets" and some dialog titled "Promoted widgets".
Where is the "Promoted widgets" dialog? I have not found it.
Thanks again for your help!