Qt Forum

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

    QTextEdit and URL clicked signal

    General and Desktop
    2
    4
    2715
    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.
    • P
      Pablik2005 last edited by

      Hi
      I need make signal in QTextEdit when URL will by clicked and this sgnal mass have URL as parameter ( for example SIGNAL(urlClick(QString f_URL)))
      Can do that ??

      1 Reply Last reply Reply Quote 0
      • R
        raaghuu last edited by

        Hi...
        I didn't exactly understand what you want to do...
        Do you want the QTextEdit to show something when a URL is clicked?

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

          My app is a notepad, the URL will by path to file and i want do somthing like that, if URL will bee clicked then app open this file in window.

          Maybe is other way to do somting like that ?

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

            I have solution QTextEdit::anchorAt()

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