Results 1 to 6 of 6

Thread: integrating custom widget

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Unhappy integrating custom widget

    I have read the Promotion option in qtDesigner. Its pretty good when we develop UI using qtDesinger.
    But, my application does not use drag and drop facility in QtDesigner to create widgets.

    I have created widgets dynamically via coding. Now, how can i promote a class to another class.

  2. #2
    Join Date
    Feb 2011
    Posts
    41
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: integrating custom widget

    hi

    u have to create the custom widget through the coding either go throught the qt creator and creat the required dll

  3. #3
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: integrating custom widget

    Thanks for the reply, but im not getting you. Can u please explain in detail.

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: integrating custom widget

    Its pretty good when we develop UI using qtDesinger.
    But, my application does not use drag and drop facility in QtDesigner to create widgets.
    Now, how can i promote a class to another class.
    I don't understand - do you use QtDesigner or not?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Feb 2011
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Maemo/MeeGo

    Default Re: integrating custom widget

    No im not using QtDesigner

  6. #6
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: integrating custom widget

    Then you don't need promotion - this is a feature of QtDesigner.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Custom Widget
    By Ashutosh2k1 in forum Qt Programming
    Replies: 12
    Last Post: 16th February 2011, 06:35
  2. Replies: 1
    Last Post: 6th May 2010, 10:09
  3. Replies: 9
    Last Post: 15th October 2009, 10:40
  4. Replies: 1
    Last Post: 5th November 2006, 23:50
  5. Replies: 9
    Last Post: 8th May 2006, 14:21

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.