Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QStaticText support for QWidget and Creator integration request
Forum Updated to NodeBB v4.3 + New Features

QStaticText support for QWidget and Creator integration request

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 4 Posters 3.9k 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.
  • N Offline
    N Offline
    ncsunickv
    wrote on last edited by
    #1

    Hi,

    I work mainly with embedded devices--Windows CE. Performance is a major issue that I have to deal with. In 4.7, it appears that QStaticText was added, which seems to have given noticeable performance increases. Was wondering if this could be extended in the form of a check-box, or something to this effect in Creator, for standard QWidget items, such as a push button, label, etc...? Being that we're using widgets, and not implementing our own paint overrides, if there was a way to have this more automatic, this may be advantageous to standard forms.

    Or, if this is already possible, is there an easy way to do this, or modify some core code for this type of change? Thanks,

    Nick

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anselmolsm
      wrote on last edited by
      #2

      Hi Nick!
      I think the best thing to do is to report your request in the "official Qt bug tracker":http://bugreports.qt.nokia.com/. There you have the guarantee a Qt developer you take a look at your request =)

      Anselmo L. S. Melo (anselmolsm)

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ncsunickv
        wrote on last edited by
        #3

        Sounds good, will do. Thanks.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          Even better would be to get a git clone of Qt source tree, patch it yourself and file a merge request.

          Nokia Certified Qt Specialist
          Interested in hearing about Qt related work

          1 Reply Last reply
          0
          • B Offline
            B Offline
            benjamin.poulain
            wrote on last edited by
            #5

            Yep, I also think you'd better look into this yourself and make a merge request. I don't think such a task will have a high priority since developers are moving away from QWidget and are working on QML.

            The problem of such a task is that it requires to modify the rendering of each widget to use QStaticText. In each case, some consideration have to be taken regarding memory consumption for the typical use of the widget.

            What you are asking, the ability to dynamically use QStaticText, is also of difficult because it doubles lots of path in rendering and model handling.

            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