Results 1 to 3 of 3

Thread: QGridStarLayout - A Qt grid layout identical to WPF's star sized grid

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QGridStarLayout - A Qt grid layout identical to WPF's star sized grid

    Nice work!

    Though I would recommend to follow Qt's style for naming methods, i.e. start with a lower case letter and probably name them in a way they say what they are doing.
    E.g. addRowDefinition() if it adds the definition of a new row. At least that is what it looks like.

    Also it is usually not a good idea to call a custom class QSomething, that makes it look like a class from Qt and gets people confused when they can't find it in the documentation.

    Cheers,
    _

  2. #2
    Join Date
    Nov 2015
    Posts
    2
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Re: QGridStarLayout - A Qt grid layout identical to WPF's star sized grid

    Thank you for the suggestions! I'll fix the naming conventions soon.

Similar Threads

  1. Replies: 2
    Last Post: 4th September 2014, 11:09
  2. qdirmodel in grid layout
    By babu198649 in forum Newbie
    Replies: 1
    Last Post: 27th July 2008, 08:26
  3. How do I layout in a Grid?
    By DPinLV in forum Qt Tools
    Replies: 7
    Last Post: 10th August 2006, 01:37
  4. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  5. Grid layout
    By nupul in forum Qt Programming
    Replies: 7
    Last Post: 21st April 2006, 21:15

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.