Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. International
  3. Polish
  4. QPlainTextEdit

QPlainTextEdit

Scheduled Pinned Locked Moved Polish
2 Posts 2 Posters 2.4k 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.
  • P Offline
    P Offline
    Pablik2005
    wrote on last edited by
    #1

    Witam, chcę napisać prosty notatnik z możliwości zapisywania wczytywania i możliwości ustawiania Fonta.
    Na początku używałem QTextEdit (ale tam wszystko zapisywane jest w HTML'u i miałem problemy z ustawianiem fonta dla danej literki), więc przerzuciłem się na QPlainTextEdit , teraz nie wiem jak zapisywać ustawienia Fonta dla danej literki. Chciałem zrobić tablice Fontów wielkości literek i każda literka miała by swojego fonta. Teraz tak czy to rozwianie jest dobre ?? nie ma jakiegoś lepszego bardziej optymalnego sposobu ?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koniar
      wrote on last edited by
      #2

      PlainText jak sama nazwa wskazuje to tekst bez fromatu. Walcz z QTextEdit + QTextDocument http://doc.qt.nokia.com/4.7-snapshot/qtextdocument.html#details

      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