Results 1 to 2 of 2

Thread: [PyQt] Creating custom widget

  1. #1
    Join Date
    Dec 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default [PyQt] Creating custom widget

    Hello,
    how can I add in PyQT a scrollbar to a widget so that it is displayed only when the widget is to small to display entire layout?
    regards

  2. #2
    Join Date
    Jul 2009
    Location
    Enschede, Netherlands
    Posts
    462
    Thanked 69 Times in 67 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: [PyQt] Creating custom widget

    Easiest is to put your widget into a QScrollArea and set some properties on it.
    Horse sense is the thing that keeps horses from betting on people. --W.C. Fields

    Ask Smart Questions

Similar Threads

  1. Custom Widgets to PyQt
    By prashant in forum Qt Programming
    Replies: 0
    Last Post: 24th September 2009, 15:17
  2. Problem in Creating/installing Custom Widget
    By angeshwar in forum Qt Programming
    Replies: 0
    Last Post: 14th September 2009, 16:33
  3. Passing values to custom 'slot' functions (pyqt)
    By Richie in forum Qt Programming
    Replies: 2
    Last Post: 7th September 2009, 07:05
  4. pyqt custom QItemDelegate problem
    By spohle in forum Qt Programming
    Replies: 0
    Last Post: 31st January 2009, 01:48
  5. Replies: 1
    Last Post: 30th July 2008, 23:39

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.