KMDI "width set" signal?

Matt Rogers mattr at kde.org
Fri Jul 8 13:30:16 CEST 2005


On Friday 08 July 2005 12:54 am, Vladimir Prus wrote:
> Vladimir Prus wrote:
> > I'm currently looking at a problem in KDevelop that boils down to a KMDI
> > question. Certain windows is essentially KListView, and it's desirable to
> > make the first column exactly half width.
> >
> > That windows is docked via KMdiMainFrm::addToolWindow and its size is set
> > by KMDI. So, is there a signal that KMDI emits after resizing tool
> > window?
> >
> > Of course, I can add some "initial_size_set" method to the created
> > widget, and call it after creation, but I'd much prefer if constructor of
> > the widget would be self-contained and deal with this initial resize
> > itself.
> >
> > So: is there such a signal?
>
> Okay, assuming there's no such signal, there's another question -- is the
> width of left tool view set by KMDI once, at the moment when it's
> constructed? Or it can potentially if I hide the tool view, resize the main
> window, and show the tool view again. In my experiments with KDevelop, the
> size remains the same, but I'd prefer to know for sure.
>
> Thanks,
> Volodya

(you are right, there is no signal)

Generally, the size will remain the same until the user manually resizes the 
tool view.

-- 
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kmdi-devel/attachments/20050708/c69dd002/attachment.pgp


More information about the Kmdi-devel mailing list