From koffice-devel Tue Mar 30 07:22:37 2010 From: Boudewijn Rempt Date: Tue, 30 Mar 2010 07:22:37 +0000 To: koffice-devel Subject: Re: How to create a widget looks like widgetbox in QT Designer? Message-Id: <201003300922.37275.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=koffice-devel&m=126993379711559 On Tuesday 30 March 2010, Yue Liu wrote: > I think the widget box in Designer is a good example for what a > stencil selector in Kivio should look like. But how to implement that? > Should one reference the designer source code and create his own view > or directly use designer components by add " #include > " or something ? I'm not totally sure what you want, but directly using Qt Designer components isn't a good idea. I'd be tempted to look into the Qt Designer source code to figure out what they are using -- whether it's a QListView with some custom delegates and filters or something like that. -- Boudewijn Rempt | http://www.valdyas.org _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel