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. Designer widget properties
Forum Updated to NodeBB v4.3 + New Features

Designer widget properties

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

    Is it possible to set a tooltip for a custom widget property ? Actually in the qt designer the tooltip displays merely the name of the property.

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Did you try QWidget->setToolTip(...) ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • A Offline
        A Offline
        acmezger
        wrote on last edited by
        #3

        I meant the tooltip for a property, not for the widget itsself.

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          Did you try double-clicking at tooltip property at property editor. It works. Ideally there is not difference between the custom widget as the tooltip is generic property coming from QWidget. You can try with WorldClockPlugin example given with Qt installation. You can try that as well.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0
          • A Offline
            A Offline
            acmezger
            wrote on last edited by
            #5

            to precise my wish:

            I create a custom widget with a new property. I can describe by a tooltip the purpose of the widget. However I would also describe the property by its own tooltip. However the designer gives me for the property tooltip only the name of the property. It would be nice if I could change that tooltip.

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on last edited by
              #6

              Got it. I don't think it is possible. You can try to give more explanation in the toolTip of the widgets itself.

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              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