Results 1 to 7 of 7

Thread: Add signals to qTextEdit

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2017
    Posts
    55
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Add signals to qTextEdit

    I have implemented a 3rd party LED widget called tled. It suggests promoting a qTextEdit widget to tled because of some of the methods that tled needs to inherit from qTextEdit.

    Now, unfortunately I find that I need the ability to click on the promoted LED to initiate some processing. Of course qTextEdit does not emit a clicked() or pressed() signal.

    I guess my only option, if I stick with the qTextEdit is to attach mouse functions to qTextEdit. How do I do that? or can I add a clicked() signal to my LED?

    I am using RHEL6 and Qt4.8.

    Thanks for any help

    emp1953
    Last edited by emp1953; 27th August 2019 at 21:53.

Similar Threads

  1. Replies: 6
    Last Post: 21st March 2017, 18:16
  2. Replies: 6
    Last Post: 29th April 2011, 16:22
  3. Replies: 1
    Last Post: 24th October 2010, 12:09
  4. QTextEdit cut copy and paste signals.
    By chris_helloworld in forum Qt Programming
    Replies: 0
    Last Post: 19th October 2010, 12:15
  5. QThread and signals (linux/UNIX signals not Qt Signals)
    By Micawber in forum Qt Programming
    Replies: 1
    Last Post: 28th November 2007, 23:18

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.