PATCH: Default progress dialog

Waldo Bastian bastian at kde.org
Fri Aug 9 22:41:29 BST 2002


On Thursday 08 August 2002 06:08 pm, Waldo Bastian wrote:
> On Thursday 08 August 2002 05:04 pm, Dawit A. wrote:
> > On Wednesday 07 August 2002 16:29, Martijn Klingens wrote:
> > > On Wednesday 07 August 2002 07:27, Dawit A. wrote:
> > > > The attached patch changes the squeezed labels to read-only lineedit
> > > > in the progress dialog so that one can copy either URL as needed.
> > > > See attached screenshot.
> > >
> > > Doesn't the active label that e.g. KMessageBox uses look nicer (less
> > > full of widgets, because of all borders). Apart from that, nice
> > > feature! :)
> >
> > The active label is a multiline label box.  It would be an over kill to
> > use it here.  The frame on the line edit can be changed to look like a
> > label, but then the user would not be able to distinguish this from any
> > normal label.
>
> I think it looks nice in your screenshot.
>
> Although I think it would look nicer if it was squeezed but in such a way
> that selecting the text would select the original URL instead of the
> squeezed one.
>
> I can make that I think.

Yay... aply patch and use setSqueezedText() instead of setText()

It sets a tooltip with the full text and selecting the thing also selects the 
full text instead of the "..." part. It adjusts accordingly when resized.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klineedit_squeeze.diff
Type: text/x-diff
Size: 5563 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020809/243c6a99/attachment.diff>


More information about the kde-core-devel mailing list