Forum
Sign Up

popup windows feature request / bug report

11 years 8 months ago #1 by Andreas (@pics.co.at)
hi guys...

I have tested the popupwindows today and some question appeared..

1.) is it possible to disable the autoclose? or set displaytime to infinte?
2.) every popup appears above the other... if I have to much popups it isn't shown anymore (see attached screen)
3.) if I have many popups one above the other the first popup will disappear first.. but the others will stay on their location... it would be nice if the popupwindows slide downwards --> so that the popup window is always on the lower right corner

best regards
andi
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #2 by Andreas (@pics.co.at)
I have found one more thing.. I can't set the CloseButtonPixmap...

What am I doing wrong?

setTitleCloseButtonVisible(true);
setCloseButtonPixmap(QPixmap("close.ico"); // I also tried it with close.png

best regards andi
Last edit: 11 years 7 months ago by Andreas (@pics.co.at).

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago - 11 years 7 months ago #3 by Andreas (@pics.co.at)
one more problem.. I can't click on the close button

code to reproduce:
OfficePopupWindow* aPopup = new OfficePopupWindow(this);//this - ptr to main wnd
aPopup->setBodyText( "Ooops! Surprise! Try to <b>close me via close button</b>..." );
aPopup->setDisplayTime(2000000);
aPopup->setDragDropEnabled(true);
aPopup->setTitleCloseButtonVisible(true);
aPopup->setAnimation(Qtitan::PopupAnimationFade);
aPopup->setAnimationSpeed(250);
aPopup->setTransparency(1.0);
aPopup->setAttribute(Qt::WA_DeleteOnClose);
aPopup->showPopup();


attached a screenshot which shows how the popup should look

best regards
andi
Attachments:
Last edit: 11 years 7 months ago by Andreas (@pics.co.at).

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #4 by Andreas (@pics.co.at)

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #5 by Developer Machines
1) We have added the ability to specify an unlimited time for display. To do this you have to pass -1 parameter to setDisplayTime().
2) Currently this is planned behavior. We will think about how to improve.
3) Your suggestion has registered and will be considered.
4) About close button. This is bug in component. It will be fixed in the next update.
The following user(s) said Thank You: Andreas (@pics.co.at)

Please Log in or Create an account to join the conversation.

More
11 years 6 months ago #6 by Developer Machines
Problem with close button has been fixed. Bugfix will be available in the next update.
The following user(s) said Thank You: Andreas (@pics.co.at)

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.139 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )