Custom widget in Qt designer
Unsolved
Qt Creator and other tools
-
Hi,
I generated a custom widget and managed to insert it to Qt Designer.
The problem is that it does not show the widget image even though I created a paintEvent method.
My question is what method of the widget does the Qt designer use for showing
the image of the widget ?
Thanks,
Ilan -
My question is what method of the widget does the Qt designer use for showing
If you mean Qt Designer showing your custom widget in the toolbox along default widgets (i.e. QLabel, QLineEdit, etc.) I guess you may need to create a plugin for Qt Designer from your custom widget. Qt Designer used a plugin based approach, see here.