Re: GUI development based on wxwidgets
"Liu Andy" <[email protected]> Thu, 02 Nov 2006 22:33:36 +0800
| Newsgroups | gmane.comp.video.videolan.vlc.general,gmane.comp.video.videolan.vlc.devel,gmane.comp.video.videolan.announce |
|---|---|
| Message-ID | <[email protected]> |
Hi All, Sorry to bother you guys again. What I'm trying to do is as following: 1. When some inernal event happens, e.g. incoming control message says that current network bandwidth available is very limited, then VLC media player shall popup a window or message box alerting user about the situation. Note that this popup shall NOT block anything else. 2. After user hits some buttong, e.g. "OK" or "Cancel", VLC media player shall be able to do some further operation, e.g. stop playing video automatically. 3. items above are based on WxWidgets. 4. VLC0.8.5 + FC4 Normally, GUI seems to be triggered by end user, e.g. clicking operations, but it's not the case here, instead it's some internal event which triggers window shown. Meanwhile, GUI shall still be able to capture user's clicking on "OK" button of the window. .../wxwidgets/interface.cpp, "void Interface::OnAbout( wxCommandEvent& WXUNUSED(event) )" This seems to be the event handler of "About" item in menu, which just uses wxMessageBox() to show the box, is this a useful reference for me ?? I also checked development tool for WxWidgets under Fedora, but my requirement seems too simple for those tools... I still have to integrate code into VLC code base after GUI object is ready. Please show me some hints and a quick solution if you are familiar with VLC + WxWidgets, thanks a lot. >From: Rafa毛l Carr茅 <[email protected]> >Reply-To: [email protected] >To: "Liu Andy" <[email protected]> >CC: [email protected], [email protected],[email protected] >Subject: [vlc] Re: GUI development based on wxwidgets >Date: Mon, 30 Oct 2006 15:45:30 +0100 > >Le Mon, 30 Oct 2006 22:05:25 +0800, >"Liu Andy" <[email protected]> a 茅crit : > > > Currently I use 0.8.5, does it also support "QT4-based interface" ? I > > can only see wxwidgets and Skins2... > >No, 0.8.5 and 0.8.6 use only wxwidgets and skins2 > >the development version use QT too, but it is not finished, and >quite unstable. > > > AND, if I use some QT designer > > (e.g. KDevelop) to get my components well prepared, how can I merge > > it into current framework, how much effort does that need ? > > > >I think that should be easy if you edit existing dialogs. > >If you want to create new, you could do it from scratch > >But once these dialogs are made, you have to integrate code that use >it, and you'll have to modify the source. > > > I can see from code that "About" dialog is created using wxwidgets, > > right ? I've thought that it may be a good reference for me, hehe. > > But I just don't know if it's feasible to simulate it within code... > >Well you have the choice, I'm sure good GUI editors exist for WxWidgets >too but I don't know any. > >-- >Rafa毛l Carr茅 ><< signature.asc >> _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn -- This is the vlc mailing-list, see http://www.videolan.org/vlc/ To unsubscribe, please read http://www.videolan.org/support/lists.html