Forum
Sign Up

TOPIC: popup windows feature request / bug report

popup windows feature request / bug report 2 years 4 months ago #1

  • andi
  • andi's Avatar
  • OFFLINE
  • More Details
    • Karma: 4
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:
The administrator has disabled public write access.

Re: popup windows feature request / bug report 2 years 4 months ago #2

  • andi
  • andi's Avatar
  • OFFLINE
  • More Details
    • Karma: 4
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: 2 years 4 months ago by andi.
The administrator has disabled public write access.

Re: popup windows feature request / bug report 2 years 4 months ago #3

  • andi
  • andi's Avatar
  • OFFLINE
  • More Details
    • Karma: 4
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: 2 years 4 months ago by andi.
The administrator has disabled public write access.

Re: popup windows feature request / bug report 2 years 3 months ago #4

  • andi
  • andi's Avatar
  • OFFLINE
  • More Details
    • Karma: 4
hello? :)
The administrator has disabled public write access.

Re: popup windows feature request / bug report 2 years 3 months ago #5

  • bigz
  • bigz's Avatar
  • OFFLINE
  • More Details
    • Developer
    • Karma: 10
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 administrator has disabled public write access.
The following user(s) said Thank You: andi

Re: popup windows feature request / bug report 2 years 3 months ago #6

  • bigz
  • bigz's Avatar
  • OFFLINE
  • More Details
    • Developer
    • Karma: 10
Problem with close button has been fixed. Bugfix will be available in the next update.
The administrator has disabled public write access.
The following user(s) said Thank You: andi
Moderators: richmendoza
Time to create page: 0.116 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 )