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>Qt Designer plugin

<SOLVED>Qt Designer plugin

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 832 Views
  • 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.
  • G Offline
    G Offline
    GrahamL
    wrote on last edited by
    #1

    Hi
    I have developed a Qt Designer plugin that works.
    However, as the plugin code lives in a namespace this is displayed in when Qt Designer is run.
    I read about the 'displayname' attribute that can be set in the domXml method.
    When I use it, however, my custom widget doe not show up in Qt Designer
    Here is my domXml method -
    @
    return "<ui language="c++" displayname="Button Lable">\n"
    "<widget class="ButtonLabel" name="buttonLabel" >\n"
    " <property name="geometry">\n"
    " <rect>\n"
    " <x>0</x>\n"
    " <y>0</y>\n"
    " <width>131</width>\n"
    " <height>121</height>\n"
    " </rect>\n"
    " </property>\n"
    "</widget>\n";
    @

    Has anyone any advice on how I can get his to work

    Thanks

    EDIT: I missed a closing xml tag

    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