June 8, 2011

evergreen evergreen
Lab Rat
79 posts

Original QMessageBox

 

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!

5 replies

June 8, 2011

Andre Andre
Area 51 Engineer
6031 posts

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).

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

June 9, 2011

evergreen evergreen
Lab Rat
79 posts

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

June 9, 2011

Gerolf Gerolf
Area 51 Engineer
3210 posts

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.

 Signature 

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

June 9, 2011

evergreen evergreen
Lab Rat
79 posts

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?

June 9, 2011

Andre Andre
Area 51 Engineer
6031 posts

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.

 Signature 

Looking for Qt developers to join our team @ i-Optics: https://qt-project.org/forums/viewthread/25393/

 
  ‹‹ New on 01-Aug-2011: I have a way to support *ALL* MOUSE BUTTONS in Qt, while staying compatible wth the 4.x series!      Qt custom input method? ››

You must log in to post a reply. Not a member yet? Register here!