Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Qtextedit pagebreak

    General and Desktop
    3
    4
    1413
    Loading More Posts
    • 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.
    • N
      Nithya last edited by

      how to view pagebreak in qtextedit..

      Regards,

      Nithya.

      1 Reply Last reply Reply Quote 0
      • F
        fdrk last edited by

        Your question is not specific enough to answer it. Perhaps this code helps?

        @QString("now follows a page break:\nThis is the next line");@

        1 Reply Last reply Reply Quote 0
        • P
          prady_80 last edited by

          Don't know what you need.
          But for reference you should look at
          QTextBlockFormat

          QTextEdit(instance)->document()->QTextBlock(begin/end/between)->QTextBlockFormat

          1 Reply Last reply Reply Quote 0
          • N
            Nithya last edited by

            page breaks in qtextedit was not visible.

            Regards,

            Nithya.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post