<class name="QToolBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt; class provides a movable panel that contains a set of controls.&lt;/p&gt;
&lt;p&gt;Toolbar buttons are added by adding &lt;i&gt;actions&lt;/i&gt;, using &lt;a href=&quot;QToolBar.html#addAction(com.trolltech.qt.gui.QIcon, java.lang.String)&quot;&gt;&lt;tt&gt;addAction&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QWidget.html#insertAction(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;insertAction&lt;/tt&gt;&lt;/a&gt;. Groups of buttons can be separated using &lt;a href=&quot;QToolBar.html#addSeparator()&quot;&gt;&lt;tt&gt;addSeparator&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QToolBar.html#insertSeparator(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;insertSeparator&lt;/tt&gt;&lt;/a&gt;. If a toolbar button is not appropriate, a widget can be inserted instead using &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; or &lt;a href=&quot;QToolBar.html#insertWidget(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;insertWidget&lt;/tt&gt;&lt;/a&gt;; examples of suitable widgets are &lt;a href=&quot;QSpinBox.html&quot;&gt;&lt;tt&gt;QSpinBox&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QDoubleSpinBox.html&quot;&gt;&lt;tt&gt;QDoubleSpinBox&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;QComboBox.html&quot;&gt;&lt;tt&gt;QComboBox&lt;/tt&gt;&lt;/a&gt;. When a toolbar button is pressed it emits the &lt;a href=&quot;QToolBar.html#actionTriggered(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;actionTriggered&lt;/tt&gt;&lt;/a&gt; signal.&lt;/p&gt;
&lt;p&gt;A toolbar can be fixed in place in a particular area (e.g&amp;#x2e; at the top of the window), or it can be movable (&lt;a href=&quot;QToolBar.html#isMovable()&quot;&gt;&lt;tt&gt;isMovable&lt;/tt&gt;&lt;/a&gt;) between toolbar areas; see &lt;a href=&quot;QToolBar.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QToolBar.html#isAreaAllowed(com.trolltech.qt.core.Qt.ToolBarArea)&quot;&gt;&lt;tt&gt;isAreaAllowed&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;When a toolbar is resized in such a way that it is too small to show all the items it contains, an extension button will appear as the last item in the toolbar. Pressing the extension button will pop up a menu containing the items that does not currently fit in the toolbar.&lt;/p&gt;
&lt;p&gt;When a &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt; is not a child of a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;, it looses the ability to populate the extension pop up with widgets added to the toolbar using &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt;. Please use widget actions created by inheriting &lt;a href=&quot;QWidgetAction.html&quot;&gt;&lt;tt&gt;QWidgetAction&lt;/tt&gt;&lt;/a&gt; and implementing QWidgetAction::createWidget() instead. This is a known issue which will be fixed in a future release.&lt;/p&gt;

@see &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;%2E%2E/qtjambi-application.html&quot;&gt;Application Example&lt;/tt&gt;&lt;/a&gt; */">
    <signal name="protected final void actionTriggered(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;This signal is emitted when an action in this toolbar is triggered. This happens when the action's tool button is pressed, or when the action is triggered in some other way outside the tool bar. The parameter holds the triggered &lt;tt&gt;action&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.gui.QAction action)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void allowedAreasChanged(com.trolltech.qt.core.Qt.ToolBarAreas allowedAreas)" doc="/**
&lt;p&gt;This signal is emitted when the collection of allowed areas for the toolbar is changed. The new areas in which the toolbar can be positioned are specified by &lt;tt&gt;allowedAreas&lt;/tt&gt;.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.ToolBarAreas allowedAreas)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QToolBar.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void customContextMenuRequested(com.trolltech.qt.core.QPoint pos)" doc="/**
&lt;p&gt;This signal is emitted when the widget's &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt; is Qt::CustomContextMenu, and the user has requested a context menu on the widget. The position &lt;tt&gt;pos&lt;/tt&gt; is the position of the context menu event that the widget receives. Normally this is in widget coordinates. The exception to this rule is &lt;a href=&quot;QAbstractScrollArea.html&quot;&gt;&lt;tt&gt;QAbstractScrollArea&lt;/tt&gt;&lt;/a&gt; and its subclasses that map the context menu event to coordinates of the viewport()&lt;/tt&gt; .&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QPoint pos)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QWidget.html#mapToGlobal(com.trolltech.qt.core.QPoint)&quot;&gt;&lt;tt&gt;mapToGlobal&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QMenu.html&quot;&gt;&lt;tt&gt;QMenu&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;QWidget.html#contextMenuPolicy()&quot;&gt;&lt;tt&gt;contextMenuPolicy&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void iconSizeChanged(com.trolltech.qt.core.QSize iconSize)" doc="/**
&lt;p&gt;This signal is emitted when the icon size is changed. The &lt;tt&gt;iconSize&lt;/tt&gt; parameter holds the toolbar's new icon size.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.QSize iconSize)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QToolBar.html#iconSize()&quot;&gt;&lt;tt&gt;iconSize&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;QMainWindow::iconSize&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void movableChanged(boolean movable)" doc="/**
&lt;p&gt;This signal is emitted when the toolbar becomes movable or fixed. If the toolbar can be moved, &lt;tt&gt;movable&lt;/tt&gt; is true; otherwise it is false.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(boolean movable)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;movable&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void orientationChanged(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;This signal is emitted when the orientation of the toolbar changes. The new orientation is specified by the &lt;tt&gt;orientation&lt;/tt&gt; given.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.Orientation orientation)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QToolBar.html#orientation()&quot;&gt;orientation&lt;/tt&gt;&lt;/a&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <signal name="protected final void toolButtonStyleChanged(com.trolltech.qt.core.Qt.ToolButtonStyle toolButtonStyle)" doc="/**
&lt;p&gt;This signal is emitted when the tool button style is changed. The &lt;tt&gt;toolButtonStyle&lt;/tt&gt; parameter holds the toolbar's new tool button style.&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;Compatible Slot Signatures:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot(com.trolltech.qt.core.Qt.ToolButtonStyle toolButtonStyle)&lt;/tt&gt;&lt;/dd&gt;
&lt;dd&gt;&lt;tt&gt;void mySlot()&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;b&gt;See Also:&lt;/b&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&quot;QToolBar.html#toolButtonStyle()&quot;&gt;&lt;tt&gt;toolButtonStyle&lt;/tt&gt;&lt;/a&gt;, &lt;tt&gt;QMainWindow::toolButtonStyle&lt;/tt&gt;&lt;/dd&gt;
&lt;/dl&gt;
 */"/>
    <method name="public QToolBar(java.lang.String title, com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt; with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The given window &lt;tt&gt;title&lt;/tt&gt; identifies the toolbar and is shown in the context menu provided by &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#setWindowTitle(java.lang.String)&quot;&gt;&lt;tt&gt;setWindowTitle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public QToolBar(java.lang.String title)" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt;(&lt;tt&gt;title&lt;/tt&gt;, 0). */"/>
    <method name="public QToolBar(com.trolltech.qt.gui.QWidget parent)" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt; with the given &lt;tt&gt;parent&lt;/tt&gt;.&lt;/p&gt;
 */"/>
    <method name="public QToolBar()" doc="/**
&lt;p&gt;Equivalent to &lt;a href=&quot;QToolBar.html#QToolBar(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt;(0). */"/>
    <method name="public final com.trolltech.qt.gui.QAction actionAt(com.trolltech.qt.core.QPoint p)" doc="/**
&lt;p&gt;Returns the action at point &lt;tt&gt;p&lt;/tt&gt;. This function returns zero if no action was found.&lt;/p&gt;

@see &lt;tt&gt;QWidget::childAt&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction actionAt(int x, int y)" doc="/**
&lt;p&gt;Returns the action at the point &lt;tt&gt;x&lt;/tt&gt;, &lt;tt&gt;y&lt;/tt&gt;. This function returns zero if no action was found.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.core.QRect actionGeometry(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAction addAction(java.lang.String text)" doc="/**
&lt;p&gt;Creates a new action with the given &lt;tt&gt;text&lt;/tt&gt;. This action is added to the end of the toolbar.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAction addAction(com.trolltech.qt.gui.QIcon icon, java.lang.String text)" doc="/**
&lt;p&gt;Creates a new action with the given &lt;tt&gt;icon&lt;/tt&gt; and &lt;tt&gt;text&lt;/tt&gt;. This action is added to the end of the toolbar.&lt;/p&gt;
 */"/>
    <method name="public final com.trolltech.qt.gui.QAction addSeparator()" doc="/**
&lt;p&gt;Adds a separator to the end of the toolbar.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#insertSeparator(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;insertSeparator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction addWidget(com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Adds the given &lt;tt&gt;widget&lt;/tt&gt; to the toolbar as the toolbar's last item.&lt;/p&gt;
&lt;p&gt;If you add a &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt; with this method, the tools bar's Qt::ToolButtonStyle will not be respected.&lt;/p&gt;
&lt;p&gt;Note: You should use QAction::setVisible() to change the visibility of the widget. Using QWidget::setVisible(), QWidget::show() and QWidget::hide() does not work.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#insertWidget(com.trolltech.qt.gui.QAction, com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;insertWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.ToolBarAreas allowedAreas()" doc="/**
&lt;p&gt;Returns areas where the toolbar may be placed.&lt;/p&gt;
&lt;p&gt;The default is Qt::AllToolBarAreas.&lt;/p&gt;
&lt;p&gt;This property only makes sense if the toolbar is in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#setAllowedAreas(com.trolltech.qt.core.Qt.ToolBarAreas)&quot;&gt;&lt;tt&gt;setAllowedAreas&lt;/tt&gt;&lt;/a&gt;
@see movable&lt;/tt&gt; */"/>
    <method name="public final void clear()" doc="/**
&lt;p&gt;Removes all actions from the toolbar.&lt;/p&gt;

@see &lt;a href=&quot;QWidget.html#removeAction(com.trolltech.qt.gui.QAction)&quot;&gt;&lt;tt&gt;removeAction&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.QSize iconSize()" doc="/**
&lt;p&gt;Returns size of icons in the toolbar..&lt;/p&gt;
&lt;p&gt;The default size is determined by the application's style and is derived from the QStyle::PM_ToolBarIconSize pixel metric. It is the maximum size an icon can have. Icons of smaller size will not be scaled up.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#setIconSize(com.trolltech.qt.core.QSize)&quot;&gt;&lt;tt&gt;setIconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction insertSeparator(com.trolltech.qt.gui.QAction before)" doc="/**
&lt;p&gt;Inserts a separator into the toolbar in front of the toolbar item associated with the &lt;tt&gt;before&lt;/tt&gt; action.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#addSeparator()&quot;&gt;&lt;tt&gt;addSeparator&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction insertWidget(com.trolltech.qt.gui.QAction before, com.trolltech.qt.gui.QWidget widget)" doc="/**
&lt;p&gt;Inserts the given &lt;tt&gt;widget&lt;/tt&gt; in front of the toolbar item associated with the &lt;tt&gt;before&lt;/tt&gt; action.&lt;/p&gt;
&lt;p&gt;Note: You should use QAction::setVisible() to change the visibility of the widget. Using QWidget::setVisible(), QWidget::show() and QWidget::hide() does not work.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final boolean isAreaAllowed(com.trolltech.qt.core.Qt.ToolBarArea area)" doc="/**
&lt;p&gt;Returns true if this toolbar is dockable in the given &lt;tt&gt;area&lt;/tt&gt;; otherwise returns false.&lt;/p&gt;
 */"/>
    <method name="public final boolean isFloatable()" doc="/**
&lt;p&gt;Returns whether the toolbar can be dragged and dropped as an independent window..&lt;/p&gt;
&lt;p&gt;The default is true.&lt;/p&gt;
 */"/>
    <method name="public final boolean isFloating()" doc="/**
&lt;p&gt;Returns whether the toolbar is an independent window..&lt;/p&gt;

@see &lt;tt&gt;QWidget::isWindow&lt;/tt&gt; */"/>
    <method name="public final boolean isMovable()" doc="/**
&lt;p&gt;Returns whether the user can move the toolbar within the toolbar area, or between toolbar areas.&lt;/p&gt;
&lt;p&gt;By default, this property is true.&lt;/p&gt;
&lt;p&gt;This property only makes sense if the toolbar is in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.Orientation orientation()" doc="/**
&lt;p&gt;Returns orientation of the toolbar.&lt;/p&gt;
&lt;p&gt;The default is Qt::Horizontal.&lt;/p&gt;
&lt;p&gt;This function should not be used when the toolbar is managed by &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;. You can use QMainWindow::addToolBar() or QMainWindow::insertToolBar() if you wish to move a toolbar (that is already added to a main window) to another Qt::ToolBarArea.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#setOrientation(com.trolltech.qt.core.Qt.Orientation)&quot;&gt;&lt;tt&gt;setOrientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setAllowedAreas(com.trolltech.qt.core.Qt.ToolBarAreas areas)" doc="/**
&lt;p&gt;Sets areas where the toolbar may be placed to &lt;tt&gt;areas&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default is Qt::AllToolBarAreas.&lt;/p&gt;
&lt;p&gt;This property only makes sense if the toolbar is in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt;
@see movable&lt;/tt&gt; */"/>
    <method name="public final void setFloatable(boolean floatable)" doc="/**
&lt;p&gt;Sets whether the toolbar can be dragged and dropped as an independent window. to &lt;tt&gt;floatable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default is true.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#isFloatable()&quot;&gt;&lt;tt&gt;isFloatable&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setIconSize(com.trolltech.qt.core.QSize iconSize)" doc="/**
&lt;p&gt;Sets size of icons in the toolbar. to &lt;tt&gt;iconSize&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default size is determined by the application's style and is derived from the QStyle::PM_ToolBarIconSize pixel metric. It is the maximum size an icon can have. Icons of smaller size will not be scaled up.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#iconSize()&quot;&gt;&lt;tt&gt;iconSize&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMovable(boolean movable)" doc="/**
&lt;p&gt;Sets whether the user can move the toolbar within the toolbar area, or between toolbar areas to &lt;tt&gt;movable&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;By default, this property is true.&lt;/p&gt;
&lt;p&gt;This property only makes sense if the toolbar is in a &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#isMovable()&quot;&gt;&lt;tt&gt;isMovable&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QToolBar.html#allowedAreas()&quot;&gt;&lt;tt&gt;allowedAreas&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setOrientation(com.trolltech.qt.core.Qt.Orientation orientation)" doc="/**
&lt;p&gt;Sets orientation of the toolbar to &lt;tt&gt;orientation&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;The default is Qt::Horizontal.&lt;/p&gt;
&lt;p&gt;This function should not be used when the toolbar is managed by &lt;a href=&quot;QMainWindow.html&quot;&gt;&lt;tt&gt;QMainWindow&lt;/tt&gt;&lt;/a&gt;. You can use QMainWindow::addToolBar() or QMainWindow::insertToolBar() if you wish to move a toolbar (that is already added to a main window) to another Qt::ToolBarArea.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#orientation()&quot;&gt;&lt;tt&gt;orientation&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle toolButtonStyle)" doc="/**
&lt;p&gt;Sets the style of toolbar buttons to &lt;tt&gt;toolButtonStyle&lt;/tt&gt;.&lt;/p&gt;
&lt;p&gt;This property defines the style of all tool buttons that are added as &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;s. Note that if you add a &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt; with the &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; method, it will not get this button style.&lt;/p&gt;
&lt;p&gt;The default is Qt::ToolButtonIconOnly.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#toolButtonStyle()&quot;&gt;&lt;tt&gt;toolButtonStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QAction toggleViewAction()" doc="/**
&lt;p&gt;Returns a checkable action that can be used to show or hide this toolbar.&lt;/p&gt;
&lt;p&gt;The action's text is set to the toolbar's window title.&lt;/p&gt;

@see &lt;tt&gt;QAction::text&lt;/tt&gt;
@see &lt;tt&gt;QWidget::windowTitle&lt;/tt&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.ToolButtonStyle toolButtonStyle()" doc="/**
&lt;p&gt;Returns the style of toolbar buttons.&lt;/p&gt;
&lt;p&gt;This property defines the style of all tool buttons that are added as &lt;a href=&quot;QAction.html&quot;&gt;&lt;tt&gt;QAction&lt;/tt&gt;&lt;/a&gt;s. Note that if you add a &lt;a href=&quot;QToolButton.html&quot;&gt;&lt;tt&gt;QToolButton&lt;/tt&gt;&lt;/a&gt; with the &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; method, it will not get this button style.&lt;/p&gt;
&lt;p&gt;The default is Qt::ToolButtonIconOnly.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#setToolButtonStyle(com.trolltech.qt.core.Qt.ToolButtonStyle)&quot;&gt;&lt;tt&gt;setToolButtonStyle&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QWidget widgetForAction(com.trolltech.qt.gui.QAction action)" doc="/**
&lt;p&gt;Returns the widget associated with the specified &lt;tt&gt;action&lt;/tt&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QToolBar.html#addWidget(com.trolltech.qt.gui.QWidget)&quot;&gt;&lt;tt&gt;addWidget&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="protected void actionEvent(com.trolltech.qt.gui.QActionEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void changeEvent(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void childEvent(com.trolltech.qt.core.QChildEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="public boolean event(com.trolltech.qt.core.QEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void paintEvent(com.trolltech.qt.gui.QPaintEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
    <method name="protected void resizeEvent(com.trolltech.qt.gui.QResizeEvent event)" doc="/**
&lt;p&gt;This function is reimplemented for internal reasons.&lt;/p&gt;
 */"/>
</class>
