FLTK & the List of Widget toolkits based on C/C++

Fltk_widget_toolkit All below widget toolkits are and based on C/C++(from wikipedia):

CEGUI · Component Library for Cross Platform · dlib C++ Library · · FOX toolkit · OpenGL User Interface Library · GTK+ · IUP · Juce · Qt · Tk · TnFOX · Visual Component Framework · wxWidgets · YAAF · XForms · XVT

其中我们可以看到比较熟悉的,OpenGL,GTK+,Qt, 等。和QT或者相比,非常轻量级的也具有很多优点。

Continue reading FLTK & the List of Widget toolkits based on C/C++ - 全文阅读

wxWidget Layout Algorithm Demo - BoxPlanner

BoxPlanner Many applications specify absolute position and absolute sizes when they lay out controls in the parent window. This strategy has some drawbacks: The created cannot be resized, changes are difficult and creation of good looking is time consuming.

Another way which is very common in frameworks (wxWidgets, , …) is to use algorithm. A algorithm determines the size and position of its controls based on its policy. Although every control can provide its preferences about its size, position and alignment, the algorithm can ignore these preferences if they are against its policy.

Continue reading wxWidget Layout Algorithm Demo - BoxPlanner - 全文阅读

wxWidgets Programming: Sizer, Frame and Panel

wxwidget-gui-library 个人感觉在 编程时,一开始最难于理解和使用的就是,尤其是在与各种控件、Panel嵌套搭配的时候,包括对控件间隙以及父窗口大小发生改变时各个控件的变化定义等。在网上发现这篇文章非常详细的总结了, Frame和Panel的关系并通过简单的实例深入浅出地讲解了这一部分,转载在此供大家参考,如果你有相关技术问题或者开发心得也可以发评论参加讨论。

[原文如下] 最近在研究跨平台的C/C++ 库,基本说来功能强大,稳定且开源的库就是了,关于他们之间具体的比较详见《WxWidgets Compared To Other Toolkits》。 N年以前研究过一段时间的代码,不过主要因为其在Windows开发商用软件还是要一定的license费用,所以不能说是真正的免费跨平台。 则是一套免费开源的跨平台C++ 库,它的一个特点就是可以转换为native 的api图形界面。就是说用同样的代码,在windows平台看起来就是window风格的,在X Windows平台看起来就是风格的。

Continue reading wxWidgets Programming: Sizer, Frame and Panel - 全文阅读

QT4+MinGW+Code::Blocks IDE集成

qtplatforms13map再转载一篇关于QT安装和在中使用的文章,含有详细的步骤。关于QT的介绍:

Qt is a cross-platform application and framework. Using Qt, you can write applications once and deploy them across many desktop and operating systems without rewriting the source code. Develop applications and user interfaces once, and deploy them across , Mac, /X11, , CE and S60 (coming soon) without rewriting the source code.  - qtsoftware.com

Continue reading QT4+MinGW+Code::Blocks IDE集成 - 全文阅读

Code::Blocks + Qt体验

qtlogo

转载这一篇文章,开发的程序员可以参考。其中包括了编译,还有的详细设置步骤。

 

今天写一篇编程日志。

使用VC编译以及总是会发觉n多warnning,于是决定换一个编译器,结果就找到了gcc for 版本MinGW.

安装很容易,要么自己download,要么使用官方网提供的工具,把Get Started 或者Manual 或者Reference之类的看一下,然后三下两下就搞定安装。
安装好了,还缺少一个MinGW的IDE,这样可以减少敲命令的繁琐。在Unix下那是万不得已。在下,当然要找个IDE来,于是找到了Code::Blocks安装也很方便。其实它本身就已经附带了gcc安装包,安装完毕以后,在其目录下面就会有一个MinGW目录,那就是gcc编译器的的窝。
近来闲来无聊之时,便拿它们练起了
总得感觉,gcc编译能力比vc还是要强悍很多。
编译时,要添加环境变量设置:

 

Continue reading Code::Blocks + Qt体验 - 全文阅读

Contact us

Admin: Bryan Wu