Hi,
I 'm writing a custom widget.
I use QPainter for painting the widget. The painting style depends on some parameters, and it is defined as:
struct PaintParams
{
int PenWidth;
Qt::PenStyle pstyle;
QColor PenColor;
Qt::BrushStyle bstyle;
QColor BrushColor;
}
I want these params to appear in Qt Designer's Property Editor in the same way as font property.
How can this be done?
Should I define it as QObject instead struct?
GREETZ, chombium
Bookmarks