I’m trying to make a note-taking app and so as a starting point would like this rough outline to resemble this with the file directory on the left and the canvas on the right. I wanted to use the textedit example and the editabletreemodel example from PyQt6’s docs but they are both represented as QMainWindow types. I figure one of them (probably editabletreemodel) has to become a widget but I am unsure how to go about this without breaking it.
I figure one of them (probably editabletreemodel) has to become a widget but I am unsure how to go about this without breaking it. Making editabletreemodel a widget however and combining it with TextEdit to then set them both as a central widget for the main window hasn’t been working though.
Benjamin Tsoumagas is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.