d34409ad02ea0d28e08a6c4b089a412fdb3b4c9cvboxsync * VBox Qt GUI - UIGraphicsToolBar class declaration.
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * Copyright (C) 2012 Oracle Corporation
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * available from http://www.virtualbox.org. This file is free software;
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * you can redistribute it and/or modify it under the terms of the GNU
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * General Public License (GPL) as published by the Free Software
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync/* GUI includes: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync/* Forward declarations: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync/* Graphics tool-bar: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* Constructor: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync UIGraphicsToolBar(QIGraphicsWidget *pParent, int iRows, int iColumns);
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* API: Margin stuff: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* API: Children stuff: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync void insertItem(UIGraphicsButton *pButton, int iRow, int iColumn);
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* API: Layout stuff: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* Typedefs: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* Helpers: Layout stuff: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint = QSizeF()) const;
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync /* Variables: */
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync QMap<UIGraphicsToolBarIndex, UIGraphicsButton*> m_buttons;
cdaeb34871aa28b96c0d80b474f3c8f9805d0388vboxsync#endif /* __UIGraphicsToolBar_h__ */