hi...
can anyone say me how to specify the WFlags.i have a derived class from QWidget that i need to set as tool window as did as follows:
class keyclass : public QWidget
{
Q_OBJECT
public:
keyclass( QWidget *parent=0, const char *name=0,WStyle_Customize | WStyle_Tool);
private slots:
void a();
}.
but it showed me the following errors:
error: ‘WStyle_Customize’ is not a type
error: expected ‘,’ or ‘...’ before ‘|’ token
error: default argument missing for parameter 3 of ‘keyclass::keyclass(QWidget*, const char*, int)’
is this correct...?
Bookmarks