View Single Post
Old 06-06-2011, 04:02 AM   #4
burbleburble
Connoisseur
burbleburble began at the beginning.
 
Posts: 52
Karma: 38
Join Date: Jun 2011
Device: Kindle 3
Well, I took a crash course in Qt (read large portions of its manual), found some great tutourials, and have some idea of whats going on.

I do however have some specific questions to start with:
  1. If you look at the attached picture, you will see how there are gray, ridged-areas around words like 'PATTERN07'. Is there a way to create a similar effect (using labels, formatting, or whatever) inside a QTextEdit?
  2. Is there a way to bind them to a click event (so the user can select that Pattern occurence or type)? In tkinter I just tagged areas and bound the tags.
  3. Is there a way to make certain parts of the QTextEdit uneditable by user (the 'PATTERNS07' or 'CHAPTER-TITLE' tags for example)?
  4. Is there some concept of tags in QTextEdit?
  5. And last, is there maybe a better approach than QTextEdit widget and labeled paragraphs/spans; either easier to program or more intuitive for a user?

Thank you for your help!
Attached Thumbnails
Click image for larger version

Name:	program.JPG
Views:	915
Size:	166.6 KB
ID:	72374  

Last edited by burbleburble; 06-06-2011 at 04:09 AM.
burbleburble is offline   Reply With Quote