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. Qt Designer Plugin, Property Editor in initialize() returns null
Forum Updated to NodeBB v4.3 + New Features

Qt Designer Plugin, Property Editor in initialize() returns null

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.2k 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.
  • B Offline
    B Offline
    bkausbk
    wrote on last edited by
    #1

    down vote favorite

    I've created an Qt Designer Plugin and I want get a notification as soon as a property in property editor changed. As I found out there is a QDesignerPropertyEditorInterface which can exactly what I want. Documentation says, that I have to get the instance of this interface in my initialize() method.

    @void initialize(QDesignerFormEditorInterface *core) {
    [...]
    QDesignerPropertyEditorInterface *editor = core->propertyEditor();
    assert(editor != 0);
    // editor is always null here
    }@

    However, "editor" is always null here, but why? How can I access that property editor? Do I have to implement that interface first and use core->setPropertyEditor()? But documentation never mentioned it in some way.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bkausbk
      wrote on last edited by
      #2

      Or ask it in another way: How is it possible to access the property editor in my Qt Designer custom widget plugin?

      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