Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [solved] Promoting with preview
Forum Updated to NodeBB v4.3 + New Features

[solved] Promoting with preview

Scheduled Pinned Locked Moved General and Desktop
3 Posts 3 Posters 1.6k Views 1 Watching
  • 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.
  • T Offline
    T Offline
    ThaRez
    wrote on last edited by
    #1

    Hello
    Is it possible to create a custom widget and in qt designer promote a widget to it so that a preview of the custom widget is shown in the qt designer? This would easy the design process. Thanks

    • Richard
    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      [quote]
      Hello
      I’m wondering it it’s possible to display a preview of the custom class when promoting a widget?
      E.g. I I make a widget consisting of standard components, let’s say two pushbuttons, can I have
      the Qt creator (design mode) displaying this when promoting a widget to this custom class?
      Best regards
      Richard
      [/quote]

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DerManu
        wrote on last edited by
        #3

        You'll need to create a QtDesigner widget plugin. How to do that is described here
        http://qt-project.org/doc/qt-4.8/designer-creating-custom-widgets.html

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved