Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date
All threads index page 2

Qt4-preview-feedback Archive, March 2008
Qt 4.4 Beta - Designer adding image resources


Message 1 in thread

In Qt Designer when editing Tooltips or What's this info the user can
now add images using the Select Resource dialog.

If I edit these resources to add new images at this stage, I find that
the images appear & are shown in the Edit Tooltip dialog but after I hit
the OK button & save the modified UI the image just selected is it seems
lost.

If I add it again direct from the Select Resources dialog (which was
previously updated to include this resource) the image is correctly
saved into the tooltip.  
 
Regards,        
David Robinson 


Please refer to www.anite.com for individual Anite company details. The contents of this e-mail and any attachments are for the intended recipient only. If you are not the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege. Contracts cannot be concluded with us nor legal service effected by email.  

Anite plc
Registered in England No.1798114
Registered Office: 353 Buckingham Avenue Slough Berks SL1 4PF United Kingdom
VAT Registration No. GB 787 418187

Scanned for viruses by BlackSpider MailControl.

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx


Message 2 in thread

On Wednesday 26 March 2008 12:17, Robinson, David wrote:
> In Qt Designer when editing Tooltips or What's this info the user can
> now add images using the Select Resource dialog.
>
> If I edit these resources to add new images at this stage, I find that
> the images appear & are shown in the Edit Tooltip dialog but after I hit
> the OK button & save the modified UI the image just selected is it seems
> lost.
>

I couldn't reproduce the behaviour you've described.
What I did:
1) Created a form and dropped a push button on it
2) From context menu over the pushbutton I've invoked "change toolTip..."
3) In "Edit ToolTip" dialog I've pressed "Insert Image" toolbutton, then "Edit 
Resources" toolbutton.
4) In "Edit Resources" dialog I've pressed the "Open Resource File" and 
chosen "tools/assistant/compat/assistant.qrc" file from qt source directory, 
then pressed OK.
5) From "Select Resource" dialog I've 
chosen ":/trolltech/assistant/images/assistant-128.png", pressed OK 
in "change toolTip" dialog and saved the form.
6) After reloading and previewing the form, the tooltip over the pushbutton 
shows the right image.

Could you please follow the steps above and verify if it works also for you? 
Are you able to modify the steps above to reproduce your issue?

Regards

Jarek

To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx