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. Does Qt fully support overlapped transparent controls on WM?

Does Qt fully support overlapped transparent controls on WM?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 3.9k Views
  • 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.
  • F Offline
    F Offline
    fifth
    wrote on last edited by
    #1

    Hi, I'm quite new to Qt but got rich experience of Win32 programming.
    In my case, originally I created my UI by MFC on Windows Mobile, and Windows Desktop either. However, I've found it was quite difficult to support overlapped transparent controls, where Windows was obviously not designed for that purpose.

    Now I'm thinking of migrating my project to Qt if it could work well for my case. For some details, image that,

    1. There is a main window, and some overlapped child windows or controls, some may be transparent, and some are not.
    2. Furthermore, I wish the z-order of these child windows are adjustable during running.
    3. There's requirement about event handling. I have to intercept mouse and key events before them are dispatched to real destination, and it's up to me to decide if continue to dispatch them or not.
    4. I will be able to fully manage focus, since the focus might not be managed by UI framework at some points.

    I've read some docs about Qt and I know there's still some limitation about Qt WM version due to WM platform intrinsic capacity.
    It's hard for me to make such decision in a short deadline since migrating all UI implementation from MFC to Qt would be a huge job, so I'd like to make sure.

    Thanks.

    1 Reply Last reply
    0
    • I Offline
      I Offline
      infoctopus
      wrote on last edited by
      #2

      I can't say for sure, but most likely Qt will suit you. And if I were in your shoes, I'd just try creating a test app with all that features.

      Qt rulez

      1 Reply Last reply
      0
      • F Offline
        F Offline
        fifth
        wrote on last edited by
        #3

        I did some prototype today, the first day I'm working with Qt.

        For my list, item 1 and 3 were verified.
        For another 2, I'm not sure yet.

        I'm looking for your help since I'm afraid of missing anything. Qt is such a large framework to learn for days, but I have to make my decision in next 2 days :(

        [quote author="infoctopus" date="1291638714"]I can't say for sure, but most likely Qt will suit you. And if I were in your shoes, I'd just try creating a test app with all that features.[/quote]

        1 Reply Last reply
        0
        • I Offline
          I Offline
          infoctopus
          wrote on last edited by
          #4

          For 2 there must be a workaround at least
          For 4 - what exactly you mean? how focus should be managed?

          Qt rulez

          1 Reply Last reply
          0
          • F Offline
            F Offline
            fifth
            wrote on last edited by
            #5

            [quote author="infoctopus" date="1291647793"]For 2 there must be a workaround at least
            For 4 - what exactly you mean? how focus should be managed?[/quote]

            There's internal focus management in my case, not exactly match that general logic of UI focus.
            For instance, some elements could internally get focused while they can't be focused in viewpoint of UI controls, and vice versa.

            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