Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QTextEdit in QListWidget

QTextEdit in QListWidget

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 475 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    Qt-Bot05
    wrote on last edited by
    #1

    I'm trying to make a TODO Application. I wanted to a function to have notes on your TODO's.

    At first I wanted to have a view button that takes you to the next page with a PlainTextEdit. But I wanted it to be simpler. So my idea is when you press an item in the QListWidget it will toggle on the qplaintextedit below it. If I'm Not Making Much sense here's a simple drawing.

    Image.png

    You can toggle the text edit by clicking on the item.
    Is what I'm asking possible? Thanks in advance!

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      The QToolBox is such a collapsible widget but Im not sure we can add a checkbox to its title in any easy way.

      Its also possible to make the ListWidget collapsible with a bit of house keeping code to handle if its
      Note row is visible or not.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved