[Qt-interest] Database Designer

J-P Nurmi jpnurmi at gmail.com
Tue Nov 23 10:09:54 CET 2010


On Tue, Nov 23, 2010 at 9:35 AM, Joshua Wambua
<gmail at blueprint-group.co.ke>wrote:

>
>
> Hi Joshua,
>
>
>
> Please start with reading the docs:
>
> http://doc.qt.nokia.com/4.7/dnd.html
>
> <http://doc.qt.nokia.com/4.7/dnd.html>
> http://doc.qt.nokia.com/4.7/model-view-programming.html#using-drag-drop-with-item-views
>
>
>
> Once you have actually tried something, you can come up with more precise
> questions. ;-)
>
>
>
> PS. The link didn't work.
>
>
> <http://doc.qt.nokia.com/4.7/model-view-programming.html#using-drag-drop-with-item-views>
> --
>
> J-P Nurmi
>
>
>
> Thanks Nurmi.
>
>
>
> The link is actually
> http://www.blueprint-group.co.ke/joshua/images/example.PNG
>
>
>
> I have already managed the drag and drop, all I need is a  line connecting
> the 2 points.
>


Hi,

Obviously Qt doesn't offer any ready made solution for such application
specific thing. You could do some custom drawing in a QMdiArea subclass
(drawing appears below sub windows). Even though the sketch looks very
simple, I can just imagine how complex it becomes if it's a generic database
editor where can be an arbitrary amount of sub windows in arbitrary
positions...

--
J-P Nurmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101123/604f5fad/attachment.html 


More information about the Qt-interest-old mailing list