Results 1 to 2 of 2

Thread: How to Insert QCheckbox into QTextEdit or QListBox

  1. #1
    Join Date
    Jan 2007
    Location
    Chennai, India
    Posts
    25
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default How to Insert QCheckbox into QTextEdit or QListBox

    I am working in Qt3.3.4

    I need to display some messages with check box either in QListBox or QTextEdit. Is is possible?

    Thanks
    Vishesh.

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

    Default Re: How to Insert QCheckbox into QTextEdit or QListBox

    From the docs:
    If you need to insert types other than strings and pixmaps, you must define new classes which inherit QListBoxItem.

Similar Threads

  1. Insert QCheckBox into QTableView
    By wind in forum Qt Programming
    Replies: 3
    Last Post: 8th October 2006, 17:15
  2. QTextEdit API questions (plain text)
    By Gaspar in forum Qt Programming
    Replies: 4
    Last Post: 16th May 2006, 07:03

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.