Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 2256

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<class name="QStyleOptionToolBar" doc="/**
&lt;p&gt;The &lt;a href=&quot;QStyleOptionToolBar.html#QStyleOptionToolBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionToolBar&lt;/tt&gt;&lt;/a&gt; class is used to describe the parameters for drawing a toolbar.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;QStyleOptionToolBar.html#QStyleOptionToolBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionToolBar&lt;/tt&gt;&lt;/a&gt; contains all the information that &lt;a href=&quot;QStyle.html&quot;&gt;&lt;tt&gt;QStyle&lt;/tt&gt;&lt;/a&gt; functions need to draw &lt;a href=&quot;QToolBar.html&quot;&gt;&lt;tt&gt;QToolBar&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For performance reasons, the access to the member variables is direct (i.e&amp;#x2e;, using the &lt;tt&gt;.&lt;/tt&gt; or &lt;tt&gt;-&amp;gt;&lt;/tt&gt; operator). This low-level feel makes the structures straightforward to use and emphasizes that these are simply parameters used by the style functions.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;QStyleOptionToolBar.html#QStyleOptionToolBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionToolBar&lt;/tt&gt;&lt;/a&gt; class holds the &lt;a href=&quot;QStyleOptionToolBar.html#lineWidth()&quot;&gt;&lt;tt&gt;lineWidth&lt;/tt&gt;&lt;/a&gt; and the &lt;a href=&quot;QStyleOptionToolBar.html#midLineWidth()&quot;&gt;&lt;tt&gt;midLineWidth&lt;/tt&gt;&lt;/a&gt; for drawing the widget. It also stores information about which &lt;a href=&quot;QStyleOptionToolBar.html#toolBarArea()&quot;&gt;area&lt;/tt&gt;&lt;/a&gt; the toolbar should be located in, whether it is movable or not, which position the toolbar line should have (&lt;a href=&quot;QStyleOptionToolBar.html#positionOfLine()&quot;&gt;&lt;tt&gt;positionOfLine&lt;/tt&gt;&lt;/a&gt;), and the toolbar's position within the line (&lt;a href=&quot;QStyleOptionToolBar.html#positionWithinLine()&quot;&gt;&lt;tt&gt;positionWithinLine&lt;/tt&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;In addition, the class provides a couple of enums: The &lt;a href=&quot;QStyleOptionToolBar.html#ToolBarFeature-enum&quot;&gt;&lt;tt&gt;ToolBarFeature&lt;/tt&gt;&lt;/a&gt; enum is used to describe whether a toolbar is movable or not, and the &lt;a href=&quot;QStyleOptionToolBar.html#ToolBarPosition-enum&quot;&gt;&lt;tt&gt;ToolBarPosition&lt;/tt&gt;&lt;/a&gt; enum is used to describe the position of a toolbar line, as well as the toolbar's position within the line.&lt;/p&gt;
&lt;p&gt;For an example demonstrating how style options can be used, see the Styles&lt;/tt&gt; example.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; */">
    <method name="public QStyleOptionToolBar(com.trolltech.qt.gui.QStyleOptionToolBar other)" doc="/**
&lt;p&gt;Constructs a copy of the &lt;tt&gt;other&lt;/tt&gt; style option.&lt;/p&gt;
 */"/>
    <method name="public QStyleOptionToolBar()" doc="/**
&lt;p&gt;Constructs a &lt;a href=&quot;QStyleOptionToolBar.html#QStyleOptionToolBar(int)&quot;&gt;&lt;tt&gt;QStyleOptionToolBar&lt;/tt&gt;&lt;/a&gt;, initializing the members variables to their default values.&lt;/p&gt;
 */"/>
    <method name="protected QStyleOptionToolBar(int version)" doc="/**
&lt;p&gt;This method is used internally by Qt Jambi.
Do not use it in your applications.&lt;/p&gt;
 */"/>
    <enum name="StyleOptionVersion" doc="/**
&lt;p&gt;This enum is used to hold information about the version of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The version is used by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclasses to implement extensions without breaking compatibility. If you use qstyleoption_cast(), you normally don't need to check it.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#StyleOptionType-enum&quot;&gt;&lt;tt&gt;StyleOptionType&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Version" doc="/**
&lt;p&gt;1&lt;/p&gt;
 */"/>
</enum>
    <enum name="StyleOptionType" doc="/**
&lt;p&gt;This enum is used to hold information about the type of the style option, and is defined for each &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass.&lt;/p&gt;
&lt;p&gt;The type is used internally by &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt;, its subclasses, and qstyleoption_cast() to determine the type of style option. In general you do not need to worry about this unless you want to create your own &lt;a href=&quot;QStyleOption.html#QStyleOption(int, int)&quot;&gt;&lt;tt&gt;QStyleOption&lt;/tt&gt;&lt;/a&gt; subclass and your own styles.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#StyleOptionVersion-enum&quot;&gt;&lt;tt&gt;StyleOptionVersion&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Type" doc="/**
&lt;p&gt;The type of style option provided (&lt;a href=&quot;QStyleOption.html#OptionType-enum&quot;&gt;&lt;tt&gt;SO_ToolBar&lt;/tt&gt;&lt;/a&gt; for this class).&lt;/p&gt;
 */"/>
</enum>
    <enum name="ToolBarPosition" doc="/**
&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;%2E%2E/images/qstyleoptiontoolbar-position.png&quot; /&gt;&lt;/p&gt;&lt;p&gt;This enum is used to describe the position of a toolbar line, as well as the toolbar's position within the line.&lt;/p&gt;
&lt;p&gt;The order of the positions within a line starts at the top of a vertical line, and from the left within a horizontal line. The order of the positions for the lines is always from the the parent widget's boundary edges.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#positionWithinLine()&quot;&gt;&lt;tt&gt;positionWithinLine&lt;/tt&gt;&lt;/a&gt;
@see &lt;a href=&quot;QStyleOptionToolBar.html#positionOfLine()&quot;&gt;&lt;tt&gt;positionOfLine&lt;/tt&gt;&lt;/a&gt; */">
        <enum-value name="Beginning" doc="/**
&lt;p&gt;The toolbar is located at the beginning of the line, or the toolbar line is the first of several lines. There can only be one toolbar (and only one line) with this position.&lt;/p&gt;
 */"/>
        <enum-value name="Middle" doc="/**
&lt;p&gt;The toolbar is located in the middle of the line, or the toolbar line is in the middle of several lines. There can several toolbars (and lines) with this position.&lt;/p&gt;
 */"/>
        <enum-value name="End" doc="/**
&lt;p&gt;The toolbar is located at the end of the line, or the toolbar line is the last of several lines. There can only be one toolbar (and only one line) with this position.&lt;/p&gt;
 */"/>
        <enum-value name="OnlyOne" doc="/**
&lt;p&gt;There is only one toolbar or line. This is the default value of the &lt;a href=&quot;QStyleOptionToolBar.html#positionOfLine()&quot;&gt;&lt;tt&gt;positionOfLine&lt;/tt&gt;&lt;/a&gt; and &lt;a href=&quot;QStyleOptionToolBar.html#positionWithinLine()&quot;&gt;&lt;tt&gt;positionWithinLine&lt;/tt&gt;&lt;/a&gt; variables.&lt;/p&gt;
 */"/>
</enum>
    <enum name="ToolBarFeature" doc="/**
&lt;p&gt;This enum is used to describe whether a toolbar is movable or not.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#features()&quot;&gt;features&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;QToolBar::isMovable&lt;/tt&gt; */">
        <enum-value name="None" doc="/**
&lt;p&gt;The toolbar cannot be moved. The default value.&lt;/p&gt;
 */"/>
        <enum-value name="Movable" doc="/**
&lt;p&gt;The toolbar is movable, and a handle will appear when holding the cursor over the toolbar's boundary.&lt;/p&gt;
 */"/>
</enum>
    <method name="public final int lineWidth()" doc="/**
&lt;p&gt;This variable holds the line width for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setLineWidth(int)&quot;&gt;&lt;tt&gt;setLineWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setLineWidth(int lineWidth)" doc="/**
&lt;p&gt;This variable holds the line width for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#lineWidth()&quot;&gt;&lt;tt&gt;lineWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition positionWithinLine()" doc="/**
&lt;p&gt;This variable holds the position of the toolbar within a line.&lt;/p&gt;
&lt;p&gt;The default value is QStyleOptionToolBar::OnlyOne.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setPositionWithinLine(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition)&quot;&gt;&lt;tt&gt;setPositionWithinLine&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPositionWithinLine(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition positionWithinLine)" doc="/**
&lt;p&gt;This variable holds the position of the toolbar within a line.&lt;/p&gt;
&lt;p&gt;The default value is QStyleOptionToolBar::OnlyOne.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#positionWithinLine()&quot;&gt;&lt;tt&gt;positionWithinLine&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition positionOfLine()" doc="/**
&lt;p&gt;This variable holds the position of the toolbar line.&lt;/p&gt;
&lt;p&gt;The default value is QStyleOptionToolBar::OnlyOne.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setPositionOfLine(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition)&quot;&gt;&lt;tt&gt;setPositionOfLine&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setPositionOfLine(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarPosition positionOfLine)" doc="/**
&lt;p&gt;This variable holds the position of the toolbar line.&lt;/p&gt;
&lt;p&gt;The default value is QStyleOptionToolBar::OnlyOne.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#positionOfLine()&quot;&gt;&lt;tt&gt;positionOfLine&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarFeatures features()" doc="/**
&lt;p&gt;This variable holds whether the toolbar is movable or not.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QStyleOptionToolBar.html#ToolBarFeature-enum&quot;&gt;None&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setFeatures(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarFeatures)&quot;&gt;&lt;tt&gt;setFeatures&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setFeatures(com.trolltech.qt.gui.QStyleOptionToolBar.ToolBarFeatures features)" doc="/**
&lt;p&gt;This variable holds whether the toolbar is movable or not.&lt;/p&gt;
&lt;p&gt;The default value is &lt;a href=&quot;QStyleOptionToolBar.html#ToolBarFeature-enum&quot;&gt;None&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#features()&quot;&gt;&lt;tt&gt;features&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final com.trolltech.qt.core.Qt.ToolBarArea toolBarArea()" doc="/**
&lt;p&gt;This variable holds the location for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is Qt::TopToolBarArea.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setToolBarArea(com.trolltech.qt.core.Qt.ToolBarArea)&quot;&gt;&lt;tt&gt;setToolBarArea&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::ToolBarArea&lt;/tt&gt; */"/>
    <method name="public final void setToolBarArea(com.trolltech.qt.core.Qt.ToolBarArea toolBarArea)" doc="/**
&lt;p&gt;This variable holds the location for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is Qt::TopToolBarArea.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#toolBarArea()&quot;&gt;&lt;tt&gt;toolBarArea&lt;/tt&gt;&lt;/a&gt;
@see &lt;tt&gt;Qt::ToolBarArea&lt;/tt&gt; */"/>
    <method name="public final int midLineWidth()" doc="/**
&lt;p&gt;This variable holds the mid-line width for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#setMidLineWidth(int)&quot;&gt;&lt;tt&gt;setMidLineWidth&lt;/tt&gt;&lt;/a&gt; */"/>
    <method name="public final void setMidLineWidth(int midLineWidth)" doc="/**
&lt;p&gt;This variable holds the mid-line width for drawing the toolbar.&lt;/p&gt;
&lt;p&gt;The default value is 0.&lt;/p&gt;

@see &lt;a href=&quot;QStyleOptionToolBar.html#midLineWidth()&quot;&gt;&lt;tt&gt;midLineWidth&lt;/tt&gt;&lt;/a&gt; */"/>
</class>