Results 1 to 5 of 5

Thread: Secont ToolBar with Icon

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Secont ToolBar with Icon

    Thanks.

    Sorry, mistake of me.
    The other file gui-service/res/images.qrc is not a part of the "normal GUI" ui-File.
    At first we had a second Service-GUI.ui file.
    Now our ServiceGui class is subclassed from the normal GUI class, so the qrc file is stand allown.

    Rod

  2. #2
    Join Date
    Aug 2009
    Location
    Greece
    Posts
    69
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    2
    Thanked 14 Times in 14 Posts

    Default Re: Secont ToolBar with Icon

    You can use the static function QResource::registerResource
    after you have used rcc on the .qrc file

    More info on http://qt-project.org/doc/qt-4.8/resources.html

  3. #3
    Join Date
    Mar 2012
    Posts
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Secont ToolBar with Icon

    @Rhayader: Thank You, the link was precise, now it works perfect.

Similar Threads

  1. Replies: 5
    Last Post: 19th March 2010, 05:33
  2. Select element ID from SVG file for toolbar icon?
    By JesperWe in forum Qt Programming
    Replies: 0
    Last Post: 18th December 2009, 16:21
  3. Couple of questions: main window icon + toolbar icon
    By bpackard in forum Qt Programming
    Replies: 0
    Last Post: 20th March 2008, 19:03
  4. Toolbar and icon size
    By MrGarbage in forum Qt Programming
    Replies: 0
    Last Post: 8th January 2008, 21:27
  5. toolbar icon sizes...
    By soul_rebel in forum KDE Forum
    Replies: 2
    Last Post: 20th March 2006, 19:21

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
  •  
Qt is a trademark of The Qt Company.