When you do the following
myLabel
::myLabel (QWidget* parent,
const char* name
)
myLabel::myLabel (QWidget* parent, const char* name)
:QLabel (parent,name) {
To copy to clipboard, switch view to plain text mode
you take the parameters from specified in your myLabel constructor and try to call the original QLabel's constructor with those parameters. But in fact none of QLabel's constructors accept both QWidget and const char*. You are trying to call this constructor
QLabel(QWidget *parent, const char *name)
To copy to clipboard, switch view to plain text mode
but it has
and
QLabel ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
and
QLabel ( const QString & text, QWidget * parent = 0, Qt::WindowFlags f = 0 )
To copy to clipboard, switch view to plain text mode
Bookmarks