Important: Please read the Qt Code of Conduct -

Custom widget library, name problem

  • @QString QDesignerCustomWidgetInterface::name () const [pure virtual]@

    bq. Returns the class name of the custom widget supplied by the interface.
    The name returned must be identical to the class name used for the custom widget.

    I would like to see a string like "My Awesome Widget" in designer rather than "MyAwesomeWidget". When using later one, designer does not show widgets on dialogs. Though widgets of Qt itself have the preponderance to put space on their names (for example "Plain Text Edit" or "Combo Box"). I'd like to have too.

Log in to reply