Re: "Enlarge to fit" button
Aurélien Gâteau <[email protected]> Sat, 20 Mar 2010 11:44:41 +0100
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
On 03/15/10 22:06, todd rme wrote: > 2010/3/13 Aur=E9lien G=E2teau<[email protected]>: >> Hi Todd (and sorry for the late answer) >> >> I see your point, but I am a bit worried about adding more buttons which >> will behave in subtle different ways. I am not sure what is the best >> solution. >> >> Maybe we could add a context menu to the "Fit" button so that you could >> toggle its behavior from there. It's less discoverable, but avoid adding >> too many buttons. It could also be an interesting way to turn "Zoom to >> fit" into "Zoom to fill" (zooming so that the smallest dimension takes >> the full available size, very useful for panoramic images) >> >> What do you think of this? >> >> Aur=E9lien >> > > That's fine. As long as there is an easy way to do it without opening > the settings dialog it doesn't really matter to me. It would be good, > though, if there were some visual indication that this is possible. > Is there a way to bring up a menu if you click and hold on the button? It is possible on a QToolButton, look at the ToolButtonPopupMode enum. I = am just not sure how it would behave on the custom buttons used for the = zoom buttons in Gwenview. Aur=E9lien ---------------------------------------------------------------------------= --- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev