Results 1 to 2 of 2

Thread: Trouble while viewing a created a toolbar!!

  1. #1
    Join Date
    Apr 2009
    Posts
    8
    Qt products
    Qt3
    Platforms
    Windows

    Default Trouble while viewing a created a toolbar!!

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Trouble while viewing a created a toolbar!!

    Can we see the code used to create and populate the toolbar?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Toolbar in dockwidget
    By AD in forum Qt Programming
    Replies: 7
    Last Post: 2nd October 2008, 14:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.