Project Filter merged
Milian Wolff
mail at milianw.de
Sun Nov 21 16:26:10 UTC 2010
On Sunday 21 November 2010 17:02:43 Milian Wolff wrote:
> On Sunday 21 November 2010 16:41:46 Andreas Pakulat wrote:
> > > > If the line stays, then it should only become visible when the user
> > > > presses a "Filter" toolbutton.
> > >
> > > I thought about putting it in one line with the other actions, which
> > > would require some changes in Sublime API though, i.e. to make it
> > > possible to add widgets and actions into the toolbar (like is possible
> > > when you'd have direct access to the toolbar). I'll think about how to
> > > do it properly. It would require the ability to place widgets (and
> > > separators) at a very specific position, so either (my favorite) make
> > > the toolbar available in the plugin to get full access to it, or -
> > > alternatively change the current QList<QAction> to something like
> > > QList<QVariant> or similar... Lets see.
> >
> > Uhm, QWidgetAction is a QAction so using that to embed a widget
> > shouldn't be a problem with the existing API. Also all KAction's are
> > QWidgetActions by inheritance already.
>
> Awesome, didn't know that. Will try that out later!
Implemented now.
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20101121/6092747d/attachment.sig>
More information about the KDevelop-devel
mailing list