正在做一个山寨Office2003工具栏界面

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
acme_pjz
In need of some credit
In need of some credit
Posts: 8
Joined: Sat Mar 10, 2012 5:57 am

正在做一个山寨Office2003工具栏界面

Post by acme_pjz » Sun Mar 18, 2012 12:32 pm

如题,我以前用VB6的,也写过类似的山寨Office2003工具栏,不过也就仅限于工具栏和菜单,现在正打算用wxWidgets(2.9.3)写山寨Office2003工具栏、菜单、Dockable pane等(因为看了看wxAUI觉得太烂,所以干脆自己写),目前实现工具栏、菜单、Dockable area、浮动窗口的部分功能,可以在Windows和Linux(GTK)正常运行。我先发一个截图上来:
screenshot-1.png
screenshot-1.png (15.49 KiB) Viewed 9574 times
打算做好后开源(估计是wxWindows License),如果大家有兴趣的话我也可以现在发代码上来或者上传到Google Code上面,大家共同开发 :)

Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Re: 正在做一个山寨Office2003工具栏界面

Post by Utensil » Sun Mar 25, 2012 1:08 am

这个效果的确和Office2003的工具栏界面比较接近了。 =D>
支持一下~
个人比较喜欢Office 2007的工具栏风格—— http://docs.wxwidgets.org/trunk/group__ ... ibbon.html

P.S. 不知做的时候有木有考虑换肤呢?
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/

acme_pjz
In need of some credit
In need of some credit
Posts: 8
Joined: Sat Mar 10, 2012 5:57 am

Re: 正在做一个山寨Office2003工具栏界面

Post by acme_pjz » Sun Mar 25, 2012 3:43 am

现在放出测试版本1,源代码需要wxWidgets 2.9.3才能编译,完整支持工具栏的Dock(至少在Windows下)

下面是在Windows的运行截图:
s-1.png
s-1.png (9.66 KiB) Viewed 9547 times
s-2.png
s-2.png (8.53 KiB) Viewed 9547 times
已知问题:在Linux(Ubuntu 10.04)下,拖动工具栏到浮动状态会直接导致Assertion failed(CaptureMouse() failed),正在研究如何修复,而且弹出的浮动窗口大小不对,用户改变浮动窗口大小的时候也不正常(不知道怎么修正)
Utensil wrote:P.S. 不知做的时候有木有考虑换肤呢?
考虑了,代码里面有Art provider的支持,我只写了Office2003 art provider
Attachments
wxTest.rar
(30.72 KiB) Downloaded 929 times

ollydbg23
I live to help wx-kind
I live to help wx-kind
Posts: 188
Joined: Fri Dec 12, 2008 10:31 am

Re: 正在做一个山寨Office2003工具栏界面

Post by ollydbg23 » Wed Apr 18, 2012 2:41 pm

你这么有价值的代码,何不弄成一个component宣传一下?

acme_pjz
In need of some credit
In need of some credit
Posts: 8
Joined: Sat Mar 10, 2012 5:57 am

Re: 正在做一个山寨Office2003工具栏界面

Post by acme_pjz » Thu May 10, 2012 11:45 am

ollydbg23 wrote:你这么有价值的代码,何不弄成一个component宣传一下?
目前暂时没有空修改,等有空了估计会传到网上去(Google Code之类的)

kipade
Earned some good credits
Earned some good credits
Posts: 118
Joined: Fri Nov 11, 2011 2:45 am
Location: China

Re: 正在做一个山寨Office2003工具栏界面

Post by kipade » Sun Sep 16, 2012 8:39 am

这么牛X的一个东西,我怎么现在才发现呢?
贴子还沉了?
Slackware GNU/Linux
wxWidgets-3.0.3

rexscorpio
In need of some credit
In need of some credit
Posts: 5
Joined: Fri Oct 19, 2012 9:26 am

Re: 正在做一个山寨Office2003工具栏界面

Post by rexscorpio » Tue Oct 23, 2012 6:05 am

擦 佩服佩服

iwobz
In need of some credit
In need of some credit
Posts: 5
Joined: Mon Jun 04, 2012 9:59 am

Re: 正在做一个山寨Office2003工具栏界面

Post by iwobz » Thu Jan 10, 2013 9:24 am

作者真牛啊,
不过我最想要的还是一套强大的基本控件,要扩展性强点的

Post Reply