sanjayshelke
13th August 2008, 08:08
hi,
I want to add QAction to my customized dialog inherited from QDialog.
QDialog has addAction method to add actions to QDialog. But it seems that Qaction added is not visible on QDialog.
This way i am creating QAction and adding it to QDialog :
QAction *actCount = new QAction(QIcon(tr("English_en\\countonback.png")), tr("Count On / Back"), this);
addAction( actCount );
Can anybody guide me what is wrong and how to do it.
Thanks in advance
Regards,
~Sanjay
I want to add QAction to my customized dialog inherited from QDialog.
QDialog has addAction method to add actions to QDialog. But it seems that Qaction added is not visible on QDialog.
This way i am creating QAction and adding it to QDialog :
QAction *actCount = new QAction(QIcon(tr("English_en\\countonback.png")), tr("Count On / Back"), this);
addAction( actCount );
Can anybody guide me what is wrong and how to do it.
Thanks in advance
Regards,
~Sanjay