Results 1 to 2 of 2

Thread: style widget on canvas (qgv)

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default style widget on canvas (qgv)

    Hi, i want do a widget like that:

    [Widgets on red]



    URL:
    http://picasaweb.google.com/valtovar...82559440887314

    but i don't idea "what widgets i must use", i have one idea:

    a qgraphicsScene (and view)

    and QDialogs (con proxy) on the scene, but i can't change the style of the QDialog (clos button, titlebar color and height, etc) so i discard it.

    then, i try qdockwidget on canvas and it's work fine (i change de style - limited but its ok) but i can do to this widget moved on the canvas (scene) so i discard it.

    And now i dont have any idea so how can i do this widget?, its a graphicItem but with controls (pushbuttons, menus, etc).

    Any idea?

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: style widget on canvas (qgv)

    You can add widgets to graphics view. To get different kinds of windows, you can use style sheets or implement your own style.

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 08:06
  2. Playbutton functionality
    By uchennaanyanwu in forum Qt Programming
    Replies: 5
    Last Post: 31st July 2008, 23:29
  3. How to Open & Close a Widget ?!!
    By Fatla in forum Qt Programming
    Replies: 6
    Last Post: 13th June 2008, 21:39
  4. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 11:35
  5. When is the best time to delete a QCanvasItem
    By irudkin in forum Qt Programming
    Replies: 12
    Last Post: 8th March 2007, 22:28

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.