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).
我需要开发一个Windows应用程序,它需要支持皮肤。我正在寻找一个框架来使用。我更倾向于不使用QT,因为它的许可 - GPL对我来说不是一个选择,否则它是昂贵的(我不能推迟开发这个应用程序直到三月,当QT应该去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.
有没有人对我应该使用什么有任何建议?我的语言选项是C / C ++,C#(最好是.Net 2.0或更低版本)或Visual Basic。像QT那样使用准CSS进行蒙皮的东西将是一个奖励。开源许可(LGPL,麻省理工学院等)也将是一个奖金。
Thanks!
8 个解决方案
#1
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).
我原以为“WPF”是(明显的)最佳答案 - 除非您对.Net 2或更低版本的偏好是不可破解的。要使用WPF,你可以用.Net3-3.5中的C#/ VB / F#编写(或者甚至可能很快就会出现.Net的IronRuby / IronPython)。
Google for 'skins' and 'WPF' and you will get loads of matches. There is implicit but very good support for skinning in WPF.
谷歌的'皮肤'和'WPF',你将获得大量的比赛。在WPF中对皮肤有隐含但非常好的支持。
For example: http://www.wpfdev.com/2008/04/09/creating-skins-for-wpf-controls/
例如:http://www.wpfdev.com/2008/04/09/creating-skins-for-wpf-controls/
#2
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.
如果您正在谈论C ++,那么您可以查看Ultimate ++,根据文档提供的皮肤(从未尝试过此功能)。与其他一些widget工具包不同,它试图利用现代C ++特性。它相当轻巧。至于许可证 - 所有的“最佳” - BSD。
#3
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.
看一下DevExpress DXperience .NET WinForms控件(特别是“DefaultLookAndFeel”和“StyleController”不记得它们是哪一个)。它们非常强大,并且能够轻松地为您的应用程序编写自己的皮肤。目前有特别优惠,您可以免费获得60个DevExpress控件。
#4
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.
Gtk支持主题,此链接提供了更多信息来编译主题http://dt.in.th/2008-08-25.gtk-compile-windows.html。你也会发现很多Gtk的主题,请参见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.
如果你想要一个商业解决方案,对于MFC / C ++,有C#/。Net Infragistics的BCGSoft,Codejock。如果你打算做一些非常简单的事情就足够了,但是如果你想做更复杂的用户界面,他们可能会开始变得太过分了。
#5
Another vote for DevExpress if you're doing C# development, and you're prepared to use a commercial product.
如果你正在进行C#开发,那么对DevExpress的另一次投票,你准备使用商业产品。
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.
看看他们的ExpressApp Framework产品(XAF)。它附带了许多皮肤。该演示相当不错。该框架将为Win和Web部署生成应用程序。
It's not cheap, but depending on the application which you're trying to produce, it could save you a fortune.
它并不便宜,但根据您尝试生产的应用程序,它可以为您节省一大笔钱。
#6
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.
我最终编写了自己的自定义皮肤支持,特定于我的应用程序。将wxNO_BORDER与wxWidgets一起使用,并从头开始编写大量控件,给了我所需的能力。
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.
在未来,我可能会使用QT,当它在LGPL下,或者WPF时,如果DotNet 3是我的选择。
Thanks for all the responses.
感谢所有的回复。
#7
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.
我认为XAF是现在快速开发皮肤应用程序的最佳选择,它支持Windows和Web UI,只需一个代码库。另一方面,如果你认真考虑表现,你最好在做出最终决定之前自己尝试。
#8
I will try Qt Designer and try the integrated CSS editor before taking a decission.
我将尝试Qt Designer并尝试集成的CSS编辑器,然后再做出决定。
Anyway I will bet on Qt4
无论如何,我会打赌Qt4
#1
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).
我原以为“WPF”是(明显的)最佳答案 - 除非您对.Net 2或更低版本的偏好是不可破解的。要使用WPF,你可以用.Net3-3.5中的C#/ VB / F#编写(或者甚至可能很快就会出现.Net的IronRuby / IronPython)。
Google for 'skins' and 'WPF' and you will get loads of matches. There is implicit but very good support for skinning in WPF.
谷歌的'皮肤'和'WPF',你将获得大量的比赛。在WPF中对皮肤有隐含但非常好的支持。
For example: http://www.wpfdev.com/2008/04/09/creating-skins-for-wpf-controls/
例如:http://www.wpfdev.com/2008/04/09/creating-skins-for-wpf-controls/
#2
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.
如果您正在谈论C ++,那么您可以查看Ultimate ++,根据文档提供的皮肤(从未尝试过此功能)。与其他一些widget工具包不同,它试图利用现代C ++特性。它相当轻巧。至于许可证 - 所有的“最佳” - BSD。
#3
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.
看一下DevExpress DXperience .NET WinForms控件(特别是“DefaultLookAndFeel”和“StyleController”不记得它们是哪一个)。它们非常强大,并且能够轻松地为您的应用程序编写自己的皮肤。目前有特别优惠,您可以免费获得60个DevExpress控件。
#4
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.
Gtk支持主题,此链接提供了更多信息来编译主题http://dt.in.th/2008-08-25.gtk-compile-windows.html。你也会发现很多Gtk的主题,请参见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.
如果你想要一个商业解决方案,对于MFC / C ++,有C#/。Net Infragistics的BCGSoft,Codejock。如果你打算做一些非常简单的事情就足够了,但是如果你想做更复杂的用户界面,他们可能会开始变得太过分了。
#5
Another vote for DevExpress if you're doing C# development, and you're prepared to use a commercial product.
如果你正在进行C#开发,那么对DevExpress的另一次投票,你准备使用商业产品。
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.
看看他们的ExpressApp Framework产品(XAF)。它附带了许多皮肤。该演示相当不错。该框架将为Win和Web部署生成应用程序。
It's not cheap, but depending on the application which you're trying to produce, it could save you a fortune.
它并不便宜,但根据您尝试生产的应用程序,它可以为您节省一大笔钱。
#6
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.
我最终编写了自己的自定义皮肤支持,特定于我的应用程序。将wxNO_BORDER与wxWidgets一起使用,并从头开始编写大量控件,给了我所需的能力。
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.
在未来,我可能会使用QT,当它在LGPL下,或者WPF时,如果DotNet 3是我的选择。
Thanks for all the responses.
感谢所有的回复。
#7
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.
我认为XAF是现在快速开发皮肤应用程序的最佳选择,它支持Windows和Web UI,只需一个代码库。另一方面,如果你认真考虑表现,你最好在做出最终决定之前自己尝试。
#8
I will try Qt Designer and try the integrated CSS editor before taking a decission.
我将尝试Qt Designer并尝试集成的CSS编辑器,然后再做出决定。
Anyway I will bet on Qt4
无论如何,我会打赌Qt4