用于开发皮肤应用程序的最佳框架是什么?

发布于 2024-07-12 13:30:26 字数 301 浏览 13 评论 0原文

我需要开发一个Windows应用程序,并且它需要支持皮肤。 我正在寻找一个可以使用的框架。 我宁愿不使用 QT,因为它的许可 - GPL 对我来说不是一个选择,而且它太昂贵了(而且我不能推迟开发这个应用程序到三月份,届时 QT 应该采用 LGPL) 。

有人对我应该使用什么有什么建议吗? 对我来说,语言选项是 C/C++、C#(最好是 .Net 2.0 或更低版本)或 Visual Basic。 像 QT 那样使用准 CSS 进行换肤的东西将是一个额外的好处。 开源许可(LGPL、MIT 等)也将是一个额外的好处。

谢谢!

I need to develop an application for windows, and it needs to support skins. I am looking for a framework to use. I would much prefer to not use QT, because of it's licensing - GPL is not an option for me, and it is otherwise to expensive (and I can't put off developing this application till March, when QT is supposed to go LGPL).

Does anyone have any suggestions as to what I should use? Language options for me are C/C++, C# (preferably .Net 2.0 or lower), or Visual Basic. Something that used quasi-CSS for skinning, like QT does, would be a bonus. Open Source licensing (LGPL, MIT, etc) would be a bonus as well.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

暮色兮凉城 2024-07-19 13:30:27

看一下 DevExpress DXperience .NET WinForms 控件(尤其是“DefaultLookAndFeel”和“StyleController”不记得它们是哪一个)。 它们确实非常强大,并且能够轻松地为您的应用程序编写自己的皮肤。
目前有一项特别优惠,您可以免费获得 60 个 DevExpress 控件。

http://devexpress.com/Products/Free/WebRegistration60/

Take a look at the DevExpress DXperience .NET WinForms Controls (especially "DefaultLookAndFeel" and "StyleController" cannot remember which of them it was). They are really powerful and there is the ability to to easily write own skins for your application.
At the moment there is a special offer where you can get 60 DevExpress Controls free of charge.

http://devexpress.com/Products/Free/WebRegistration60/

猫腻 2024-07-19 13:30:27

Gtk 支持主题,此链接提供了编译主题的更多信息 http ://dt.in.th/2008-08-25.gtk-compile-windows.html。 此外,您还会发现很多 Gtk 主题,请参见此处 http://art.gnome.org /主题/gtk2

如果您想要商业解决方案,对于 MFC/C++,有 BCGSoftCodejock,用于 C#/.Net Infragistics< /a>. 如果您打算做一些非常简单的事情,那么它们中的任何一个就足够了,但是如果您想做更复杂的 UI,它们可能会开始变得太多。

Gtk support themes, this link provide more info to compile a theme http://dt.in.th/2008-08-25.gtk-compile-windows.html. Also you will find a lots of themes for Gtk , see here for example http://art.gnome.org/themes/gtk2.

If you want a commercial solution, for MFC/C++ there's BCGSoft, Codejock, for C#/.Net Infragistics. If you plan to do something very simple any of them can be enough, but if you want to do more complex UI they may start getting too much in the way.

未蓝澄海的烟 2024-07-19 13:30:27

如果您正在进行 C# 开发,并且准备使用商业产品,请再投票给 DevExpress。

看看他们的 ExpressApp 框架产品 (XAF)。 这附带了许多皮肤。 演示相当不错。 该框架将为 Win 和 Web 部署生成应用程序。

它并不便宜,但根据您想要生成的应用程序,它可以为您节省一大笔钱。

Another vote for DevExpress if you're doing C# development, and you're prepared to use a commercial product.

Have a look at their ExpressApp Framework product (XAF). This ships with a number of skins. The demo is reasonably good. The framework will generate applications for both Win and Web deployment.

It's not cheap, but depending on the application which you're trying to produce, it could save you a fortune.

情何以堪。 2024-07-19 13:30:27

我最终编写了自己的自定义皮肤支持,特定于我的应用程序。
将 wxNO_BORDER 与 wxWidgets 一起使用,并从头开始编写大量控件,给了我所需的能力。

将来,当 QT 在 LGPL 下时,我可能会使用 QT,或者当 DotNet 3 对我来说是一个选择时,我可能会使用 WPF。

感谢您的所有回复。

I've ended up writing my own custom skinning support, specific to my application.
Using a wxNO_BORDER with wxWidgets, and writing lots of controls from scratch, has given me the abilities I need.

In the future, I'll probably use QT, when it is under LGPL, or else WPF, when and if DotNet 3 is an option for me.

Thanks for all the responses.

初心 2024-07-19 13:30:27

我认为 XAF 是现在快速开发皮肤应用程序的最佳选择,它通过单一代码库支持 Windows 和 Web UI。 另一方面,如果你非常关心性能,那么你最好亲自尝试一下,然后再做出最终决定。

I think XAF is the best choice now to rapidly develop a skinned application, and it supports both Windows and Web UI with a single code base. On the other side, if performance is what you concern seriously, you'd better try it yourself hardly before making final decision.

你另情深 2024-07-19 13:30:27

在做出决定之前,我会尝试 Qt Designer 并尝试集成的 CSS 编辑器。

无论如何我会押注Qt4

I will try Qt Designer and try the integrated CSS editor before taking a decission.

Anyway I will bet on Qt4

执妄 2024-07-19 13:30:26

我本以为“WPF”是(显而易见的)最佳答案 - 除非您对 .Net 2 或更低版本的偏好牢不可破。 要使用 WPF,您可以在 .Net3-3.5 中使用 C#/VB/F# 进行编写(或者甚至可能在 .Net 中即将推出的 IronRuby/IronPython)。

谷歌搜索“skins”和“WPF”,您将获得大量匹配项。 WPF 中对换肤有隐式但非常好的支持。

例如:http://www.wpfdev。 com/2008/04/09/creating-skins-for-wpf-controls/

I would have thought that "WPF" is the (obvious) best answer - unless your preference for .Net 2 or lower is unbreakable. To use WPF, you would be writing in either C#/VB/F# in .Net3-3.5 (or perhaps even IronRuby/IronPython that are coming out for .Net shortly).

Google for 'skins' and 'WPF' and you will get loads of matches. There is implicit but very good support for skinning in WPF.

For example: http://www.wpfdev.com/2008/04/09/creating-skins-for-wpf-controls/

笑着哭最痛 2024-07-19 13:30:26

如果您谈论的是 C++,那么您可以查看 Ultimate++,根据文档,它提供了换肤功能(从不提供换肤功能)尝试过这个功能)。 与其他一些小部件工具包不同,它尝试利用现代 C++ 功能。 而且它相当轻。 至于许可证——“最好的”许可证——BSD。

If you are speaking about C++ then you can have a look at Ultimate++ which according to the docs offers skinning (never tried this feature). Unlike some other widget toolkits it attempts to make some use of the modern C++ features. And it is rather lightweight. As for the license - the "best" of all - BSD.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文