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. Setting properties for custom widgets

Setting properties for custom widgets

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 824 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
    tanmay2227
    wrote on last edited by
    #1

    how do you set custom properties for custom widget plugin that will be shown on the designer too . i have made a plugin but i also need some properties to be user defined in the designer . how do i set those . please help

    Tanmay Priyadarshi

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dbzhang800
      wrote on last edited by
      #2

      You should define property in your custom widgets, see the documentation of Q_PROPERTY

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tanmay2227
        wrote on last edited by
        #3

        yeah got it thanks
        but still have one problem
        my widget has a list inside it how do i implement the edit item method type of property that some widgets have in the designer

        Tanmay Priyadarshi

        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