Results 1 to 8 of 8

Thread: defining a widget from the ui file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: defining a widget from the ui file

    if you want your own QTextEdit subclass to be instantiated, you'll need to use the "promote widget" functionality.

    Make a proper header/source implementation of your text edit class and then specify that class and its header in designer when using the promote feature.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:

    ravas (23rd June 2015)

Similar Threads

  1. Replies: 4
    Last Post: 8th January 2013, 22:08
  2. Defining widget regions sensitive to mouse events?
    By kachofool in forum Qt Programming
    Replies: 1
    Last Post: 29th December 2010, 02:37
  3. defining number
    By mickey in forum General Programming
    Replies: 1
    Last Post: 1st February 2008, 07:19
  4. Replies: 6
    Last Post: 15th September 2007, 23:14
  5. Defining data format in c++
    By locus in forum General Programming
    Replies: 3
    Last Post: 13th April 2007, 20:40

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
  •  
Qt is a trademark of The Qt Company.