Results 1 to 4 of 4

Thread: scrollbar with buttongroup???

  1. #1
    Join Date
    Feb 2011
    Location
    udaipur,Rajasthan
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Question scrollbar with buttongroup???

    i have a widget suppose xyz,i add a button group to this widget with twenty buttons.how i set scrollbar in this widget so that user able to see all pushbuttons?
    Last edited by chandantheracer; 4th May 2011 at 05:54.

  2. #2
    Join Date
    Feb 2011
    Location
    udaipur,Rajasthan
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Question Re: scrollbar with buttongroup???

    button group is not a widget thats why i got error in setwidget.any hint there?

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: scrollbar with buttongroup???

    put the buttons and buttongroup in a QWidget and then put the QWidget inside the scrollarea

  4. #4
    Join Date
    Feb 2011
    Location
    udaipur,Rajasthan
    Posts
    27
    Qt products
    Qt3 Qt4
    Platforms
    Windows Symbian S60

    Question Re: scrollbar with buttongroup???

    i used as u suggested but after that button not shows.
    Last edited by chandantheracer; 9th May 2011 at 08:06.

Similar Threads

  1. How to add scrollbar...?
    By jojanpm in forum Qt Programming
    Replies: 4
    Last Post: 25th October 2010, 18:51
  2. ScrollBar
    By damodharan in forum Qt Programming
    Replies: 1
    Last Post: 11th February 2010, 14:50
  3. No ScrollBar in QGraphicsView
    By sujan.dasmahapatra in forum Qt Programming
    Replies: 7
    Last Post: 26th August 2009, 09:11
  4. Scrollbar
    By sabeesh in forum Qt Programming
    Replies: 1
    Last Post: 31st October 2007, 07:33
  5. buttonGroup and spinBox
    By mickey in forum Newbie
    Replies: 9
    Last Post: 21st May 2006, 17:50

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.