PDA

View Full Version : Trouble while viewing a created a toolbar!!



aditya.kaole
6th April 2009, 10:36
Hi,

I am facing a problem while viewing a toolbar on after creating..

Steps followed:
1) Created a QAction.
2 ) I've created a tool bar for my main window
3) I am adding action to toolbar.

But I was unable to see the Icon on the toolbar.

The Action is properly created as I can see the same in Menu (same action is added into the Menu).

Then, I tried adding the "setStretchableWidget()" for the toolbar.

I've noticed that the tool bar option is overlapped by a blank strip (may be a toolbar instance don't know why it is comming :( ) and the toolbar is created.

I've also made sure that no other tool bar instance is created.

Can anybody help me to identify the problem.

Thanks in Advance

Regards,
Aditya

wysota
6th April 2009, 21:04
Can we see the code used to create and populate the toolbar?