拖放GUI界面? [英] Drag and drop GUI interface?
问题描述
我需要创建一个GUI,用户可以在其中将各种模块连接在一起(这些只是代表特定操作的各种图像).
连接模块后,我需要为应用程序设计某种方式,以将设计内容的可视化表示转换为可传输的数据.
稍微讲一下背景-该程序是一个文件转码系统,后端几乎完整,并已用VB.NET编写.这个想法是GUI是一个工作流设计器",使用户能够根据文件类型的进出等方式创建完全可自定义的工作流.这是通过具有一个用户界面来实现的,用户可以在其中拖动各种模块" ''-例如MP3编码,WAV解码,MP4多路复用等,并通过拖动它们之间的连接线将它们连接在一起.
任何建议将不胜感激,我希望我已经足够清楚地解释了它,如果没有的话,我会详细阐述,
谢谢.
Hi,
I need to create a GUI where the user can connect various modules together(these will just be various images to represent certain actions).
Once the modules have been connected, I need to design some way for the application to translate the visual representation of what has been designed in to transferable data.
To give a bit of background - the program is a file transcoding system, the back end is nearly complete and has been written in VB.NET. The idea is that the GUI is a ''Workflow Designer'' that enables the user to create completely customisable workflows in terms of file types in and out etc. This is done by having a UI where the user can drag in various ''modules'' - e.g MP3 Encode, WAV decode, MP4 demux etc and connect them together by dragging connecting lines between them.
Any advice would be massively appreciated and I hope I''ve explained it clearly enough, if not I will elaborate,
Thanks.
推荐答案
Java与这个问题有什么关系?您可以从通用基类创建类,并支持拖放操作将其拖放到表单上并从那里显示.
What does Java have to do with this question ? You can create classes from a common base class and support drag and drop to drop them on to a form and display them from there.
这篇关于拖放GUI界面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!