Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Original QMessageBox

Original QMessageBox

Scheduled Pinned Locked Moved Brainstorm
6 Posts 3 Posters 3.3k 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.
  • E Offline
    E Offline
    evergreen
    wrote on 8 Jun 2011, 15:13 last edited by
    #1

    Hello guys,

    I've got few projects in mind, that principal purpose is to impress friends and, maybe futur bosses...!
    Anyway, I would like to find some original ways to pop up QMessageBox, with an appearance completely independant from OS.

    Any ideas or experiences about it you would like to share?

    For example, I thought it could be great to blur the window over which the QMessageBox pops up. The result is pretty good.
    Any, idea to make the QMessageBox itslef splendid?
    Suggestion?

    Thanks!

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on 8 Jun 2011, 16:43 last edited by
      #2

      What might be more impressive, is re-thinking your design in such a way that you no longer need intrusive UI features like a pop up message box. Instead, try to not interupt the workflow of your user and use passive messages instead.

      Note that what you propose, is already working (like in KDE).

      1 Reply Last reply
      0
      • E Offline
        E Offline
        evergreen
        wrote on 9 Jun 2011, 07:02 last edited by
        #3

        What do you exactly mean by "passive messages" ?
        Something like using a QLabel to warn the user?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          giesbert
          wrote on 9 Jun 2011, 07:47 last edited by
          #4

          A passive message is something that comes into view to the user without stopping original workflow. It could be a label or some text overlay that does not catch the mouse, or.... Think of it yourself, without stopping user interaction with a message box.

          Nokia Certified Qt Specialist.
          Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

          1 Reply Last reply
          0
          • E Offline
            E Offline
            evergreen
            wrote on 9 Jun 2011, 08:02 last edited by
            #5

            In fact, the whole point of a QMessageBox is to protect sensitive actions.
            A passive message wouldn't really forbid the user to make other actions with the application, no?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on 9 Jun 2011, 08:17 last edited by
              #6

              That's the whole point. You should try to avoid forbidding the user to do something just because it is convenient for you as a programmer. Instead, make actions undoable, for instance.

              Always keep in mind, that your user is trying to achieve something with your program. Your program is a tool, nothing more. That tool should support whatever the user is trying to do, and not hinder him in his way to do that. Popup boxes disrupt the flow of work, and of thought and focus of the user. They can also scare the user if you start giving warnings they may have trouble to comprehend. That hinders him in his task.

              So, rather than spending time on fancy graphics effects that are really the task of the window manager to handle anyway, I would suggest rather to spend your energy on making sure the user gets done what he want to get done without being bothered or scared by your application with such dialogs.

              1 Reply Last reply
              0

              6/6

              9 Jun 2011, 08:17

              • Login

              • Login or register to search.
              6 out of 6
              • First post
                6/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved