Results 1 to 8 of 8

Thread: How to create a QStyledItemDelegate made of two QDoubleSpinBox widgets

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: How to create a QStyledItemDelegate made of two QDoubleSpinBox widgets

    Quote Originally Posted by abgeos View Post
    . . . I failed to have my editor to show up in my view.
    Try setting the layout margins in Data_editor to 0:
    Qt Code:
    1. layout->setMargin(0);
    To copy to clipboard, switch view to plain text mode 
    Last edited by norobro; 19th March 2013 at 19:46. Reason: typo

Similar Threads

  1. connect mainwindow with self-made widgets
    By pinkiP in forum Qt Programming
    Replies: 11
    Last Post: 10th July 2012, 10:16
  2. Create an array of Widgets
    By gt.beta2 in forum Qt Tools
    Replies: 4
    Last Post: 25th February 2009, 19:44
  3. Replies: 8
    Last Post: 16th January 2009, 16:10
  4. How to get correct header with custom made widgets?
    By Arthur in forum Qt Programming
    Replies: 3
    Last Post: 26th April 2007, 17:07
  5. How to create pop up widgets in designer.
    By gsQT4 in forum Qt Tools
    Replies: 1
    Last Post: 25th May 2006, 16:40

Tags for this Thread

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.