Results 1 to 2 of 2

Thread: how to realize this situation in QTableWidget

  1. #1
    Join Date
    Feb 2018
    Posts
    1
    Qt products
    Qt4 Qt5

    Smile how to realize this situation in QTableWidget

    I want to do something for some cell in QTableWidget. When I doesn't click the cell, the table cell display the text. When I click on the cell, the table cell display as comobox. I can select some value in the comobox and after select the value, the table cell will display the value and comobox will disappeared.

    Best wishes,
    Anne

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to realize this situation in QTableWidget

    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

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

    nilot (5th February 2018)

Similar Threads

  1. Android IOS situation point
    By plopes21 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 10th June 2013, 01:50
  2. Tell me what to do in following situation?
    By codeartist in forum Qt Programming
    Replies: 4
    Last Post: 1st June 2012, 05:56
  3. How to realize it?
    By weixj2003ld in forum Qt Programming
    Replies: 1
    Last Post: 23rd May 2012, 04:23
  4. Strange situation
    By Molier in forum Qt Programming
    Replies: 8
    Last Post: 1st December 2010, 23:00
  5. What design fits my situation?
    By caelestis in forum Newbie
    Replies: 1
    Last Post: 2nd February 2010, 05:20

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.