Results 1 to 7 of 7

Thread: Get QTableWidget Cell width and height

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2015
    Location
    Austria
    Posts
    20
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Get QTableWidget Cell width and height

    I can't find these methods...

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,321
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Get QTableWidget Cell width and height

    Sorry, I miss-typed. I meant QTableView. Always look in the base classes for functionality that is "missing" from the class you are instantiating.

  3. The following user says thank you to d_stranz for this useful post:

    mayrhofer (27th December 2015)

  4. #3
    Join Date
    Jul 2015
    Location
    Austria
    Posts
    20
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Get QTableWidget Cell width and height

    Ok i'll try and reply after

  5. #4
    Join Date
    Jul 2015
    Location
    Austria
    Posts
    20
    Thanks
    3
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: Get QTableWidget Cell width and height

    can you post an example of how to use this? i don´t know how to get to the parent´s method.

  6. #5
    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: Get QTableWidget Cell width and height

    You just call them like any other method.
    A QTableWidget is a QTableView.

    Cheers,
    _

  7. The following user says thank you to anda_skoa for this useful post:

    mayrhofer (27th December 2015)

Similar Threads

  1. Replies: 2
    Last Post: 19th July 2013, 09:34
  2. Pusbutton height and width
    By seany in forum Qt Programming
    Replies: 6
    Last Post: 7th June 2013, 06:35
  3. Replies: 3
    Last Post: 9th November 2012, 18:55
  4. Replies: 1
    Last Post: 25th May 2010, 14:44
  5. Replies: 1
    Last Post: 7th December 2009, 18:56

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.