#1142: BToolbar API ----------------------------+----------------------------------------------- Reporter: ekdahl | Owner: Type: enhancement | Status: new Priority: low | Milestone: Unscheduled Component: User Interface | Version: R1/Development Keywords: | Blockedby: Platform: All | Blocking: 5552 ----------------------------+----------------------------------------------- Comment(by plfiorini): I started doing some stuff for Caya, actually I've just wrote a ToolButton that supports bitmaps and/or text and menus; some features from Qt's QToolButton are planned so that a ToolButton would be used either inside or outside toolbars. Also, I'm a big fan of QAction which would be useful to create toolbuttons and menuitems from the same action, a benefit would be to enable or disable the action will always enable or disable the respective controls and trigger the same BMessage when pressed. Here's the code for reference, I will post another comment once a Toolbar class is done: http://svn.osdrawer.net/caya/trunk/libs/libinterface/ToolButton.cpp http://svn.osdrawer.net/caya/trunk/libs/libinterface/ToolButton.h -- Ticket URL: <http://dev.haiku-os.org/ticket/1142#comment:4> Haiku <http://dev.haiku-os.org> Haiku - the operating system.